"Facet" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
(已建立頁面,內容為 "=='''Format'''== facet normal outer loop vertex vertex vertex endloop endfacet <font size=3> Stereolithography file format. </font> =='''E...")
 
(CJchen 已移動頁面 $facetFacet)
 
(未顯示同一使用者於中間所作的 2 次修訂)
行 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>
   
 
=='''Example'''==
 
=='''Example'''==
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
+
facet normal 1.000000e+00 0.000000e+00 0.000000e+00
 
outer loop
 
outer loop
 
vertex -1.000000e+00 -1.000000e+00 1.000000e+00
 
vertex -1.000000e+00 -1.000000e+00 1.000000e+00
行 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).

於 2019年9月18日 (三) 14:18 的最新修訂

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).