Synopsis
PDX_MSGT jint_JTToGDX3(long option, char *jtFile, char *configFile, int lod, long ppirOptions, MAP_INFO *mapInfo)
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)
JINT_MAKE_MANIFOLD_BODIES
Split general bodies into manifold bodies
JINT_SKIP_GENERAL_BODIES
Skip processing of general bodies
JINT_SEMANTIC_PMI
Map semantic PMI
JINT_JTBREP_DIRECT_GDX
Map JT Brep directly to GDX
jtFile
Name of JT file to read
configFile
Name of configuration file or NULL
lod
Level of detail to process (1 being the most detailed)
ppirOptions
PPIR options
mapInfo
Mapping info structure
Return
Error code or JINT_NOERR