Topic : ATARI ST Picture formats
Author : David Baggett/Jan K⌐upka
Version : atari_gf.hyp 0.01 (17/09/96)
Subject : Documentation/File formats
Nodes : 52
Index Size : 1328
HCP-Version : 3
Compiled on : Atari
@charset : atarist
@lang :
@default :
@help :
@options : -i -s +y +z
@width : 75 Spin Template File Format *.SPN
The CAD-3D spin tool template file is a convenient way to store
often-used templates for spun objects. It is an ideal way to send
a simple spun object to another user of CAD-3D 2.0 (they cannot be used by
CAD-3D 1.0), since the compact template file is smaller than the resulting
3D object, making transmission via telecommunications network an economical
option.
The template file contains all information necessary to create a spun
object except for the number of degrees or the percentage for a partial
spin. The file contains the number of points in the template, the number
of segments, a flag which tells whether or not the first point is connected
to the last, and the actual coordinate data for the template.
The format of the file is as follows:
1 Number of points in the template, a number from 1 to 99.
1 Number of segments in the spun object, a number from 1 to 48.
Note that segment values less than 3 may not execute in partial
or full spin operations.
1 Connect flag. 0 indicates that the first point and the last
point are not connected, 1 indicates that they are connected.
When a template is loaded, the "Connect" selection in the
drop-down menu will be set to the appropriate setting.
The following section of the file is a table of the X coordinates of all
the points in the template. There are n words in this table, where n is
the number of points in the template, specified in the first of the
file.
n words The values of the X coordinates of the points in the spin
template. These values range from 0 to 300. A value of zero
indicates that the point lies on the spin tool's central axis
at the center of the spin tool window; a value of 300 indicates
that the point lies at the far right of the window.
The following section of the file is a table of the Y coordinates of all
the points in the template. There are n WORDs in this table, where n is
the number of points in the template, specified in the first of the
file.
n words The values of the Y coordinates of the points in the spin
template. These values range from -150 to 150. A value of -150
indicates that the point lies at the top of the spin tool window;
a value of 150 indicates that the point lies at the bottom of
the window.