Hi,
I would like to correct the target orientation on the CAD object's surface using its normal. (by adopting the orientation of the closest CAD point)
I want to achieve something similar to the "Teach on surface" function's orientation determination.
I have tried with *.stp and *.stl files. As a sample, I used the examples available in the API documentation. (attachment)
The error: I cannot read the points from the object, invalid curve id.
Can you help me please, how can I fix it?
Thanks!
I would like to correct the target orientation on the CAD object's surface using its normal. (by adopting the orientation of the closest CAD point)
I want to achieve something similar to the "Teach on surface" function's orientation determination.
I have tried with *.stp and *.stl files. As a sample, I used the examples available in the API documentation. (attachment)
The error: I cannot read the points from the object, invalid curve id.
Can you help me please, how can I fix it?
Thanks!