Bitbybit Docs
    Preparing search index...

    Class PhoneNestDto (Things.ThreeDPrinting.Desktop.PhoneNest)

    Parameters of things.threeDPrinting.desktop.phoneNest.create. The heights, widths, depth and offset shape the stand, the phone sizes set the ledge and the phone stand-in, and rotation, scale, direction and origin place the result.

    Implements

    Index

    Constructors

    • Parameters

      • OptionalheightBottom: number
      • OptionalheightTop: number
      • OptionalwidthBack: number
      • OptionalwidthFront: number
      • Optionallength: number
      • OptionalbackOffset: number
      • Optionalthickness: number
      • OptionalapplyOrnaments: boolean
      • OptionalfilletRadius: number
      • OptionalphoneHeight: number
      • OptionalphoneWidth: number
      • OptionalphoneThickness: number
      • Optionalprecision: number
      • OptionaldrawEdges: boolean
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3

      Returns PhoneNestDto

    Properties

    heightBottom: number

    Height of the stand at its front, where the ledge holds the bottom of the phone, in model units.

    5
    

    0

    Infinity

    0.01

    heightTop: number

    Height of the top of the leaning face that the phone rests against, in model units.

    16
    

    0

    Infinity

    0.1

    widthBack: number

    Width of the base at its back edge, across Z, in model units.

    25
    

    0

    Infinity

    0.1

    widthFront: number

    Width of the front, the leaning face and the ledge, across Z, in model units.

    10
    

    0

    Infinity

    0.1

    length: number

    Depth of the base from its back edge to its front, along X, in model units.

    16
    

    0

    Infinity

    0.1

    backOffset: number

    How far forward of the back edge the top of the leaning face sits, along X, in model units.

    6
    

    0

    Infinity

    0.1

    thickness: number

    Wall thickness of the shell, in model units. It also sets how far the ledge reaches out together with phoneThickness.

    0.4
    

    0.01

    Infinity

    0.01

    applyOrnaments: boolean

    When true, a pattern of small rounded openings is cut into the curved surface. The openings are picked at random, so two builds differ.

    false
    
    filletRadius: number

    Radius that rounds two of the bends in the stand's profile, in model units. The bend at the ledge is rounded by a radius set from thickness instead.

    2
    

    0.001

    Infinity

    0.1

    phoneHeight: number

    Height of the phone the stand is made for, in model units; sizes the phone stand-in.

    16.8
    

    0

    Infinitypho

    0.01

    phoneWidth: number

    Width of the phone the stand is made for, in model units; sizes the phone stand-in.

    7.8
    

    0

    Infinity

    0.01

    phoneThickness: number

    Thickness of the phone, in model units. The ledge is made deep enough to hold it.

    0.7
    

    0

    Infinity

    0.01

    precision: number

    Meshing precision used when the model is drawn without options, multiplied by scale. Building the shapes ignores it.

    0.01
    

    0.000001

    5

    0.001

    drawEdges: boolean

    Whether edges are drawn when the model is drawn without options. Building the shapes ignores it.

    true
    
    rotation: number

    Turn of the model around the Y axis, in degrees, applied before it is aligned to direction and moved to origin.

    0
    

    0

    Infinity

    10

    scale: number

    Uniform scale factor, applied around origin after the model is placed. Drawing without options also multiplies the edge width and precision by it.

    1
    

    0

    Infinity

    Point the center of the stand's base is moved to.

    [0, 0, 0]
    
    direction: Vector3

    Direction the model's up axis points along after placement. The default keeps it upright along Y.

    [0, 1, 0]