solidworks_urdf_exporter icon indicating copy to clipboard operation
solidworks_urdf_exporter copied to clipboard

Meshes are created in the global coordinate system, when Origin-CS is located in subassembly

Open twhuhn opened this issue 3 years ago • 4 comments

Might be related to #87 and #103

I created a model of a mostly serial robot structured the following way:

main.sldasm
|- link1.sldasm
|  |- part11.sldprt
|  L part12.sldprt
|- link2.sldasm
|  |- part21.sldprt
|  L part22.sldprt
...

The origins and joint axes are located in the linkx.sldasm files.

In earlier™ versions of the tool and Solidworks, this made no problem. To the contrary, it allowed for the model to be structured in a logical way, and the coordinate systems only had to be defined in a canonical manner when finishing the subassemblies. We always created this reference coordinate system in the origin of the subassembly. The export then produced the STL files with the origin in the same origin as the subassembly, and everything worked out fine.

With the current version however, this does not work anymore. All STLs are now created with the origin set in the origin of the main assembly. If all files are loaded into blender, the robot is built together as it is in main.sldasm, opposite to all lying on top of each other with their origin in (0|0|0) (how it should be).

twhuhn avatar Mar 17 '21 14:03 twhuhn

What version of SolidWorks are you using?

brawner avatar Nov 21 '21 21:11 brawner

Hello, got any solution? I have the same problem about coordinate systems. The origins of all STLs are set to the main assembly , no matter which coordinate system is chosen. Here is the version: https://github.com/ros/solidworks_urdf_exporter/releases/tag/1.6.1

hustchenli avatar May 09 '22 10:05 hustchenli

I'm having this issue as well. Is anybody actually maintaining this package anymore?

bkinman avatar Nov 18 '22 04:11 bkinman

This has been a known issue with SolidWorks in the past and is not related to a bug with the exporter. Generally, SolidWorks versions from 2018 are most affected.

brawner avatar Dec 06 '22 14:12 brawner