「Facet」:修訂間差異

出自DDCC TCAD TOOL Manual
跳至導覽 跳至搜尋
CJchen留言 | 貢獻
CJchen留言 | 貢獻
無編輯摘要
第9行: 第9行:


<font size=3>
<font size=3>
Stereolithography file format.  
Stereolithography CAD file format. The normal vector and vertex coordinate are recorded.


</font>
</font>
第21行: 第21行:
   endloop
   endloop
  endfacet
  endfacet
The normal vector of the triangle is (1,0,0), while the vertices are (-1,-1,1), (-1,1,1), and (-1,1,0).

於 2018年7月17日 (二) 06:31 的修訂

Format

facet normal
  outer loop
    vertex
    vertex
    vertex
  endloop
endfacet

Stereolithography CAD file format. The normal vector and vertex coordinate are recorded.

Example

facet normal 1.000000e+00 0.000000e+00 0.000000e+00  
  outer loop
    vertex -1.000000e+00 -1.000000e+00 1.000000e+00  
    vertex -1.000000e+00 1.000000e+00 1.000000e+00  
    vertex -1.000000e+00 1.000000e+00 0.000000e+00  
  endloop
endfacet

The normal vector of the triangle is (1,0,0), while the vertices are (-1,-1,1), (-1,1,1), and (-1,1,0).