Hello. I have the following issue: I need to divide each closed curve, into several smaller closed curves, along existing division lines. Is there any way to do this with less labor?
I think you could make a surface out of your initial closed curve, split it, and retrieve the edges of each slice
Curve.CreateBooleanRegions
might work for you. I donāt know if itās implemented in native Grasshopper components yet, but one can implement it a scripting component if not:
Thank you. I downloaded the grass-file, but I get an error when opening the python script: ātypeā object has no attribute āCreateBooleanRegionsā. Maybe the problem is in the Rhino version? I have 6.
That was my first thought, but I have a lot of branches and elements, so this approach takes a lot of time and Iād like to do without building surfaces so as not to reduce the speed of the script.
Yup, the CreateBooleanRegions
method was added in Rhino 7.
Can I get any solution in Rhino6?
3. Attach minimal versions of all the relevant files
Hope dies last (should die first)
BrepFace_SplitWithOffsetCurves_V1.gh (131.8 KB)
Note: RC crv.Offset() Method used is useless (in most complex cases). So sample āsimpleā splitters (and cross fingers).