software3d.com Forum Index software3d.com
Software3D Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Just written my first OFF file

 
Post new topic   Reply to topic    software3d.com Forum Index -> Stella Forum
View previous topic :: View next topic  
Author Message
indigotwilight



Joined: 02 Apr 2011
Posts: 16

PostPosted: Fri May 27, 2011 5:42 pm    Post subject: Just written my first OFF file Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    software3d.com Forum Index -> Stella Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP