Synopsis
PDX_MSGT jint_JTToGDX2(long option, char *jtFile, int gdxModel, char *configFile, int lod, char *mapFile, long ppirOptions)
Purpose
Map JT to GDX
Description
The vertices of each JtkShape in the specified lod will be used to create GDX entities. If the JtkShape is of type JtkTRISTRIPSET a gdx poly shell will be created. Since each vertex in the tristrip has its own normal, the average of all 3 normals will be used to determine the created polygon normal. If the JtkShape is of type JtkPOINTSET a single point gdx polyline will be created. If the JtkShape is of type JtkLINESTRIPSET a multi-point gdx polyline will be created. Other types of JtkShape are not supported at this time. If the JT file contains assembly information, the structure will be maintained and mapped to gdx components. In addition to the tessellation information, the parasolid BREP data map be mapped if the mapFile is specified with the appropriate option. If the JINT_BREP_OR_FACETS option is specified, the BREP data will be mapped first and if not found, the facetted data will be mapped.
Input
option
JINT_OUTPUT_PROGRESS
Print processing information
JINT_FACETS_ONLY
Map facets only
JINT_BREP_ONLY
Map BREP only
JINT_BREP_OR_FACETS
Map BREP or facets
JINT_PMI
Map PMI
JINT_WIREFRAME
Map wireframe (curves and points)
jtFile
Name of JT file to read
gdxModel
GDX model to write
configFile
Name of configuration file or NULL
lod
Level of detail to process (1 being the most detailed)
mapFile
Parasolid to GDX map file
ppirOptions
PPIR options
Return
Error code or JINT_NOERR