Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created April 12, 2023 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awesomebytes/869342d53a850521378ea21cdf22f31a to your computer and use it in GitHub Desktop.
Save awesomebytes/869342d53a850521378ea21cdf22f31a to your computer and use it in GitHub Desktop.

How to keep color of a 3D model for gazebo and Rviz

Get model from SolidWorks in .ply and in .obj (All in a single file) (so, you need a model that has color information somehow, in my case, opening it with meshlab always showed the color)

Use the .obj to open in Blender, make sure to adjust the import size (probably is in mm, so 0.001)

Now export to collada (.dae) and the model will keep color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment