Synopsis
PDX_MSGT gdx_SolidConvertToNurbSolid(long option, MDA_PTR gdx_solid_ptr)
Purpose
Convert all faces containing non nurb surfaces and curves to nurb surfaces and curves.
Description
Cycle the faces in a solid and convert them to nurbs. This is done by converting the surface to a nurb, and then cycling the loops. At the edge curve level, the model and parm curves are also converted to nurbs. If any entity was already a nurb, it is not modified. When a surface is converted to nurbs, the parm curves are deleted. As a result, the output solid may not have parm curves.
Input
option
GDX_MODELONLY
Converts only the model space curves to nurbs
GDX_PARMONLY
Converts only the parm space curves to nurbs
GDX_SPLINEONLY
Converts only the spline curves/surfaces to nurbs
GDX_KEEP_OFFSET
Do not convert offset surfaces to nurbs
GDX_KEEP_PLANE
Do not convert planar surfaces to nurbs
GDX_KEEP_CYLINDER
Do not convert cylinder surfaces to nurbs
GDX_KEEP_CONE
Do not convert conical surfaces to nurbs
GDX_KEEP_EXT_SURF
Do not convert extruded surfaces to nurbs
GDX_KEEP_REV_SURF
Do not convert revolved surfaces to nurbs
GDX_KEEP_RULED_SURF
Do not convert ruled surfaces to nurbs
GDX_KEEP_SPHERE
Do not convert spherical surfaces to nurbs
GDX_KEEP_TORUS
Do not convert toroidalsurfaces to nurbs
gdx_solid_ptr
The database pointer for the GDX solid entity
Output
gdx_solid_ptr
The database pointer for the GDX solid entity
Tolerances
MODEL_SPACE_PNT_TOL
PARM_SPACE_PNT_TOL
.fi
Return
GDX_NOERR
GDX_INVALIDMODEL
Low level error return
.fi