- Solution exception:IsPolygonClockwise: the input curve’s direction cannot be determined.
this is the error that I get every time I store the obstacle curves for the simulation
PEDSIM.3dm (13.2 MB)
PedSimFlowScript.gh (38.6 KB)
this is the error that I get every time I store the obstacle curves for the simulation
PEDSIM.3dm (13.2 MB)
PedSimFlowScript.gh (38.6 KB)
I don’t have that specific plugin installed, but I guess the issue comes from these type of closed but sort of self-intersecting polylines:
it looks like all your Curves are all indeed Close Polylines, so the best I’d suggest to try is something like the plugin Clipper → Union
component, to merge these types of curves:
into just their outlines:
as you are dealing with planar Polylines, maybe also Boundary Surface → Brep edges → Join Curves [with Flattened output] is worth a try, without installing any plugin:
PedSimFlowScript_Re.gh (37.9 KB)