From: "Leef_me" Leef_me@cox.net
A single module -- yes.
but the first child of the difference should not be specified in the child.
Er, did you mean "not be specified in the module?
module thingy(){
difference()
{
children();
#cylinder(d=1.5, h=12, center=true); // part A
}
cylinder(d=1, h=15, center=true); // part B
}
translate([0,0,0]) thingy() cube([5,5,5], center=true);
translate([20,0,0]) thingy() sphere(r=2.5);
translate([-20,0,0]) thingy() sphere(r=2.5, $fn=6);
but the first child of the difference should not be specified in the child.
Er, did you mean "not be specified in the module?
Yes, the module.
--
View this message in context: http://forum.openscad.org/combine-a-union-child-and-a-difference-child-in-one-object-tp14834p14917.html
Sent from the OpenSCAD mailing list archive at Nabble.com.