Skip to main content

generateBentArrow

Callable


  • Generate a bent arrow for multi-flight stairs (L-shaped, U-shaped) Creates a path following the connected flights with landings


    Parameters

    • group: FlightData[]

      Array of connected flights (sorted lowest to highest)

    • cutHeight: number

      Height of the section cut

    • viewDir: Vec3

      View direction (typically down: [0, -1, 0])

    • optionallimits: ArrowLengthLimits

    Returns Vec3[][]

    Array of polylines (shaft + two arrowhead wings)