Navigation
API > API/Plugins > API/Plugins/ParametricSurface
Inheritance Hierarchy
- ICADModelConverter
- FCADModelToCADKernelConverterBase
- FCADModelToTechSoftConverterBase
References
| Module | ParametricSurface |
| Header | /Engine/Plugins/Enterprise/DatasmithCADImporter/Source/ParametricSurface/Public/CADModelConverter.h |
| Include | #include "CADModelConverter.h" |
Syntax
class ICADModelConverter
Remarks
Interface to convert CAD Model (like Alias, Rhino, ...) into the internal CAD Modeler (CADKernel, ...) The derived class must also implement IAddXXXBrepModel according to the CAD model (IAddAliasBrepModel, IAddRhinoBrepModel, ...) The derived class is instantiated for an import session. It processes a subset of the model corresponding to a static mesh actor. The main step of the process is:
- InitializeProcess
- Fill the modeler database with the subset of the model:
- this step is done with AddBRep function of the format interface (IAddAliasBrepModel, IAddRhinoBrepModel)
- many bodies can be added to the model to generate only one static mesh actor
- RepairTopology if needed
- SaveBrep(const FString& FilePath) for retessellate purpose
- Tessellate
In a second step, the saved file is associated to its UStaticMesh with AddSurfaceDataForMesh function
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSurfaceDataForMesh
(
const TCHAR* InFilePath, |
||
| void | |||
| bool | |||
| bool | |||
| bool | SaveModel
(
const TCHAR* OutputPath, |
||
| void | SetImportParameters
(
double ChordTolerance, |
Set Import parameters, Tack care to set scale factor before because import parameters will be scale according to scale factor | |
| bool | Tessellate
(
const CADLibrary::FMeshParameters& InMeshParameters, |