Navigation
API > API/Plugins > API/Plugins/ParametricSurface
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
| Name | FCADModelGeometry |
| Type | struct |
| Header File | /Engine/Plugins/Enterprise/DatasmithCADImporter/Source/ParametricSurface/Public/CADModelConverter.h |
| Include Path | #include "CADModelConverter.h" |
Syntax
struct FCADModelGeometry
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Type | int32 | CADModelConverter.h |