Skip to content

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

Open
@yfangad

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

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