Bitbybit Docs
    Preparing search index...

    Class BuildRecipeDtoBeta (Inputs.Manifold)

    A recipe for recipes.build, which builds each of its roots as a solid, with how finely circles are divided and whether Z turns into Y. Experimental: the recipe format may still change.

    Index

    Constructors

    • Beta

      Parameters

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

      Returns Bit.Inputs.Manifold.BuildRecipeDto

    Properties

    recipe: Recipe

    The recipe: steps such as polygons, extrusions and cuts, and the roots to build 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. The recipe leaves this to the kernel, so it is chosen here.

    32
    

    3

    Infinity

    1

    adjustZtoY?: boolean

    When true, each solid 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, such as an open mesh, comes back empty, and an opening that cannot is left uncut; when false, both stop the build.

    false