Advertisement
krot

SelectBadVertex.ms

Oct 1st, 2021
2,440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --bad vertex select
  2. --удаляет точки не соединённые 2ребрами
  3. varr=#()
  4. for i in $.verts do (
  5.     arr=(PolyOp.getEdgesUsingVert $ #(i.index)) as array
  6.     if arr.count==2 do append varr i.index
  7. )
  8.  
  9. polyOp.setVertSelection $ varr
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement