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
{{ message }}
Repository navigation
subtractions of extrude_along_path() objects do not show correctly in 'Preview'. #189
Subtracting an extruded object from an OpenSCAD object or another extruded object seem to confuse the 'Preview' viewer. The models render correctly and show correctly in the 'Surfaces' viewer.
I am using version 1.1.1 with the latest extrude_along_path.py containing the fixes for issue #18
I added the function extrude_example_subtractions() to the attached path_extrude_example.py file. The problems show up most clearly if you rotate to look up the +y axis.
Thanks for including that function; it was really useful to see what was happening.
When I set the convexity = 10 argument in the created polygons, the visualization issue is resolved. Looking at the polyhedron() docs, it seems like convexity=10 would be a more reasonable default value that wouldn't impact visualization speed too much. I'll leave this open until I've made a pass at that.
Thanks for the quick fix, it worked for my model as well. Also, any convexity other than 1 worked for my model.
You are welcome for the function. I really appreciate your extrude_along_path() function, it is useful and saves me a lot of time. I am glad I could return the favor of in a small way.
Activity
etjones commentedon Nov 27, 2021
Thanks for including that function; it was really useful to see what was happening.
When I set the
convexity = 10argument in the created polygons, the visualization issue is resolved. Looking at thepolyhedron()docs, it seems likeconvexity=10would be a more reasonable default value that wouldn't impact visualization speed too much. I'll leave this open until I've made a pass at that.asdfstuart commentedon Nov 29, 2021
Thanks for the quick fix, it worked for my model as well. Also, any convexity other than 1 worked for my model.
You are welcome for the function. I really appreciate your extrude_along_path() function, it is useful and saves me a lot of time. I am glad I could return the favor of in a small way.
Fix for #189. `polyhedron()` convexity defaults to 10. This prevents …