Skip to content

Exporting mesh with wrong origin #73

Closed
@0Nel

Description

@0Nel

I planned on using the new version of the urdf exporter to generate a valid urdf of a huge solidworks assembly. Beforehand I wanted to verify the workflow with just the base_link and one attached link. I defined each part to be located in it's origin, gave the revolute joint an appropriate axis and an own origin as well and upon exporting I chose these predefined origins. While the location of the joints looks right the location of the visual/collision meshes is off. I checked the exported meshes in meshlab and was able to visualize that the meshes origin is indeed wrong and not at the intended location (It seems to be off by exactly the vector that lies between the base_links origin and the joint origin).
After trying every approach i could think off I ended up reinstalling SolidWorks and installing the old (1.2 I believe) version of the urdf_exporter, which works like a charme.

(Sadly I cannot share my CAD files and since I actually had to reinstall SolidWorks and the exporter I am not willing to set up a test case, but I hope that this issue is easily reproducable.)

Best luck in finding a quick fix!

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