1module beam(r1, r2, shr, msr){2 /* The walking beam acts as a class I lever transferring the3 * movement from the pitmans arms to the horse head. */45 H = 12; // Height6 W = 10; // Width7 e = 10; // Total added extension89 difference(){10 union(){11 translate([(r2-r1)/2,0,H/2]) // Walking beam body12 cube([r1+r2+e, W, H], center = true);1314 rotate([90, 0, 0]) // Fulcrum or pivoting point15 cylinder(r = 2*msr, h = W, center = true);16 }1718 rotate([90,0,0]) // Pivoting point hole19 cylinder(r = msr, h = W+1, center = true);2021 translate([r2,0,H/2]) // Equalizer mounting screw hole22 cylinder(r = shr, h = H+1, center = true);23
CadHub is the place you can try out Code-CAD packages to find the one that's right for you. Our dedicated community is making CAD easy to learn on the web. Try one of our three integrations today and keep an eye out for more.
A mature Code-CAD library focused on Constructed Solid Geometry (CSG) modeling with syntax like C++.
A Python-based library with support for CSG and sketch-based modeling and a clean-feeling API.
A JavaScript Code-CAD library that will feel familiar to web developers, based on the same tech as OpenSCAD.
Curv is a programming language for creating art using mathematics. It's a 2D and 3D geometric modelling tool.
CadHub is a social platform. You can ask users how they designed a part, fork their work to put your own spin on it, and find inspiration in abundance.
1hingeHalfExtrudeLength=hingeLength/2-clearance/2;2mountingHoleMoveIncrement=(hingeLength-2*mountingHoleEdgeOffset)/3 (mountingHoleCount-1);45module costomizerEnd() {}6$fn=30;7tiny=0.005;8// modules9module hingeBaseProfile() {10 translate([pivotRadius,0,0]){11 square([baseWidth,baseThickness]);12 }13}1415module hingeBodyHalf() {16 difference() {17 union() {18 linear_extrude(hingeHalfExtrudeLength){19 offset(1)offset(-2)offset(1){20 translate([0,pivotRadius,0]){21 circle(pivotRadius);22 }23 square([pivotRadius,pivotRadius]);24 hingeBaseProfile();25 }26 }27 linear_extrude(hingeLength){28 offset(1)offset(-1)hingeBaseProfile();29 }30 }31 plateHoles();32 }33}
CadHub
Built by 22 contributors from around the world.
- Community
- Github
- Discord
- Newsletter
- Learn
- Documentation
- Blog