ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Converting SolidWorks STL files into urdf file

asked 2012-06-15 04:48:33 -0600

igoliao gravatar image

updated 2012-06-15 06:54:54 -0600

David Lu gravatar image

I have the solidworks stl file of my robot, but how can I convert it into urdf file? I have tried simmechanics_to_urdf, but it seems don't work at all. For example, the stl file is test.stl (asscii), which pkg and node can do this job. Thank you.

edit retag flag offensive close merge delete

Comments

dornhenge is right that you can just use it in a URDF directly, but it won't have any flexible joints. What part of simmechanics_to_urdf were you having trouble with?

David Lu gravatar image David Lu  ( 2012-06-15 06:55:58 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-06-15 06:10:30 -0600

dornhege gravatar image

You can use an STL file directly as a mesh in a URDF link. There might be some issues when exporting the STL from SolidWorks. You need to choose the correct units and export as binary IIRC.

edit flag offensive delete link more

Comments

Yeah, it really works, thank you very much!

igoliao gravatar image igoliao  ( 2012-06-15 16:57:59 -0600 )edit
5

answered 2012-10-07 10:25:50 -0600

tfoote gravatar image

There is now a solidworks plugin to do this. sw_urdf_exporter

edit flag offensive delete link more

Comments

Outstanding thanks for the update

phil0stine gravatar image phil0stine  ( 2012-10-07 20:29:05 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-06-15 04:48:33 -0600

Seen: 13,329 times

Last updated: Oct 07 '12