Bitbybit Docs
    Preparing search index...

    Class ExpansionDto (Inputs.JSCAD)

    Feeds expansions.expand and expansions.offset: the geometry, the signed distance to move its boundary by and how the corners are shaped on the way.

    Index

    Constructors

    Properties

    Constructors

    Properties

    geometry: JSCADEntity

    The 2D shape, path or solid to grow; offset takes 2D shapes and paths only. 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 (a solid accepts positive only)

    0.1
    

    -Infinity

    Infinity

    0.1

    How a convex corner is shaped: edge keeps it sharp, chamfer cuts it flat, round curves it; a solid accepts round only

    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