Skip to content

subtractions of extrude_along_path() objects do not show correctly in 'Preview'. #189

Description

@asdfstuart

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.

path_extrude_example.zip
7.

Activity

  1. etjones commented on Nov 27, 2021

    @etjones
    Contributor

    Thanks for including that function; it was really useful to see what was happening.

    subtraction image

    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.

    convexity fixed

  2. asdfstuart commented on Nov 29, 2021

    @asdfstuart
    Author

    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.

  3. added a commit that references this issue on Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions