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.

    Index

    Constructors

    • Parameters

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

      Returns RoundedCuboidCentersDto

    Properties

    centers: Point3[]

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

    undefined
    
    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 of every box along X, in model units, rounding included

    1
    

    0

    Infinity

    0.1

    length: number

    Full size of every box along Z, in model units, rounding included

    1
    

    0

    Infinity

    0.1

    height: number

    Full size of every box 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
    

    0

    Infinity

    1