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

Manipulate Mesh

#1
Hello everyone,

is there a way to access and manipulate the geometrie of a mesh that was imported to roboDK?

Or do i have to:
- Save it as a file.
- Load it into an 3D modelling lib.
- Save the changed mesh again.
- Import it from the filesystem to roboDK

best regards
Jonas
#2
You can use the AddFile function of the API to load a new file. You can also use the Save function of the API to save an object (as an STL file for example).

You can also use the GetPoints function to retrieve the geometry related to the selected object. This example includes a way to retrieve the mesh under the selected point of the mouse cursor:
https://robodk.com/doc/en/PythonAPI/robo....GetPoints

You can find more information about AddFile here:
https://robodk.com/doc/en/PythonAPI/robo...nk.AddFile

You can find more information about Save here:
https://robodk.com/doc/en/PythonAPI/robo...olink.Save
  




Users browsing this thread:
1 Guest(s)