Bitbybit Docs
    Preparing search index...

    Class ExpansionDto (Inputs.JSCAD)

    Feeds expansions.offset: the 2D shape or path, the signed distance to build its outline at and how the corners are shaped, kept sharp unless corners says otherwise.

    Index

    Constructors

    Properties

    geometry: JSCADEntity

    The 2D shape or path to outline; it stays as it is and a new entity comes back

    undefined
    
    delta?: number

    How far the boundary moves, in model units: positive grows the geometry, negative shrinks it

    0.1
    

    -Infinity

    Infinity

    0.1

    How a convex corner is shaped: edge keeps it sharp, chamfer cuts it flat, round curves it with segments pieces

    edge
    
    segments?: number

    Number of straight pieces a round corner is made of over a full circle; more makes it smoother

    24
    

    0

    Infinity

    1