SolidCode / SolidPython

A python frontend for solid modelling that compiles to OpenSCAD
1.12k stars 174 forks source link

extrude_along_path rotation problem for near vertical portions #196

Open asdfstuart opened 2 years ago

asdfstuart commented 2 years ago

When a path includes a near vertical portion, the shape being extruded is rotated too much. In addition, a different extrusion results if the path is rotated before extrude_along_path is called, vs. if the extruded object is rotated after extrusion.
The attached file has five shapes generated with extrude_along_path. Individual shapes can be turned on and off using the customizer to see them individually. The desired behavior is: