# Synopsis

PDX_MSGT gdx_WriteSTL(long option, int gdxModel, const char *stlFileName)

# Purpose

Convert GDX to STL (binary)

# Description

Read the specified GDX file and map tessellated shape entities to STL triangle definitions. The created STL file will be the binary representation. Color is supported using the Magics convention for RGB values on each triangle.

# Input

## option

Options (not used)

## gdxModel

GDX model to process

## stlFileName

STL file name to write

# Return

GDX_NOERR or error