Just written my first OFF file

The place to talk about Stella4D, Great Stella, and Small Stella. Feel free to ask questions about them here.
Post Reply
indigotwilight
Posts: 16
Joined: Sat Apr 02, 2011 3:52 pm

Just written my first OFF file

Post by indigotwilight » Fri May 27, 2011 5:42 pm

I took a moment to learn the .OFF file format, and decided to 'write' my own polyhedron model.
It's a sort of octagrammic bipyramid. Might be useful for creating Christmas Tree decorations.
The file loads up fine in Stella4d (though it does give a pop up about decimal points in the beginning). The dual and stellations are quite interesting.

In case anyone wants it, here's the text. Just copy into a text editor and save with .off extension.


Twi


OFF
18 32 0
0.000000 0.000000 0.250000
0.000000 1.000000 0.000000
0.100000 0.200000 0.000000
0.350000 0.350000 0.000000
0.200000 0.100000 0.000000
1.000000 0.000000 0.000000
0.200000 -0.100000 0.000000
0.350000 -0.350000 0.000000
0.100000 -0.200000 0.000000
0.000000 -1.000000 0.000000
-0.100000 -0.200000 0.000000
-0.350000 -0.350000 0.000000
-0.200000 -0.100000 0.000000
-1.000000 0.000000 0.000000
-0.200000 0.100000 0.000000
-0.3500000 0.3500000 0.000000
-0.100000 0.200000 0.000000
0.000000 0.000000 -0.250000
3 0 1 2
3 0 2 3
3 0 3 4
3 0 4 5
3 0 5 6
3 0 6 7
3 0 7 8
3 0 8 9
3 0 9 10
3 0 10 11
3 0 11 12
3 0 12 13
3 0 13 14
3 0 14 15
3 0 15 16
3 0 16 1
3 17 1 2
3 17 2 3
3 17 3 4
3 17 4 5
3 17 5 6
3 17 6 7
3 17 7 8
3 17 8 9
3 17 9 10
3 17 10 11
3 17 11 12
3 17 12 13
3 17 13 14
3 17 14 15
3 17 15 16
3 17 16 1

Post Reply