When you call ghpythonlib.components.Voronoi fumction, and try to give “boundary” input something like

import ghpythonlib.components as ghc
points = []
#..... generating points
vd = ghc.Voronoi(points,100,boundary)

you always have to specify clearly the input type hint as follows


However, this works only with rectangle curve, so that more adaptive solution could be using rhinoscriptsyntax.CurveBooleanIntersection with calling ghpythonlib.components.Voronoi fumction with just 1 input(points).




Comments are closed.