solidworks_urdf_exporter icon indicating copy to clipboard operation
solidworks_urdf_exporter copied to clipboard

STL wrong coordinates

Open ddliu365 opened this issue 5 years ago • 2 comments

Hi,

I am using SP 5.0 SW2018 and the exported STL coordinate is not the coordinate I indicated in the software.

How to solve this problem?

ddliu365 avatar Jul 26 '20 12:07 ddliu365

This is likely a bug with SolidWorks itself, can you confirm that manually exporting an STL with your chosen coordinate system works as expected?

brawner avatar Dec 06 '22 14:12 brawner

I think the issues is related with this article.

The exported exports STLs without the option: "Do not translate STL output data to positive space" by default. If you have defined the coordinate system you want and used it in the urdf, then you can export each part to an STL separately and put these in the urdf.

It would be nice if this option was by default.

Notes:

  1. When exporting, apart from the option "Do not translate STL output data to positive space", select the desired coordinate system too.

  2. Personaly i have to change the scale too with:

<mesh
    scale = ".001 .001 .001"      
    filename="package://<package_name>/meshes/<stl_file>.STL" 
 />

MichalisPapadakis avatar Dec 07 '23 11:12 MichalisPapadakis