Next Previous Contents

7. File Format

ShellyLib uses files in a simple format to store sets of parameters. You should use a characteristic filename extension like ".shy" for these files. However, this is not mandatory.

Every line of the file is scanned for keywords. Lines that start with a hashmark ("#") are fully ignored. If a line contains no keyword it is treated like a comment.

Otherwise the number behind the keyword is copied into an internal variable or a flag is set. This implies, that there are two types of keywords, so called number-keywords and flag-keywords. Number-keywords need to be combined with a number, flag-keywords have just to be there to set something. All names of the number-keywords correspond to parameters of the shell generator.

Number-keywords contain a ":" to remind you to write a number behind them. Flag-keywords are written in capital letters.

Keywords to change the so called "angular parameters" are "alpha:", "beta:", "phi:", "omega:", "my:".

Keywords to change the "linear parameters" are "A:", "a:", "b:".

Keywords for "dimension parameters" are "Scale:", "smin:", "smax", "sd:", "omin:", "omax:", "od:".

The keywords for nodule 1 are: "P:", "L:", "W1:", "W2:", "N:".

Nodule 2: "P2:", "L2:", "W12:", "W22:", "N2:", "Off2:".

Nodule 3: "P3:", "L3:", "W13:", "W23:", "N3:", "Off3:".

Keywords for wall thickness: "wall:" and "wlen:"

For an exact description of the parameters read section Parameters.

Keywords for switching output formats are "RPL", "T3D", "RAW", "X3D", "BEZ", "RIB", "SCD", "SCB", "TSP", "DXF", "DXC", "DXP". See section Output Formats for more information regarding the formats.

Keywords for special calculation modi are "NORMAL", "NODULE", "Scano:", "Hdo:", "Scans:", "Hds:", "GCURVE", "GCx:", "GCy:". See section Calculation Modi for more information.

Some remarks: Everything is case sensitive ("rpl" is not the same as "RPL")! Double use of the same keyword causes an overwriting of the last set value. Only one keyword per line is allowed. Maximum line length is 255 characters.


Next Previous Contents