Originally the only supported geometry specification were triangulated surfaces, hence the name of the directory: constant/triSurface, however now that other surface specifications are supported and provided it is much more logical that the directory is named accordingly: constant/geometry. All tutorial and template cases have been updated. Note that backward compatibility is provided such that if the constant/geometry directory does not exist but constant/triSurface does then the geometry files are read from there.
89 lines
1.5 KiB
Plaintext
89 lines
1.5 KiB
Plaintext
solid inlet
|
|
facet normal 1 0 0
|
|
outer loop
|
|
vertex 1 1 0.5
|
|
vertex 1 0 0.5
|
|
vertex 1 0 -0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 1 0 -0
|
|
outer loop
|
|
vertex 1 1 -0.5
|
|
vertex 1 1 0.5
|
|
vertex 1 0 -0.5
|
|
endloop
|
|
endfacet
|
|
endsolid inlet
|
|
solid cube.tri
|
|
facet normal -1 0 0
|
|
outer loop
|
|
vertex 0 0 -0.5
|
|
vertex 0 0 0.5
|
|
vertex 0 1 0.5
|
|
endloop
|
|
endfacet
|
|
facet normal -1 0 0
|
|
outer loop
|
|
vertex 0 1 -0.5
|
|
vertex 0 0 -0.5
|
|
vertex 0 1 0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 1 0
|
|
outer loop
|
|
vertex 1 1 0.5
|
|
vertex 1 1 -0.5
|
|
vertex 0 1 -0.5
|
|
endloop
|
|
endfacet
|
|
facet normal -0 1 0
|
|
outer loop
|
|
vertex 0 1 0.5
|
|
vertex 1 1 0.5
|
|
vertex 0 1 -0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 -1 0
|
|
outer loop
|
|
vertex 0 0 -0.5
|
|
vertex 1 0 -0.5
|
|
vertex 1 0 0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 -1 0
|
|
outer loop
|
|
vertex 0 0 0.5
|
|
vertex 0 0 -0.5
|
|
vertex 1 0 0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 0 1
|
|
outer loop
|
|
vertex 1 1 0.5
|
|
vertex 0 1 0.5
|
|
vertex 0 0 0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 -0 1
|
|
outer loop
|
|
vertex 1 0 0.5
|
|
vertex 1 1 0.5
|
|
vertex 0 0 0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 0 -1
|
|
outer loop
|
|
vertex 0 0 -0.5
|
|
vertex 0 1 -0.5
|
|
vertex 1 1 -0.5
|
|
endloop
|
|
endfacet
|
|
facet normal 0 0 -1
|
|
outer loop
|
|
vertex 1 0 -0.5
|
|
vertex 0 0 -0.5
|
|
vertex 1 1 -0.5
|
|
endloop
|
|
endfacet
|
|
endsolid cube.tri
|