__author__ = "Seghier Mohamed Abdelaziz"
__version__ = "2021.01.26"
import Rhino as rh
import Rhino.Geometry as rg
from System.Collections.Generic import List
crvs = List[rg.Curve]()
for c in curves:
if not plane:
plane = rg.Plane.WorldXY
tol = rh.RhinoDoc.ActiveDoc.ModelAbsoluteTolerance
rc = rg.Curve.CreateBooleanRegions(crvs, plane, points, combineRegions, tol)
regions = List[rg.Curve]()
for i in range(rc.RegionCount):
regions = regions.ToArray()
I am not the author of the python component from which your error is resulting.
After a bit more experimenting, I found something that works.
I used the Clipper polyline offset, this is giving a clean result. However, the offset lines have become a little less smooth than the originals…