Robotics StackExchange | Archived questions

Solidworks URDF exporter - STL files in "meshes" folder seen as "explode"

Actions: Export URDF from Solidworks according the guidelines. Entering to the URDF folder -> Meshes folder -> open one of the STL files in solidworks.

Problem: The link is "exploded" and the part are separated from each other. Looks the same when import to Gazebo.

Not all the link are exploding, some are fine.


Edit:

At the left side you can see the links and thier coordinates. At the right side you can see the STL files of the links when I open them from the URDF folder. Only the 3rd link is intact. the 2 first links are disoriented.

What is wrong?

image description

Asked by genieengeneer on 2019-04-08 10:42:54 UTC

Comments

Please attach a screenshot of what you're seeing to your question. I've given you sufficient karma for that.

Asked by gvdhoorn on 2019-04-08 10:55:05 UTC

First guess: not all parts have their origins where they should be.

Asked by gvdhoorn on 2019-04-08 10:55:41 UTC

It says I need 5 karma to upload a picture.

Where does the origins need to be?

To set the origins of each link, I used the coordinates of one of the parts in the link. Is'nt it right?

Asked by genieengeneer on 2019-04-10 05:34:07 UTC

It says I need 5 karma to upload a picture.

I've given you sufficient karma.

Asked by gvdhoorn on 2019-04-10 05:35:05 UTC

I couldnt upload a picture under the comment so I did it as an answer.

Asked by genieengeneer on 2019-04-10 07:25:50 UTC

Just edit your original question in the future. Use the edit button/link for that.

Asked by gvdhoorn on 2019-04-10 07:54:19 UTC

Will do.

any idea?

Asked by genieengeneer on 2019-04-10 07:57:39 UTC

Meet the same problem. Seems like the coordinate in STL file set in the wrong place.

Asked by WP_zhu on 2019-06-13 21:38:45 UTC

Answers

Are you using Solidworks lower than SP5 edition? I met the same problem when using Solidworks SP0. After updating my Solidworks the problem solved.

Asked by WP_zhu on 2019-06-23 19:59:44 UTC

Comments