gsohler / openscad

OpenSCAD - The Programmers Solid 3D CAD Modeller
https://www.openscad.org
Other
14 stars 6 forks source link

cylinder (actually cone) parameter problem #19

Closed gandrewstone closed 4 months ago

gandrewstone commented 4 months ago

Describe the bug Creating a cone (5 parameter cylinder) appears to ignore the 2nd parameter. It appears to make a cone whose top is radius 1 regardless of the parameter

To Reproduce

from openscad import *
s = cylinder(10,5,5,True)
output(s)

The above makes a cone, but really since the top and bottom diameters are =, we should get a cylinder.

Expected behavior output equivalent to:

cylinder(10,5,5, true);
gsohler commented 4 months ago

should be fixed, please check