Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Load a 3D mesh (obj) with python API

I didn't find in the examples or scripts a way to load a simple 3D mesh as obj in the scene.
It is on a fixed path.
I would like also to change the scale just after load it.

Hi Thomas,

You can load a 3D mesh by dragging it to the station or with RDK.AddFile for the API. Most file formats are supported.
You can also add it with AddShape if you have the vertices in your code instead.

You can scale the imported object afterwards, see this video:
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
Thanks, I saw the AddShape method, not the AddFile.


Users browsing this thread:
1 Guest(s)