Wattzie wrote:
Hi,
I have a mesh and I am trying to split the outline of the mesh into two curves. This seems relatively simple using rs.splitcurve however this code:
Curves=rs.SplitCurve(Outline,(CuttingPoint1,CuttingPoint2))
(where CuttingPoint1 & CuttingPoint2 lie in the domain of Outline)
gives me 3 curves. It seems like it is splitting the curve at the two supplied cutting points as well as the seam.
Additionally, if I try to move the seam to one of the cutting points:
rs.CurveSeam(Outline,CuttingPoint1)
and then run the splitcurve as above, the curve does not split at all.
For now I am able to get around this by using the TrimCurve function twice however this seems inefficient, especially when it seems like the splitcurve function should achieve this.
Am I doing something wrong with the SplitCurve function or is this a bug?
Posts: 3
Participants: 2