Surfaces by patch without islands

Hi,
is there any simple solution how to create Surface.ByPatch from polylines where are not islands included? I need to create surface 1 to 6 where surfaces 5 and 6 are not included in surface 4, see picture.
I made it bad way from my point of view.

image
D4C3D_surfaceIslands.dyn (38.3 KB)
SurfaceIslands.dwg (466.3 KB)

The output could be PolySurfaces or Solids?

My first thought is to create all the surfaces and then look for overlap. Once you have the overlaps grouped you can just get the difference in Surface 4 with Surfaces 5 and 6.

1 Like

How about something like this, I haven’t tested it a ton but got it to work.

2 Likes

Hi @KirkWM, thank you, you helped me. Here is solution.


D4C3D_plochyzKrivekSOstrovy_2022-01-25_03-22-38_python
Dynamo_PlochySOstrovy

2 Likes

Maybe there could be a slight modification to remove the warning. Any ideas?