zoukankan      html  css  js  c++  java
  • 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.--返回对说明面上死的。

     

     

     

     

     

     

     

     

     

     

  • 相关阅读:
    js 日期比较 (输入的是字符串格式)
    js 弹出确认 取消对话框
    存储过程中查询多个字段的值来判断
    SQL中IF查询
    SQL server 2000安装时提示我”以前的某个程序安装已在安装计算机上创建挂起的文件操
    怎样做人
    RSS
    Silverlight教程第四部分:使用 Style 元素更好地封装观感 (木野狐译)
    Silverlight 2 初览
    Silverlight教程第七部分: 使用控件模板定制控件的观感
  • 原文地址:https://www.cnblogs.com/gaitian00/p/2021381.html
Copyright © 2011-2022 走看看