几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】order of vertex-data in polyfacemesh (http://www.dimcax.com/hust/showthread.php?t=17819)

yang686526 2009-05-06 09:30 PM

【转帖】order of vertex-data in polyfacemesh
 
order of vertex-data in polyfacemesh
order of vertex-data in polyfacemesh
i used odreadex to create the following output:
code:
acdbpolyfacemesh, 9582
n verts: 4 n faces: 2
acdbpolyfacemeshvertex -720.682, 112.173, 4
acdbpolyfacemeshvertex -707.112, 111.663, 4
acdbpolyfacemeshvertex -720.682, 111.663, 4
acdbpolyfacemeshvertex -707.112, 112.173, 4
acdbfacerecord vertex indices: -1 2 3 0
acdbfacerecord vertex indices: 1 4 -2 0
this simple example should be a quadrangle, but i don't know in which order i must read the vertex-data
here are my questions:
- why are there 2 vertex indices?
- what does the negative value in a vertex indice mean?
thanks!
jörg nestele
negative vertex index indicates that edge of face is invisible. zero index (last of 4 indices) indicates that where is no 4-th vertex - face is triangle.
in your mesh you have to triangle faces. the coincident edges of 2 triangles are invisible so you see them as one quadrangle.
sergey slezkin

a quadrangle consists of 2 triangles with invisible vertex? thats confuse!
but i understand your description. thank you!!!


所有的时间均为北京时间。 现在的时间是 12:15 AM.