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
- The minimum required version of SolidWorks for use with this add-in is 2018 Service Pack 5. SolidWorks 2017 or earlier may work. See this issue.
See the ROS Wiki and associated tutorials.
- Install Visual Studio 2017
- Install .NET desktop development
- From Visual Studio:
Tools > Get Tools and Features...
- Check
.NET desktop development
package - Select
Modify
- From Visual Studio:
- Install the SolidWorks API tools
- Launch Visual Studio with admin privileges. Right click and select
Run as Administrator
- Open
sw2urdf/SW2URDF.sln
- Enable Debugging
- Right click
SW2URDF
in the Solution Explorer - Click the
Debug
Tab - Ensure
Configuration:
is set toDebug
- Ensure
Start external program:
is pointing to the SolidWorks executable. For exampleC:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\SLDWORKS.exe
- Right click
AxImp.exe
error - Check the installation of the .Net Tools. If there is no error, install the Windows 10 SDK.Resourse.resx
error - Check ifsw2urdf/SW2URDF/Resources.resx
exists and is empty. If empty, delete this file then right click theSW2URDF
in the Solution Explorer and selectProperties
. Navigate to the Resources tab and click the button to create a new file.