08-21-2020, 03:35 PM
Hello,
I have a CSV file with a series of points for a series of curves.
I have been able to create a Python script to import these points and make curves based on the proximity of the points. The curves have a specific order.
Since I can only select one item for my program I have then merged the curves (Merged_Crv) (based on a list of ordered curves) and set these as the input into the program setup below:
curve_follow = RDK.AddMachiningProject("Motion Plan")
prog, status = curve_follow.setMachiningParameters(part=Merged_Crv)
Unfortunately the index of each curve seems to have been discarded as the program does not move through the curves sequentially, instead doing the motion to reduce the travel distance between curves.
I was wondering if there is a way to do this, so that the toolpath generated goes through the list of curves in the correct order?
Thanks in advance,
David
I have a CSV file with a series of points for a series of curves.
I have been able to create a Python script to import these points and make curves based on the proximity of the points. The curves have a specific order.
Since I can only select one item for my program I have then merged the curves (Merged_Crv) (based on a list of ordered curves) and set these as the input into the program setup below:
curve_follow = RDK.AddMachiningProject("Motion Plan")
prog, status = curve_follow.setMachiningParameters(part=Merged_Crv)
Unfortunately the index of each curve seems to have been discarded as the program does not move through the curves sequentially, instead doing the motion to reduce the travel distance between curves.
I was wondering if there is a way to do this, so that the toolpath generated goes through the list of curves in the correct order?
Thanks in advance,
David