Title: Nachricht
In my case i have to load a file that consists of the coordinates, Vertices and Facets of a polyhedron.
 
I have managed to isolate the useful information from the text file, and now all i need is to supply these info in a program that generate shape!
 
Here is my text file
 
----------------
 
SIZE: 500x500
BEGIN OBJECT POLYHEDRON
CORRECT ORIENTATION: A
BEGIN VERTICES
2:  0.333333 0.942809 0.57735;
3:  -1. 0 0.57735;
4:  -0.333333 -0.942809 0.57735;
5:  1. 0 -0.57735;
6:  0.666667 -0.942809 0;
7:  -0.666667 0.942809 0;
8:  0.333333 0.942809 -0.57735;
9:  -1. 0 -0.57735;
10:  -0.333333 -0.942809 -0.57735;
11:  0 0 -1.1547;
0:  0 0 1.1547;
1:  1. 0 0.57735;
END VERTICES
BEGIN FACETS
A:  2 1 0;
B:  0 3 4;
C:  1 6 5;
D:  2 8 7;
E:  3 7 9;
F:  4 10 6;
G:  5 11 8;
H:  9 11 10;
I:  0 2 7 3;
J:  0 4 6 1;
K:  1 5 8 2;
L:  3 9 10 4;
M:  5 6 10 11;
N:  7 8 11 9;
END FACETS
END OBJECT POLYHEDRON
 
------------------
 
 

Reply via email to