Loading

MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.

Download Now

Report as inappropriate

I'm using the nightly(?) build of OpenScad, and I wrote a little program to put a screw in a cylinder. The program works in preview mode, but when rendering, it either errors or just doesn't render the screw... am I doing something wrong?

include

$fn=60;

module center(){
difference(){
union(){
translate([0,0,-5])
cylinder(h=35,d=3,center=false);
translate([0,0,-5])
s_thread(12, 4, 35);
}
translate([0,0,-5])
cylinder(h=5,d=28,center=false);
translate([0,0,25])
cylinder(h=5,d=28,center=false);
}
}

difference(){
cylinder(h=25,d=25,center=false);
center();
}