Bitbybit Docs
    Preparing search index...

    Class RoundedCuboidCentersDto (Inputs.JSCAD)

    Feeds shapes.roundedCuboidsOnCenterPoints: one rounded box of the same sizes and rounding on every center point, coming back in the same order.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalcenters: Point3[]
      • OptionalroundRadius: number
      • Optionalwidth: number
      • Optionallength: number
      • Optionalheight: number
      • Optionalsegments: number

      Returns RoundedCuboidCentersDto

    Properties

    roundRadius?: number

    Radius of the rounding on every edge, in model units; it must be less than half of the smallest side or an error is thrown

    0.1
    

    0

    Infinity

    0.1

    width?: number

    Full size along X, in model units, rounding included

    1
    

    0

    Infinity

    0.1

    length?: number

    Full size along Z, in model units, rounding included

    1
    

    0

    Infinity

    0.1

    height?: number

    Full size along Y, in model units, rounding included

    1
    

    0

    Infinity

    0.1

    segments?: number

    Number of straight pieces a full circle of rounding is made of; more makes the edges smoother

    24
    

    4

    Infinity

    1

    centers: Point3[]

    The points the boxes are centered on, one box each, in the order the results come back

    undefined