[OpenSCAD] Bug: cylinder() broken in today's svn
Andrew Plumb
andrew at plumb.org
Thu Jan 14 20:30:42 CET 2010
Hi Clifford,
The cylinder() object broke for me between yesterday and today's build:
--snip--
// cylinder test cases
// works
translate([0,0,-100]) cylinder(r=200,h=50,center=false);
// looks trapezoidal
translate([0,0,-50]) cylinder(r=300,h=50,center=false);
mfgGrid=100.0;
scale([1/mfgGrid,1/mfgGrid,1/mfgGrid]) {
// works but z-axis wrong
cylinder(r=2.0*mfgGrid,h=3.0*mfgGrid,center=false);
// completely broken
translate([5.0*mfgGrid,0,0])
cylinder(r=3.0*mfgGrid,h=3.0*mfgGrid,center=false);
}
// the following two work but are too low-res at STL export 1unit =1mm
scale required:
translate([0,5.0,0]) cylinder(r=2.0,h=3.0,center=false);
translate([5.0,5.0,0]) cylinder(r=3.0,h=3.0,center=false);
--end-snip--
Andrew.
--
"The future is already here. It's just not very evenly distributed"
-- William Gibson
More information about the Openscad
mailing list