unreal.DatasmithRetessellationOptions

class unreal.DatasmithRetessellationOptions(chord_tolerance=0.2, max_edge_length=0.0, normal_tolerance=20.0, stitching_technique=DatasmithCADStitchingTechnique.STITCHING_SEW, retessellation_rule=DatasmithCADRetessellationRule.ALL)

Bases: unreal.DatasmithTessellationOptions

Datasmith Retessellation Options

C++ Source:

  • Plugin: DatasmithContent

  • Module: DatasmithContent

  • File: DatasmithImportOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • chord_tolerance (float): [Read-Write] Maximum distance between any generated triangle and the original surface. Smaller values make more triangles.

  • max_edge_length (float): [Read-Write] Maximum length of any edge in the generated triangles. Smaller values make more triangles.

  • normal_tolerance (float): [Read-Write] Maximum angle between adjacent triangles. Smaller values make more triangles.

  • retessellation_rule (DatasmithCADRetessellationRule): [Read-Write] Regenerate deleted surfaces during retesselate or ignore them

  • stitching_technique (DatasmithCADStitchingTechnique): [Read-Write] Stitching technique applied on model before tessellation. Sewing could impact number of objects.

property retessellation_rule

[Read-Write] Regenerate deleted surfaces during retesselate or ignore them

Type

(DatasmithCADRetessellationRule)