Bitbybit Docs
    Preparing search index...

    Class DecomposeManifoldsOrCrossSectionsDto<T> (Inputs.Manifold)

    Several solids or cross-sections and optional normal channels for decomposeManifoldsOrCrossSections.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • OptionalmanifoldsOrCrossSections: T[]
      • OptionalnormalIdx: number[]
      • OptionalminSharpAngle: number

      Returns DecomposeManifoldsOrCrossSectionsDto<T>

    Properties

    manifoldsOrCrossSections: T[]

    The solids or cross-sections to turn into plain data, one result each.

    normalIdx?: number[]

    One normal channel per shape, for the solids that carry normals.

    true

    minSharpAngle?: number

    When given, each solid's mesh carries normals after its positions, and edges sharper than this, in degrees, keep a normal on each side; 0 shades every face flat.

    undefined
    

    true

    0

    180

    5