01-28-2021, 07:59 PM
Hi Dibash,
As far as I know, "Teach on surface" isn't accessible from the API.
But you can play with the projection parameters when you create a "curve" or "points".
//www.sinclairbody.com/doc/en/PythonAPI/robo...k.AddCurve
You can also look at this function://www.sinclairbody.com/doc/en/PythonAPI/robo...jectPoints
This is put to use in the example "Example-07.c-Script Curve Follow Custom" available in the local library (C:/RoboDK/Library)
There's also a script in Library/Script called Project_Curve_2_Surface.
I didn't play with that much, but in the little time I did I realized the projection function seems to work best with .stl file.
Jeremy
As far as I know, "Teach on surface" isn't accessible from the API.
But you can play with the projection parameters when you create a "curve" or "points".
//www.sinclairbody.com/doc/en/PythonAPI/robo...k.AddCurve
You can also look at this function://www.sinclairbody.com/doc/en/PythonAPI/robo...jectPoints
This is put to use in the example "Example-07.c-Script Curve Follow Custom" available in the local library (C:/RoboDK/Library)
There's also a script in Library/Script called Project_Curve_2_Surface.
I didn't play with that much, but in the little time I did I realized the projection function seems to work best with .stl file.
Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间
and by watching tutorials on ourYoutube Channel.