Guest User

Untitled

a guest
Aug 10th, 2020
34
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (
  2. obj = $
  3. baseobj = obj.baseobject
  4. epoly = obj.modifiers[1]
  5. flag = bit.set 0 30 true
  6. c_getEdgeFlags = polyop.getEdgeFlags
  7. edgesel = polyop.getEdgeSelection baseobj
  8. polyop.setEdgeFlags baseobj edgesel flag
  9. edgesNew = #{}
  10. for i=1 to (polyop.getNumEdges obj) where (bit.get (c_getEdgeFlags obj i) 30) do edgesNew[i] = true
  11. epoly.Select #Edge edgesNew
  12. )
RAW Paste Data