Hi all,
I am working on a Rhino Python script, intended to prepare a file for cnc cutting. I know there is dedicated software to do this, but I would like to keep it within Rhino, just using scripting, no plugins.
To start I have a set of surfaces, from which I extract the edge curves and offset those by a fixed distance. That is actually how far I have succeeded, including getting he offset in the correct direction.
Now, I need to create gaps in the curves I have generated, to hold the parts within the base material sheet. I want this to be initiated by the user, with a single click on the relevant spot on the curve. I have come as far as getting the curve ID, and the point coordinates, but I have run out of ideas on how to gap the curve. All CurveBoolean operations seem to work on closed curves only, but after creating one gap it will no longer be closed, so I have stopped investigating that route. SplitCurve and TrimCurve seem to require curve parameters, but I cannot think of a way to generate those from a user defined point.
Does anybody have any ideas, hopefully with a concrete reference to the Rhinoscriptsyntax to be used?
Max.