v0.1.3
Tested with Blender v2.90.1, v2.93.4, v3.2.1
Available Add-ons:
Often when I'm generating URDFs from SolidWorks I need a visualizer where I can move joints and links around and also do things like decimate the meshes so they are a reasonable file size. This is a collection of those Blender scripts that I've found helpful while creating and working with URDF packages.
This does not produce any visual results, but allows you to select a directory of meshes and specify the maxium size that you'd like each mesh to be. The script will then automatically look for STL files, reduce their size if necessary, and re-export to get rid of the SOLID
warning Rviz throws for STLs generated with SolidWorks.
Backups of all files are created (using a *.1
, *.2
, etc) modifier to the filename.
Create a symlink to the add-ons you wish to use in your local config:
cd ~/.config/blender/2.93/scripts/addons
ln -s ~/git/blender_urdf_visualizer/viewer blender_urdf_visualizer
ln -s ~/git/blender_urdf_visualizer/decimator blender_urdf_decimator
Download the Windows Portable (.zip) version of Blender. Then
viewer
and decimator
folders into <blender_folder>/2.90/scripts/addons_contrib
.To enable the Add-on in Blender:
Edit > Preferences
Add-ons > Testing
Object: URDF
NOTES: