ImplicitCAD
ImplicitCAD copied to clipboard
extopenscad: trigonometric functions aren't compatible with openscad
In openscad they take degrees, while in implicitcad they take radians, but it is never mentioned anywhere.
I'm actually good with this, but i think that a compatibility flag makes sense. similar to $RES to set the resolution, $babylonian to use 360 degree notation.
It is really strange that trigonometric functions take radians but rotation takes degrees.
I have written a LOT of geometry library code for OpenSCAD that would be broken by this. I like the idea of a compatibility flag, as I never really liked the way the trig functions work in degrees for OpenSCAD
I'll be adding a flag for this shortly.
A flag for this has been added and merged. please check if enabling the openscad compatibility flag fixes this for you.