You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a CSG.cylinder object, I expect a cylinder parallel to the line between start and end, with flat end caps perpendicular to the line. However, when I execute the following in openjscad.org (or the debugger on openjscad.github.io), I obtain a cylinder with skewed end caps, not at all what I was expecting.
function main(){
return CSG.cylinder({start:[0,0,0], end:[2, 2, 2], radiusStart:1, radiusEnd:1});
}
Output as I see it:
This is not the case if any one of the end coordinate elements is 0 (i.e. the cylinder lies in one of the x/y/z planes).
If this is the intended behavior, could you help me understand what is going on? I will be happy to submit a documentation patch once I get my head around what CSG.cylinder() is supposed to do so I can write one.
Thanks
The text was updated successfully, but these errors were encountered:
When I create a CSG.cylinder object, I expect a cylinder parallel to the line between
start
andend
, with flat end caps perpendicular to the line. However, when I execute the following in openjscad.org (or the debugger on openjscad.github.io), I obtain a cylinder with skewed end caps, not at all what I was expecting.Output as I see it:
This is not the case if any one of the end coordinate elements is 0 (i.e. the cylinder lies in one of the x/y/z planes).
If this is the intended behavior, could you help me understand what is going on? I will be happy to submit a documentation patch once I get my head around what
CSG.cylinder()
is supposed to do so I can write one.Thanks
The text was updated successfully, but these errors were encountered: