Bitbybit Docs
    Preparing search index...

    Class RecipeSurfaceMeshesDtoBeta (Inputs.Manifold)

    A recipe for recipes.surfaceMeshes, which gives the roots made of triangle meshes alone as meshes, with which roots to read and whether Z turns into Y. Experimental: the recipe format may still change.

    Index

    Constructors

    Properties

    Constructors

    • Beta

      Parameters

      • Optionalrecipe: Recipe
      • Optionalroots: number[]
      • OptionaladjustZtoY: boolean

      Returns RecipeSurfaceMeshesDto

    Properties

    recipe: Recipe

    The recipe: steps such as polygons, extrusions and triangle meshes, and the roots to build from them, as a package that describes geometry as data writes it.

    undefined
    
    roots?: number[]

    The positions of the roots to read, such as the ones recipes.build gave back empty; every root when left out.

    undefined
    

    true

    adjustZtoY?: boolean

    When true, each mesh turns a quarter turn about X so the recipe's Z points along Y, as recipes.build turns its solids: (x, y, z) becomes (x, z, -y).

    false