Points&Forces Wiki
Brought to you by:
smars
Points
Number_of_points
x1 y1 z1
x2 y2 z2
...
xn yn zn
Example
4
0 0 0
1 0 0
0 1 0
0 0 1
Triangles
Number_of_nodes
x1 y1 z1
x2 y2 z2
...
xn yn zn
Number_of_triangles
n11 n12 n13
n21 n22 n23
...
nn1 nn2 nn3
Example
4
0 0 0
1 0 0
0 1 0
0 0 1
4
0 1 2
0 1 3
0 3 2
1 2 3
Translators
Extract all 3Dfaces from a dxf
dxf2tri < test.dxf > test.tri
Extract the 3Dfaces on layer 'wall' and visualise them with colours varying with the 'x' coordinate
dxf2tri -l wall < test.dxf | view_tri -x