Skip to content

Issue with Meshes Using Boolean Modifier in OBJ to MJCF Conversion #32

@cherylwang20

Description

@cherylwang20

Hello,

Apologies for opening another issue. I'm experiencing a problem when converting OBJ models to MJCF, specifically with meshes modified by a Boolean modifier in Blender.

Context: I am designing a rack intended to store beakers, created by using the shapes of the beakers to cut out corresponding holes within the rack model. This issue is somewhat similar to a previous problem I faced while designing a cylindrical base for a round-bottom flask. In that case, I was able to get around the problem by avoiding the use of Boolean operations, but for this rack model, alternatives seem limited.

Issue: When I compile the model without applying the Boolean cuts, it compiles successfully. Here's the model without the cuts:
Model without Boolean cuts

However, after applying the Boolean modifier and recompiling, I encounter the following error:

Error compiling model: Error: faces of mesh 'rack' have inconsistent orientation. Please check the faces containing the vertices 88 and 89.
Object name = rack, id = 0, line = 11, column = -1

Here is an image of the rack with a test hole cut and compiled:
Model with Boolean cut

Could you provide guidance on resolving this error? Any suggestions to ensure the Boolean modifier does not affect the mesh's consistency would be greatly appreciated.

Thank you for your assistance!

Please see here for my blender model and obj file:
rack.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions