Authored and maintained by Stephen Brawner. Past supporters include PickNik Consulting, Verb Surgical, Open Robotics, and Willow Garage.
SolidWorks 2021
https://github.com/ros/solidworks_urdf_exporter/releases/tag/1.6.1
SolidWorks 2020
https://github.com/ros/solidworks_urdf_exporter/releases/tag/1.6.0
SolidWorks 2019 on 2018 SP 5
https://github.com/ros/solidworks_urdf_exporter/releases/tag/1.5.1
See the ROS Wiki and associated tutorials.
Tools > Get Tools and Features...
.NET desktop development
packageModify
Run as Administrator
sw2urdf/SW2URDF.sln
SW2URDF
in the Solution ExplorerDebug
TabConfiguration:
is set to Debug
Start external program:
is pointing to the SolidWorks executable. For example C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\SLDWORKS.exe
Executing the following command will convert the format of the exported mesh from 3DXML to DAE, and rewrite the URDF, allowing you to display colored meshes in visualization tools like RViz:
pip3 install scikit-robot -U
convert-urdf-mesh <URDF_PATH> --output <OUTPUT_URDF_PATH>
AxImp.exe
error - Check the installation of the .Net Tools. If there is no error, install the Windows 10 SDK.Resourse.resx
error - Check if sw2urdf/SW2URDF/Resources.resx
exists and is empty. If empty, delete this file then right click the SW2URDF
in the Solution Explorer and select Properties
. Navigate to the Resources tab and click the button to create a new file.