In the Generate Phantom Mesh scenario, the main following steps are executed:

  • If the scene contains CAD surfaces, meshes are created out of them. After this step, the scene contains only meshes
  • A decimation is run to decrease the polygon count of the meshes in the scene, whilst preserving a good visual aspect
  • Non-visible polygons are automatically removed (algo Hidden Removal)
  • Holes under 15-millimeter diameter are removed (algo Defeature)
  • All meshes are merged together to obtain a single mesh (algo Merge Parts)
  • According to the chosen option, material will be handled differently

About Material options

The scenario maintains visual aspect (diffuse color).

By default (option "Generate Diffuse Map" = No), the resulting phantom mesh has no material applied in its Material Property (Part or Occurence): a sub-material is applied on each patch of the mesh (or sub-mesh).

Basically the result is: 1 mesh + materials on patches.

Selecting "Generate Diffuse Map" option automatically calculates a diffuse texture map out of the color aspect of the original parts (baking based on UVs automatically generated).

A material, using the generated diffuse map, is automatically applied to the resulting phantom mesh in its Part "Material" property.

Basically, the result is: 1 mesh + [1 material + 1 diffuse map].

To go further

Refer to the Output window to check all the algorithms applied step-by-step during scenario execution.

Build and execute your own script by checking the equivalent Python script available in the "Sample Script Directory" (accessible from the Help menu).