•  Back 
  •  %Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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      : 75Extrude Template File Format       *.XTR

  The CAD-3D extrude tool template file is almost exactly the  same as the
spin tool template file.

  The template file contains all information necessary to create an
extruded object.  It contains the number of points in the template, the
number of segments, and the actual coordinate data for the template.

  The format of the file is as follows:

1 wordword = 2 bytes
    Number of points in the template, a number from 1 to 99.

1 wordword = 2 bytes
    Number of segments in the spun object, a number from 1 to 50.

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 wordword = 2 bytes
 of the
file.

n words   The values of the X coordinates of the points in the spin
          template.  These values range from -300 to 300. A value of -300
          indicates that the point lies at the far left of the extrude
          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 wordword = 2 bytes
 of the
file.

n words   The values of the Y coordinates of the points in the extrude
          template.  These values range from -150 to 150. A value of -150
          indicates that the point lies at the top of the extrude tool
          window; a value of 150 indicates that the point lies at the
          bottom of the window.