PlanarSrf don't handle selfintersecting curves


#1

I am having issues with PlanarSrf and selfintersecting curves.
Hatch also has issues with this, as the result becomes an “invalid geometry”, but if I then explode the Hatch I get the surface I want.

Please see if you can fix.
PlanarSrf bug.3dm (112.7 KB)


#2

Hi Jørgen,

Hatch with your example curve created a bad object over here. I´ve been using TestGetPlanarRegions with CombineRegions=No for cases like that so i can later delete what is not required.

c.


#3

This is always the problem with “non-manifold” joints (more than two curves or surfaces at a junction). Hard to figure out what’s inside and what’s outside…

–Mitch