Hierarchy

  • Make

Constructors

Properties

LAYOUT2D_BOX_DEFAULT_FITTING_MARGIN_SIZE: number = 5
stats: MakeStats

Methods

  • Find a 2D strut length and angle that exactly fits diagonally in given space NOTE: It's easy to see how it works if you consider the special circumstances of width=spaceWidth, width=spaceHeight and angle(spaceWidth,spaceHeight) = 45 deg

    Parameters

    • width: number
    • space: number[]
    • withSpace: boolean = false

    Returns ShapeCollection | Face

Generated using TypeDoc