unreal.DatasmithCADImportOptions

class unreal.DatasmithCADImportOptions(outer=None, name='None')

Bases: unreal.Object

Datasmith CADImport Options

C++ Source:

  • Plugin: DatasmithCADImporter
  • Module: DatasmithCADImporter
  • File: DatasmithCADImportOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • export_parametric_data (bool): [Read-Write] Export parametric data to rebuild a mesh
  • find_instances (bool): [Read-Write] Enable or disable the search for instances of duplicated geometries. The search is done according to the following criteria: principal moments of inertia, OBB, surface, volume The search is disabled by default.
  • generate_feature_lines (bool): [Read-Write] Enable or disable the generation of feature lines as part of the tessellation process. The generation is enabled by default.
  • model_coord_sys (CADModelCoordSystem): [Read-Write] Coordinates system the model was created in
  • num_threads (int32): [Read-Write] Maximum number of parallel file loadings
  • partition_policy (CADPartitionedMeshPolicy): [Read-Write] Policy on how to handle partitions within meshes when available
  • rebuild_topo (bool): [Read-Write] Enable or disable rebuilding the topology. The use is enabled by default.
  • remove_empty_objects (bool): [Read-Write] Enable or disable the removal of empty object during cleaning phase. The removal is enabled by default.
  • skip_mesh_tessellation (bool): [Read-Write] Skip tessellation of mesh on load
  • use_delta_mesh (bool): [Read-Write] Enable or disable the use of DeltaMesh. The use is enabled by default.
  • uv_generation (CADUVGeneration): [Read-Write] Policy on how to handle UVs for meshes
  • uv_generation_type (DatasmithGPureUVGenerationMethod): [Read-Write] Algorithm to use to generate UVs
find_instances

(bool) – [Read-Write] Enable or disable the search for instances of duplicated geometries. The search is done according to the following criteria: principal moments of inertia, OBB, surface, volume The search is disabled by default.

model_coord_sys

(CADModelCoordSystem) – [Read-Write] Coordinates system the model was created in

num_threads

(int32) – [Read-Write] Maximum number of parallel file loadings

use_delta_mesh

(bool) – [Read-Write] Enable or disable the use of DeltaMesh. The use is enabled by default.

uv_generation

(CADUVGeneration) – [Read-Write] Policy on how to handle UVs for meshes