Wattzie wrote:
I am new to python and Rhino so please bear with me.
I am trying to write a script that extends a section of the edge of a mesh in a defined direction.
Without a script I can achieve this by: extracting mesh edges, trimming the resulting curve, copying and moving the curve to where I want it, creating a mesh between the two curves and then joining the meshes together.
So Far I have been able to create the outline in python however I would like to then trim this curve at a user defined position in a similar way to what the "Sub curve" tool does.
It does not seem like there is an "rs.SubCurve" command. Is there another way to do this?
I have seen that I could use "rs.Command("_SubCrv")" however then I have to select the curve first and I dont know how to get the GUID of the resulting curve to continue the rest of the script.
I would rather the user just have to select the start and end points of the curve if this is possible.Thanks!
Posts: 2
Participants: 2