STL Stereolithography 3D Mesh Export Automation Options

Since the Export Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various import options. A typical example would be:

"Defaults=1, HeightScale=1.5, BlankHeight=70,EnableFloor=0"

This would first set the options to their default values, then scale the grid Z values by 150% and remove the model floor from the output file.

Option

Action

Description

Default

HeightModePercent

0 = False

1 = True

1 makes the HeightScale value a percentage of the model's maximum horizontal extent, which is typically the longest diagonal. 0 makes the HeightScale value a scaling factor to apply to Z values.

0

HeightScale

N

Value by which to multiply the grid Z values and BlankHeight before exporting to the STL 3D model when HeightModePercent = 0. Value is the maximum height of the model described as a percentage of the model's diagonal length when HeightModePercent = 1.

1

BlankHeight

N

Remap NoData grid nodes to the specified value.

0

FloorHeight

N

Specify the model floor height.

0

EnableWalls

0 = Disable walls

1 = Enable walls

Set to 1 to include walls in the STL 3D model. Set to 0 to exclude walls from the model.

1

EnableFloor

0 = Disable floor

1 = Enable floor

Set to 1 to include a floor in the STL 3D model. Set to 0 to exclude the floor from the model.

1

WriteBinary

0 = ASCII format

1 = binary format

Set to 0 to write to the ASCII STL file format. Set to 1 to write to the binary STL file format.

0

See Also

STL STereoLithography 3D Mesh File Description

STL Export Options Dialog