Adapt and replace all B-rep in model file
Functions | |
A3DStatus | A3DAdaptAndReplaceAllBrepInModelFile (A3DAsmModelFile *p, const A3DCopyAndAdaptBrepModelData *psSetting) |
Entity Convert to NURBS facility. More... | |
Detailed Description
Function Documentation
A3DStatus A3DAdaptAndReplaceAllBrepInModelFile | ( | A3DAsmModelFile * | p, |
const A3DCopyAndAdaptBrepModelData * | psSetting | ||
) |
Entity Convert to NURBS facility.
This function allows to adapt all Brep in a Model File to the customers' need. It allows to transform predetermined type of surface and curves as NURBS. It allows to compute parametric curves or/and 3D curves, split periodicals surfaces... Finally, It creates a new BrepModel. After using it, it should be delete using FreeBrepModel.
The list of steps is following; these steps are performed according to A3DCopyAndAdaptBrepModelData:
- For each face, the bearing surface is converted and then the 3D curves that are present,
- Surfaces are shrinked,
- Cross-period UV curves are deleted if needed,
- Faces are split at periodic seams and/or mid-parameter for closed surfaces,
- Final UV curves are computed,
- A second surface shrink is performed with new UVs,
- Final 3D curves are computed.
- Version
- 5.2
- Note
- When the function A3AdaptAndReplaceAllBrepInModelFile returns an error, you may try to set the parameters m_bSplitFaces and/or m_bForceComputeUV to false and retry the conversion.