ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

import stl into moveit

asked 2013-04-18 12:01:52 -0500

kalectro gravatar image


I would like to add a custom scene to moveit using my own stl file. Is there any documentation on how that works? The only information I found is this. It works as described but when I try to import a stl file I exported from Solidworks, I receive an error saying: unable to import scene

Assimp reports no scene in file:///home/asdf.stl

I looked at the box.stl and it says it was exported using blender but I would like to use Solidworks :(

Any help is appreciated.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-10 00:32:43 -0500

mortenpj gravatar image

I had the same problem when I saved my CAD model as a .stl file in binary format. It worked for me to save my CAD model as a .stl file in aschii format in SolidWorks.

edit flag offensive delete link more



@mortenpj: binary STLs work fine, but SolidWorks places the string 'solid' in the STL header (first 80 bytes). Assimp doesn't like this, as it assumes headers with 'solid' in them are followed by ascii STLs. Replace the 'solid' string with 'dilos' for instance and everything should work.

gvdhoorn gravatar image gvdhoorn  ( 2014-02-10 05:29:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-18 12:01:52 -0500

Seen: 2,137 times

Last updated: Feb 10 '14