unreal.DatasmithTessellationOptions

class unreal.DatasmithTessellationOptions(chord_tolerance: float = 0.0, max_edge_length: float = 0.0, normal_tolerance: float = 0.0, stitching_technique: DatasmithCADStitchingTechnique = Ellipsis)

Bases: StructBase

Datasmith Tessellation 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.

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

property chord_tolerance: float

[Read-Write] Maximum distance between any generated triangle and the original surface. Smaller values make more triangles.

Type:

(float)

property max_edge_length: float

[Read-Write] Maximum length of any edge in the generated triangles. Smaller values make more triangles.

Type:

(float)

property normal_tolerance: float

[Read-Write] Maximum angle between adjacent triangles. Smaller values make more triangles.

Type:

(float)

property stitching_technique: DatasmithCADStitchingTechnique

[Read-Write] Stitching technique applied on model before tessellation. Sewing could impact number of objects.

Type:

(DatasmithCADStitchingTechnique)