Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4120

How can you filter out surfaces with holes in them

$
0
0

Trying to select building polygons with holes in them. I’d like to be able to do it by deleting all surfaces with no holes in them or by deleting any with more than one boundary edge.

An example of the relevant Object Description entry of a polygon with a hole…

Geometry:

  • Valid surface.*
  • trimmed surface with 1 hole(s).*
  •  Plane Surface*
    
  •    "U":  (-88.6005 <= U <= 49.1221)*
    
  •    "V":  (-20.8729 <= V <= 65.323)*
    
  • Edge Tally:*
  •  2 boundary edges*
    

An example of a polygon with no holes that we would like to select and delete…

Geometry:

  • Valid surface.*
  • trimmed surface.*
  •  Plane Surface*
    
  •    "U":  (0 <= U <= 100.965)*
    
  •    "V":  (-68.8136 <= V <= 33.5264)*
    
  • Edge Tally:*
  •  1 boundary edges*
    

Is there a way to filter out surface by number of boundary edges or by having holes in them and how would one go about doing this?

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles