Hide menu
Loading...
Searching...
No Matches
Remeshing Example

Table of Contents

Force usage of specific mesh for export or further processing.

Description

This example shows how to force CAD Exchanger to use specific polygonal representation of the model. This might be useful if you have a model with polygonal representations (e.g. from JT, NX or SolidWorks) but none of them is quite good enough - either because of low quality, or because of missing features, appearances, etc. It also might be useful if there are way too many polygonal representations and the selection of the required one with Base_WriterParameters::PreferredLOD() is not possible.

The example works by traversing the model and replacing all the parts with their copies but without any polygonal representations. After that the new polygonal representation with the desired qualities is created from BRep representation.

Usage

You can try this example with the following model:

./examples/models/CAPACITOR.SLDPRT

Files