Posted By

barigazy on 07/17/12


Tagged

epoly emesh


Versions (?)

DELETE CAP FACES FROM CONVERTED SPLINE


 / Published in: Maxscript
 

This FN works with EPoly and EMesh objects

  1. fn deleteCupFaces =
  2. (
  3. if selection.count != 0 do
  4. (
  5. local delPoly = polyop.deleteFaces, delMesh = meshop.deleteFaces
  6. for obj in selection do
  7. (
  8. local fC = getNumFaces obj
  9. if isKindOf obj Editable_Poly then (delPoly obj #{(fC-2)..fC} delIsoVerts:true)
  10. else if isKindOf obj Editable_Mesh do (delMesh obj #{(fC-3)..fC} delIsoVerts:true ; update obj)
  11. )
  12. )
  13. )
  14. deleteCupFaces()

Report this snippet  

You need to login to post a comment.