1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details.
"""
mdldata.py
$Id$
"""
filler = "0 0 1.10899\n";
marks = [(0.0017098087515823326, -1.0, -1.1903588901433509e-008) ,
(0.0012090115980704097, -1.0, -0.001209025283109241) ,
(-1.2261384241677788e-008, -1.0, -0.0017098087515823326) ,
(-0.001209025283109241, -1.0, -0.0012090115980704097) ,
(-0.0017098087515823326, -1.0, 1.2619111156727908e-008) ,
(-0.0012090115980704097, -1.0, 0.001209025283109241) ,
(1.1595538677340999e-008, -1.0, 0.0017098087515823326) ,
(0.001209025283109241, -1.0, 0.0012090115980704097) ,
(0.71013034999486813, -0.70710527589377681, 0.0) ,
(0.50213555030962398, -0.70710527589377681, -0.50213555030962398) ,
(5.3613123952239212e-008, -0.70710527589377681, -0.71013034999486813) ,
(-0.50213555030962398, -0.70710527589377681, -0.50213555030962398) ,
(-0.71013034999486813, -0.70710527589377681, -1.0722638475486675e-007) ,
(-0.50213623456156564, -0.70710527589377681, 0.50213555030962398) ,
(-3.3014677204146567e-007, -0.70710527589377681, 0.71013034999486813) ,
(0.50213555030962398, -0.70710527589377681, 0.50213623456156564) ,
(1.0, 0.0, 0.0) ,
(0.70710595641315144, 0.0, -0.70710595641315144) ,
(7.5498306476444628e-008, 0.0, -1.0) ,
(-0.70710595641315144, 0.0, -0.70710595641315144) ,
(-1.0, 0.0, -1.509959287009477e-007) ,
(-0.70710595641315144, 0.0, 0.70710595641315144) ,
(-4.6491361319237741e-007, 0.0, 1.0) ,
(0.70710595641315144, 0.0, 0.70710595641315144) ,
(0.71013034999486813, 0.70710527589377681, 0.0) ,
(0.50213623456156564, 0.70710527589377681, -0.50213623456156564) ,
(5.3613192377433375e-008, 0.70710527589377681, -0.71013034999486813) ,
(-0.50213623456156564, 0.70710527589377681, -0.50213623456156564) ,
(-0.71013034999486813, 0.70710527589377681, -1.0722638475486675e-007) ,
(-0.50213623456156564, 0.70710527589377681, 0.50213623456156564) ,
(-3.3014745629340725e-007, 0.70710527589377681, 0.71013034999486813) ,
(0.50213555030962398, 0.70710527589377681, 0.50213623456156564) ,
(0.0016114680625406274, 1.0, 1.1677169933969688e-008) ,
(0.0011394847582880017, 1.0, -0.0011394710732491704) ,
(1.1798829929179925e-008, 1.0, -0.0016114680625406274) ,
(-0.0011394710732491704, 1.0, -0.0011394847582880017) ,
(-0.0016114680625406274, 1.0, -1.1920489924390161e-008) ,
(-0.0011394847582880017, 1.0, 0.0011394710732491704) ,
(-1.242635738478908e-008, 1.0, 0.0016114680625406274) ,
(0.0011394710732491704, 1.0, 0.0011394847582880017)];
links = [19, 27, 35, 43, 51, 20, 28, 36, 44, 52, 21, 29, 37, 45, 53, 22, 30,
38, 46, 54, 23, 31, 39, 47, 55, 24, 32, 40, 48, 56, 25, 33, 41, 49,
57, 26, 34, 42, 50, 58] ;
mdlheader = """[MODELFILE]
ProductVersion=11.1
[POSTEFFECTS]
[ENDPOSTEFFECTS]
[IMAGES]
[ENDIMAGES]
[SOUNDS]
[ENDSOUNDS]
[MATERIALS]
[ENDMATERIALS]
[POSTEFFECTS]
[ENDPOSTEFFECTS]
[OBJECTS]
[MODEL]
[MESH]
Version=2
"""
mdlfooter = """[FileInfo]
CreatedBy=NanoEngineer-1
Organization=Nanorex
Url=www.nanorex.com
Email=info@nanorex.com
LastModifiedBy=NanoEngineer-1
[EndFileInfo]
[ENDMODEL]
[ENDOBJECTS]
[ACTIONS]
[ENDACTIONS]
[CHOREOGRAPHIES]
[ENDCHOREOGRAPHIES]
[FileInfo]
CreatedBy=NanoEngineer-1
Organization=Nanorex
Url=www.nanorex.com
Email=info@nanorex.com
LastModifiedBy=NanoEngineer-1
[EndFileInfo]
[ENDMODELFILE]
"""
|