I want to make an URDF from a Staubli TX2-140. I have the .STL of the all arm. Does someone know how to separate it to get individual links .STL?
Just open it with any graphics tool (Blender gets the job done, but also FreeCad is an option), select each link's point cloud and save them as separate
This is of course not perfect and very error prone! If you are building a
urdf robot model I would suggest using an automated export tool on a
.cad file for the best results. There are plenty of options, for these tools, just search online.
In this way you have already the link groups assemblies and hopefully even materials to export mass values and inertia tensors.
A later step is to get the built
.urdf and converting to
.xacro for better extensibility with
Gazebo and other ROS tools.
I am also looking for a way to convert .STL or .STEP files to urdf. The best I've found so far was to use onshape or gazebo and recreate the model.
"There are plenty of options, for these tools, just search online." Searching the Internet brings back this post. Care to give specifics?