Differences between revisions 1 and 6 (spanning 5 versions)
 ⇤ ← Revision 1 as of 2015-02-16 11:27:30 → Size: 857 Editor: EricPalmer Comment: ← Revision 6 as of 2016-01-15 12:04:21 → ⇥ Size: 1590 Editor: KristoferDrozd Comment: Deletions are marked like this. Additions are marked like this. Line 1: Line 1: Describe SHAPEFILES here. = SHAPEFILES = Line 3: Line 3: SHAPE.TXT is the main shape model that all of SPC uses. The first line is the Q size (between 8 and 512 in factor of 2 increments: 8, 16, 32, 64, 128, 256, 512). The shape is in the ICQ format, which is basically a 6 sided cube. == Description == Line 5: Line 5: Each subsequent line gives the vector of the surface. Bob has made a new routine (equalize) that helps distribute the vectors evenly. The vectors are in Cartesian space (x, y, z) SHAPEFILES is a directory where, as its name suggests, shape files are stored. Out of the many shape files that can be stored in SHAPEFILES, SPC will only use one shape model at a time and that is SHAPE.TXT. Line 7: Line 7: SHAPE.TXT is the main shape model that all of SPC uses. The first line is the Q size (between 8 and 512 in factor of 2 increments: 8, 16, 32, 64, 128, 256, 512). The shape is in the ICQ format, which is basically a 6 sided cube.Each subsequent line gives the vector of the surface. Bob has made a new routine (equalize) that helps distribute the vectors evenly. The vectors are in Cartesian space (x, y, z).SHAPE00.TXT is the "baseline" shape model. This can be used to keep track of how far the new shape gets from the starting shape. Usually, it is turned off part way through the mission by [[INIT_LITHOS.TXT]].A useful tip for the user is to use a symbolic link to specific the SHAPE.TXT. Thus, the user can keep a useful filename in the directory, but "link" that to SHAPE.TXT so SPC works.== How to Link Models =={{{cd SHAPEFILESln -s SHAPE.TXT}}}== Example of a Shape Model ==

# SHAPEFILES

## Description

SHAPEFILES is a directory where, as its name suggests, shape files are stored. Out of the many shape files that can be stored in SHAPEFILES, SPC will only use one shape model at a time and that is SHAPE.TXT.

SHAPE.TXT is the main shape model that all of SPC uses. The first line is the Q size (between 8 and 512 in factor of 2 increments: 8, 16, 32, 64, 128, 256, 512). The shape is in the ICQ format, which is basically a 6 sided cube.

Each subsequent line gives the vector of the surface. Bob has made a new routine (equalize) that helps distribute the vectors evenly. The vectors are in Cartesian space (x, y, z).

SHAPE00.TXT is the "baseline" shape model. This can be used to keep track of how far the new shape gets from the starting shape. Usually, it is turned off part way through the mission by INIT_LITHOS.TXT.

A useful tip for the user is to use a symbolic link to specific the SHAPE.TXT. Thus, the user can keep a useful filename in the directory, but "link" that to SHAPE.TXT so SPC works.

```cd SHAPEFILES
ln -s <realfile> SHAPE.TXT```

## Example of a Shape Model

```         512
-278.04003   278.04003   268.57872
-276.88948   278.59369   269.11354
-275.73912   279.14388   269.64501
-274.58894   279.69061   270.17314
-273.43898   280.23391   270.69794
-272.28923   280.77377   271.21943
-271.13971   281.31022   271.73763
-269.99043   281.84328   272.25255
-268.84141   282.37296   272.76420
-267.69265   282.89927   273.27260
...```

SHAPEFILES (last edited 2016-07-23 07:26:01 by BMittan)