BOSL2/examples/tagged_diff.scad

16 lines
348 B
OpenSCAD
Raw Normal View History

include <BOSL2/std.scad>
2019-04-17 02:16:50 +00:00
diff("hole", "body pole")
sphere(d=100, $tags="body") {
zcyl(d=55, h=100, $tags="pole"); // attach() not needed for center-to-center.
tags("hole") {
xcyl(d=55, h=101);
ycyl(d=55, h=101);
}
zcyl(d=15, h=140, $tags="axle");
2019-04-17 02:16:50 +00:00
}
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap