ningw-git
(Ningw Git)
October 9, 2024, 12:08pm
1
Hello, does slicer have a version that uses python3.8? I’m using a ROKAE robot recently, and they provided a program and library file based on python3.8 (similar to: robot.cp38-win_amd64.pyd). I want to use this robot in slicer, so please help.
ningw-git
(Ningw Git)
October 10, 2024, 1:54am
2
Hello, how can I call my own robot in slicer? We have two models of ABB and ROKEA robot arms. Is there any way to connect to these robot arms and display the robot arm models in slicer? Thank you.
lassoan
(Andras Lasso)
October 15, 2024, 11:40pm
4
You can import the mesh of each rigid component of the robot and put them under a transform tree as shown here:
Also make sure the STL uses mm as coordinate system units (or scale it using a transforms module).
Note that you can also animate the robot (simulate rotation around each joint) if you load each section of the robot as a separate model, with the rotation joint in the origin. You just need to create a hierarchy of transforms in Transforms module and add each model at the appropriate level in the transform tree.
I’ve uploaded a short video of ABB IRB 120 robot visualization in Slicer:
[…
If you have a URDF file for your robot then you can use the importer that I’ve created to automate the process. You can find details here:
Slicer can do exactly this. The file that you drag-and-drop is a Slicer scene file that contains models, transforms, and OpenIGTLink configuration.
You can build the transform tree from information in the urdf file. To make this very easy, I’ve implemented an automatic importer script. You can download it from here:
The script does not support all possible features (e.g., I’ve only added “revolute” joint types), but can be easily extended as needed.
All you need is to copy-paste the scrip…