poly 因素编辑

polyop.getNumVerts  $ --返回点数


polyop.getNumEdges $ ---返回边

polyop.getNumFaces  $  --返回面数 面数部分点数】

polyop.getHiddenVerts $ ----返回隐藏的点。

 
polyop.setHiddenVerts $ #{5..10} ---设置隐藏的点


polyop.getHiddenFaces $


polyop.setHiddenFaces $  #{5..10} ---设置隐藏的面


polyop.unHideAllFaces $ ---全部的显示面

polyop.unHideAllVerts $ ---全部的显示点

----\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

polyop.getEdgeSelection  $
polyop.getEdgeVis $ 32

Returns true if the specified edge is visible, false otherwise.

polyop.setEdgeVis <Poly poly> <edgelist> <boolean>

polyop.setEdgeVis $  15

Sets the visibility of the specified edges.
--上面这个不好出来。设定不好

---\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


(polyop.getOpenEdges $ ) --模型开口的处理。

polyop.getBorderFromEdge $ 2 --

polyop.getBorderFromEdge $ 2 --如果后面的边在开口上,就返回有东西的数组。是返回开口的边。
--反之是空组。

--\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  rt = polyop.getEdgeSelection $
polyop.setEdgeVis $ rt  true
--\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
polyop.setFaceSelection $ #{3}  ---查看三个面的情况

polyop.getFaceVerts $ 2 --选择面数返回点数组

polyop.getFaceEdges $ 2 ---选择面返回边数

polyop.getFaceDeg $ 5  ----返回够成面的元素

polyop.getEdgeVerts $ 7  ----由边返回点。

polyop.getEdgeFaces $  7 ---由边返回面

polyop.getDeadVerts  $
Returns the current dead vertices selection as a bitarray. Normally this will return an empty bitarray.
---返回死亡的点,一般返回的总是空组。 --这个不知道什么意思、

polyop.getDeadEdges $
Returns the current dead edges selection as a bitarray. Normally this will return an empty bitarray.
---返回死亡的边,一般返回的总是空组。 --这个不知道什么意思、
 
polyop.getDeadFaces $

---返回死亡的面,一般返回的总是空组。 --这个不知道什么意思、


polyop.GetHasDeadStructs $


Bit 1 in the return value is set if the poly has any dead vertices, bit 2 if any dead edges, and bit 3 if any dead faces.


polyop.setFaceSelection $ #{1}
polyop.isFaceDead $ 1
Returns true if the specified face is dead.--返回对说明面上死的。

 

 

 

 

 

 

 

 

 

 

posted on 2011-04-19 18:00  盖天00  阅读(277)  评论(0编辑  收藏  举报

导航