Version: 
Back to list

Scenario :: runGenericProcess

Synopsis

   Automatically creates optimized meshes out of any 3D model (mesh or CAD).

GUI Dialog

   

Script function

   scenario.runGenericProcess(overrideExistingUVs, repackUVs)

Parameters

   overrideExistingUVs (Boolean) : If True, UVs for channel 0 will be recreated (algo GenerateUVonAABB , size=100)
   repackUVs (Boolean) : If True, UVs for Channel 1 will be automatically repacked. Do not use if the original UV layout is fine (meshes already properly UVed).

Documentation

About the scenario

This scenario executes a typical chain of algorithms, to transform a CAD model (made of CAD surfaces) or a Tessellated model (made of meshes) into optimized meshes, ready to be exported to a game engine or any staging tool (through FBX export for example).

About available options

Typically with a Tessellated model (mesh):

Typically with a CAD model:

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).