Bitbybit Docs
    Preparing search index...

    Class BuildRecipeDtoBeta (Inputs.OCCT)

    A recipe for recipes.build, with whether Z turns into Y, whether a root that cannot be built stops the build, and how large a triangle mesh is built. Experimental: the recipe format may still change.

    Index

    Constructors

    • Beta

      Parameters

      • Optionalrecipe: Recipe
      • OptionaladjustZtoY: boolean
      • OptionalemptyWhenFailed: boolean
      • OptionalfacetedMeshes: boolean
      • OptionalmaxTriangles: number

      Returns Bit.Inputs.OCCT.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
    
    adjustZtoY?: boolean

    When true, each shape 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 comes back as an empty compound and an opening that cannot is left uncut; when false, either stops the build.

    false
    
    facetedMeshes?: boolean

    When true, triangle meshes become faceted solids, flat faces that cut and fillet like any shape; when false they keep their triangles, which draw, measure and export to STEP faster.

    false
    
    maxTriangles?: number

    The most triangles a mesh built as a faceted solid may hold; a larger one is not built and counts as a step that failed.

    100000
    

    0

    Infinity

    10000