Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ros/solidworks_urdf_exporter
SolidWorks to URDF Exporter
https://github.com/ros/solidworks_urdf_exporter
Last synced: about 15 hours ago
JSON representation
SolidWorks to URDF Exporter
- Host: GitHub
- URL: https://github.com/ros/solidworks_urdf_exporter
- Owner: ros
- License: mit
- Created: 2018-06-25T16:11:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T18:14:10.000Z (22 days ago)
- Last Synced: 2024-10-20T03:28:06.707Z (19 days ago)
- Language: C#
- Homepage: http://wiki.ros.org/sw_urdf_exporter
- Size: 71.6 MB
- Stars: 378
- Watchers: 17
- Forks: 104
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - ros/solidworks_urdf_exporter - SolidWorks to URDF Exporter (C# #)
- awesome-robotic-tooling - solidworks_urdf_exporter - SolidWorks to URDF Exporter. (Electronics and Mechanics / Version Control)
- awesome-robotic-tooling - solidworks_urdf_exporter - SolidWorks to URDF Exporter (Hardware / Version Control)
README
# SolidWorks to URDF Exporter
Authored and maintained by [Stephen Brawner]([email protected]). Past supporters include [PickNik Consulting](https://picknik.ai), Verb Surgical, Open Robotics, and Willow Garage.
## Latest Release
**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
## SolidWorks Version Requirements
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](https://github.com/ros/solidworks_urdf_exporter/issues/73).
## Usage
See the [ROS Wiki](http://wiki.ros.org/sw_urdf_exporter) and associated [tutorials](http://wiki.ros.org/sw_urdf_exporter/Tutorials).
## Development
1. Install Visual Studio 2017
1. Install .NET desktop development
1. From Visual Studio: `Tools > Get Tools and Features...`
1. Check `.NET desktop development` package
1. Select `Modify`
1. Install the [SolidWorks API tools](https://help.solidworks.com/2019/english/api/sldworksapiprogguide/GettingStarted/SolidWorks_API_Getting_Started_Overview.htm)
1. Launch Visual Studio with admin privileges. Right click and select `Run as Administrator`
1. Open `sw2urdf/SW2URDF.sln`
1. Enable Debugging
1. Right click `SW2URDF` in the Solution Explorer
1. Click the `Debug` Tab
1. Ensure `Configuration:` is set to `Debug`
1. Ensure `Start external program:` is pointing to the SolidWorks executable. For example `C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\SLDWORKS.exe`## Converting mesh format from 3dxml to dae
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:
```bash
pip3 install scikit-robot -U
convert-urdf-mesh --output
```### Trouble Shooting
1. `AxImp.exe` error - Check the installation of the .Net Tools. If there is no error, install the Windows 10 SDK.
1. `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.