-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME
292 lines (242 loc) · 12.1 KB
/
README
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
NOTE: This is a copy of DOME 4.80, 08/10/2002 with very minor modifications.
Changes: Changes to code to ease building on modern systems.
Changes to POV output for compatibility with latest POV-Ray.
Added OFF output.
Removed dxftopov.
Fixed reporting of angles greater than 90 degrees.
Version home: http://www.antiprism.com/other/dome
Changes by: Adrian Rossiter <[email protected]>
http://www.antiprism.com/
Issues: some models are not consistently oriented.
Geodesic Dome Design
DOME
Version 4.80ar.02
16 March 2014
=============
What is DOME?
=============
DOME is a program which calculates the properties of a geodesic dome symmetry
triangle. DOME calculates spherical vertex coordinates, symmetry triangle topological
abundance, and chord factors. DOME supports class I (alternate) and class II (triacon)
breakdowns for Icosahedron, Octahedron and Tetrahedron polyhedron types. DOME also
supports "Buckyball" formations as well as elliptical geodesics & geodesic parabolic dishes.
=============
Why DOME?
=============
DOME began as a set of geodesic math test algorithims for use in investigating
properties of generalized geodesic structures. This continues to be the main purpose
of my development of the DOME code. DOME should serve as a basic tool for those interested
in geodesic dome design and modeling. All source code is also included in this package
and is freely modifiable under the conditions of the GNU General Public License.
====================
System Requirements
====================
Dome frequency is limited by the amount of memory available.
=========================================
Changes From Previous Release Version 4.6
=========================================
-Rewrote several functions into modules.
-Added Windows GUI front-end
-Upgraded VRML output to the VRML97 specification
======
Usage
======
DOME is run as a console application. The program will terminate with an error
message if there is not enough memory to allocate array space for the coordinate matrix.
If this occurs, re-run DOME and request a smaller subdivision frequency. Only even
frequencies are allowed when using class II.
Usage: dome [-fnnn] [-cn] [-px] [-s or -sb] [-en] [-v] [-w] [-h] [filename.xxx]<BR>
Where: -fnnn is geodesic frequency (default nnn=2)
-cn is class type (n=1 or 2; default n=1)
-px sets the polyhedron type
where x is: i for icosahedron (default)
o for octahedron
t for tetrahedron
-s generate full sphere data (default: symmetry triangle)
-sb generate a buckyball. Must use class I with frequency equal
to a multiple of three.
-en enable elliptical formation (default: n=1 circle)
n=elliptical eccentricity (n > 0.0 and n < 2.0)
-v verbose data display at run-time
-dn enables parabolid and specifies focus location
-rn sets Outer radius of paraboloid.
-w enable wire-frame VRML or DXF output (default: face data)
-h displays a help screen
filename.xxx is a standard DOS filename
where xxx is: DXF, DAT, WRL, POV, PRN or OFF
=================
Examples of Usage
=================
-A 5 frequency, class I, icosahedron sphere in DXF format
(note class I & icosa are the defaults): dome -f5 myfile.dxf
-A 3 frequency buckyball in POV format: dome -f3 -sb myfile.pov
-A 10 frequency, class II, octahedron symmetry triangle in DXF
format: dome -f10 -c2 -po myfile.dxf
============
File Formats
============
DOME currently supports five file formats:
1.) DXF - DXF face data which can be input into most computer aided design packages.
Each polyhedron face is saved on a seperate level if spherical data generation is
requested. DXF data for Buckyballs are saved as LINE data. The default DXF data for
all other structures is 3D POLYFACE data. This can be changed to LINE data with
the -w option. Note that not all applications support DXF line data. In these cases,
use polyface instead.
2.) DAT - An ASCII report format. Shows only symmetry triangle parameters. This format
displays chord factors, face angles and axial angles. Not available for Buckyballs.
3.) PRN - An ASCII comma delimited format. Contains vertex coordinate and chord
coordinate data. Suitable for parsing into custom routines and spreadsheets. Only data
for the symmetry triangle is saved. Not available for Buckyballs.
4.) POV - POV-ray script file. Generates spheres for vertexia, cylinders for chords
and triangles for faces. Faces are not saved when using the Buckyball option.
The POV script consists of two files. The .POV file contains the scene description
while the dome.inc file contains the dome geometry. Note that DOME references "up"
as the z-axis while POV references the y-axis. The Sky statement in the camera
definition compensates for this.
5.) WRL - VRML file for use with a VRML enabled browser such as the Cortona plugin
from ParallelGraphics. Only wire-frame output is available with Buckyball option.
WinDome supports the VRML97 Specification.
6.) OFF - Can be processed, analysed and viewed by the Antiprism tools (use
off_util to merge elements), Geomview and JavaView.
=====================
Elliptical Structures
=====================
DOME allows the creation of elliptical geodesic structures. The -en switch enables
this feature. The "n" parameter is the elliptical eccentricity. This value is simply
the ratio of the ellipse major axis to ellipse minor axis. A circle has an
eccentricity of 1.0.
Dome allows eccentricity values greater than 0.0 but less than 2.0. An eccentricity
less than 1.0 results in an ellipse having a semimajor axis = 1.0 and aligned along
the x-axis. Likewise, an eccentricity greater than results in an ellipse having a
semiminor axis = 1.0 and major axis aligned along the z-axis.
====================
Parabolic Structures
====================
DOME now includes functions which allow the design of geodesic parabolic dishes. Two command line switches
have been added to enable parabolics:
-dn where n = the distance from the dish center to the focus.
-rn Where n = the radius of the dish. This defaults to 2 x focus.
The parabolic functions work with:
1.) Class I or Class II geodesics
2.) All supported polyhedron types.
The following restrictions apply to the use of parabolics:
1.) A DXF filename must be included with the parabolic switches.
2.) The -w wireframe option should not be used.
3.) The ratio of focal length to dish diameter (f/d) must be greater than or equal 0.25.
4.) No other output file type aside from the 3DFACE DXF file is supported at this time.
5.) Frequency is based on a spherical formation. Large values of f/d will reduce the number of
faces used in the structure. Compensate by further increasing the frequency.
DOME produces a DXF file containing the dish face data and an ASCII text file named parabolic.txt containing
the raw data for each face. The following data is output:
1.) Index data for each triangle vertex (A, B, C see map.gif)
2.) Chord lengths for each triangle side (a, b, c)
3.) Face angles (A, B, C).
This data is given for each polyhedron face. In the case of the class I icosahedron 20 faces will be output. The
class II structure will use up to 60 triangles. Many of these faces may not contain data as this is dependent
on the truncation used.
The enclosed file map.gif contains a graphical representation one polyhedron face as well as the nomenclature
used for each triangle.
The units used for the focus location will determine the units of chord length. If -d6 is used where 6 is the
focal length in feet, then the chord lengths will be output in feet as well.
The parabolic.txt file is designed to be read by a spreadsheet application such as Microsoft Excel. When importing this
file into a spreadsheet, set the field delimiter to 'tab', the text delimiter to '"' and make sure that the first
three columns are read as text fields.
=============
Other Goodies
=============
See the Applied Synergetics Homepage for image samples and links
to other Synergetics Web sites. The latest DOME info can be found
at http://www.applied-synergetics.com/ashp/html/domes.html
==================
UNIX/Linux Install
==================
See INSTALL file, or run
./configure
make
optionally followed by
make install
================
Other Platforms
================
Check the DOME web page for versions which support other platforms including 32-bit Windows.
====================
Source Code Comments
====================
Releases of DOME prior to 4.0 had all the source code in one file.
DOME 4.80 has the source code split across several files:
dome.txt - this file
Dome.cpp - Source code for main program loop.
Geodesic.h - Header file containing variables, structures and class
member function prototypes.
Geodesic.cpp - Source code for geodesic class member functions. Most of
the work is done by these routines.
Dxfsave.cpp - Geodesic class DXF save routines.
Povsave.cpp - Geodesic class POV save routines.
Wrlsave.cpp - Geodesic class WRL (VRML) save routines.
Offsave.cpp - Geodesic class OFF save routines.
Cartesian.cpp - cartesian & spherical coordinate conversion & data structures
Cartesian.h - header for cartesian.cpp
Chords.cpp - class containing chord data structures
Chords.h - header for chord.cpp
Command.cpp - class implementing input parameter data structures
Command.h - header for command.cpp
Faces.cpp - class containing triangle face data structures
Faces.h - header for faces.cpp
Labels.cpp - class containing vertex label data structures
Labels.h - header for labels.cpp
Points.cpp - class containing vertex position data structures
Points.h - header for points.cpp
ThetaTruncation.cpp - class for collecting truncation data
ThetaTruncation.h - header for ThetaTruncation.cpp
=============
DOME Updates
=============
This is some of the stuff I'd like to see in future versions of DOME & WinDome
-Provide Buckyball topological abundance in reports
-Buckyball face data
-Dihedral Face Angles
-INI file input for customizing POV-ray and other settings.
-Enhanced non-spherical support
-Space frame support
-Enhanced VRML Support
-Graphical Display
Feel free to contact me at [email protected] for suggestions, bug reports or
questions.
=====================
Copyright Information
=====================
DOME 4.80, Copyright (C) 1995 - 2002 Richard J. Bono
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or any later version.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA.
Please direct inquiries, comments and modifications to:
Richard J. Bono
44 Augusta Rd.
Brownsville, TX 78521
email: [email protected]
=============================
Acknowledgements & References
=============================
The main reference used in the creation of this code was:
"Geodesic Math & How to Use It" by Hugh Kenner, 1976,
University of California Press. ISBN 0-520-02924-0;
Library of Congress Catalog Card Number: 74-27292.
Many thanks to Hugh for putting this data in an accessible format.
Also, many thanks to:
-J. F. (Jym) Nystrom for turning me on to Bucky back in the summer of 1984.
-My wife and my daughters for their de-finite patience.
-Chris Fearnley for pushing me to release this code, providing uploading
tips, general comments, GNU POV scripts and UNIX/LINUX make files.
-Kirby Urner for introducing me to POV-ray and for providing DOME
with a home in cyberspace.
-R. Buckminster Fuller for changing the way I view Universe.