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

Load a 3D mesh (obj) with python API

#1
Hi,
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.

Regards,
Thomas.
#2
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:https://www.youtube.com/watch?v=MnNHetg3VpI
Please read theForum Guidelinesbefore posting!
Find useful information about RoboDK by visiting ourOnline Documentation.
#3
Thanks, I saw the AddShape method, not the AddFile.

Regards,
Thomas




Users browsing this thread:
1 Guest(s)