Bitbybit Docs
    Preparing search index...

    Class BuildRecipeMeshesDtoBeta (Inputs.Manifold)

    A recipe for recipes.meshes, which gives the meshes its roots draw, with how finely circles are divided, whether Z turns into Y, whether failures are skipped and where normals split. Experimental: the recipe format may still change.

    Index

    Constructors

    • Beta

      Parameters

      • Optionalrecipe: Recipe
      • OptionalcircularSegments: number
      • OptionaladjustZtoY: boolean
      • OptionalemptyWhenFailed: boolean
      • OptionalminSharpAngle: number

      Returns BuildRecipeMeshesDto

    Properties

    recipe: Recipe

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

    undefined
    
    circularSegments?: number

    How many flat sides each circle of the recipe is divided into; more is rounder.

    32
    

    3

    Infinity

    1

    adjustZtoY?: boolean

    When true, every placement turns a quarter turn about X so the recipe's Z points along Y, which is up when drawn: (x, y, z) becomes (x, z, -y).

    false
    
    emptyWhenFailed?: boolean

    When true, a root that cannot be built draws as its surface if it is triangles alone, else draws nothing; when false, it stops the build.

    false
    
    minSharpAngle?: number

    Edges sharper than this, in degrees, keep a normal on each side; 0 shades every face flat.

    40
    

    0

    180

    5