03-10-2021, 06:01 PM
I'm currently working on generating a curve follow project on a curved surface. Using Python and RoboDK's API, my program works as follows:
1. Generate points for the path
2. Create a curve from those points
3. Project the curve onto a surface
4. Create a curve follow project
The surface I am working with is curved, so I am using projection type PROJECT_ALONG_NORMAL_RECALC. However, I noticed that the normals are not all being recalculated accordingly. Instead, sections of the curved surface are being defined as having the same normal. This is causing my tool to not follow the path smoothly along the curved surface (when moving from one area to another, the tool adjusts itself to conform to the new normal in an abrupt manner since the normals are not being recalculated for each individual point.)
I am unsure how to resolve this normality problem I am having. Any tips or advice on how I can proceed is greatly appreciated!
1. Generate points for the path
2. Create a curve from those points
3. Project the curve onto a surface
4. Create a curve follow project
The surface I am working with is curved, so I am using projection type PROJECT_ALONG_NORMAL_RECALC. However, I noticed that the normals are not all being recalculated accordingly. Instead, sections of the curved surface are being defined as having the same normal. This is causing my tool to not follow the path smoothly along the curved surface (when moving from one area to another, the tool adjusts itself to conform to the new normal in an abrupt manner since the normals are not being recalculated for each individual point.)
I am unsure how to resolve this normality problem I am having. Any tips or advice on how I can proceed is greatly appreciated!