Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavanderhoorn/rfbh
ROS-Fanuc-Blender helper script
https://github.com/gavanderhoorn/rfbh
Last synced: about 13 hours ago
JSON representation
ROS-Fanuc-Blender helper script
- Host: GitHub
- URL: https://github.com/gavanderhoorn/rfbh
- Owner: gavanderhoorn
- License: apache-2.0
- Created: 2015-09-16T18:50:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-17T16:51:08.000Z (about 9 years ago)
- Last Synced: 2023-07-31T14:19:02.124Z (over 1 year ago)
- Language: Python
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rfbh
ROS-Fanuc-Blender helper script
## Overview
Simple Blender Python script that imports STL meshes into an empty scene, applies translations and / or rotations, then exports them again to STL, Collada and a Blender file.
This is useful when dealing with robot 3D models that have the origins of all meshes at the 'global origin' of the robot (ie: the `[0, 0, 0]` coordinate).
## Dependencies
- Blender
- configparser (should already be included with Blender Python)## Typical usage
1. Convert SolidWorks assembly to STLs (eDrawings, single STL *per part*). Filenames may be anything, but already using ROS standard `base_link`, `link_1`, etc would be good. Make note of orientation wrt global coordinate origin
1. Use robot 'basic specifications' to figure out translations needed
1. Define 'ops' in `ini` file (see `example.ini`). Be sure to use filenames of STLs when specifying the `chain` and under `ops`
1. run script:```
blender -b -P \path\to\mesh_processor.py \path\to\base\dir \path\to\your\file.ini
```If successful, the script should have placed the meshes in the `stl`, `dae` and `blend` subdirs of `\path\to\base\dir`.