Skip to content

Surfaces missing when rendered with SolidModels, depending on MeshSized #57

Description

@yfangad

Some of the surfaces created using SolidModels.extrude_z!() are missing when rendered with SolidModels. Whether this problem occurs or not seems to depend on what MeshSized is used.
After modifying the following code in render! solidmodel/render.jl, changing remove_object=true to remove_object=false , the problem goes away and all the surfaces can be obtained.

        if isa(kernel(sm), OpenCascade)
            # Only OpenCascade supports boolean union.
            sm[h_name] = union_geom!(sm[h_name, 2], sm[h_name, 2], remove_object=true)
        end

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions