unreal.DatasmithTessellationOptions

class unreal.DatasmithTessellationOptions(chord_tolerance=0.2, max_edge_length=0.0, normal_tolerance=20.0, stitching_technique=DatasmithCADStitchingTechnique.STITCHING_SEW)

Bases: unreal.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.
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.