Bitbybit Docs
    Preparing search index...

    Class DropletsPhoneHolderDto (Things.LaserCutting.Gadgets.DropletsPhoneHolder)

    Parameters of things.laserCutting.gadgets.dropletsPhoneHolder.create. The phone and stand values size the three parts, the texts, logo and patterns decorate them, the include flags choose the model and the flat drawings, and rotation, direction, origin and scale place the result.

    Implements

    Index

    Constructors

    • Parameters

      • Optionaltitle: string
      • Optionalsubtitle: string
      • OptionalincludeLogo: boolean
      • Optionalthickness: number
      • Optionalkerf: number
      • OptionalphoneWidth: number
      • OptionalphoneHeight: number
      • OptionalphoneThickness: number
      • OptionalbackLength: number
      • Optionalangle: number
      • OptionaloffsetAroundPhone: number
      • OptionalpenShelf: number
      • OptionalphoneLockHeight: number
      • OptionalfilletRadius: number
      • OptionalincludePattern: boolean
      • OptionaldensityPattern: number
      • OptionalholesForWire: boolean
      • OptionalwireInputThickness: number
      • OptionalincludeModel: boolean
      • OptionalincludeDrawings: boolean
      • OptionalspacingDrawings: number
      • Optionalrotation: number
      • Optionalorigin: Bit.Inputs.Base.Point3
      • Optionaldirection: Bit.Inputs.Base.Point3
      • Optionalscale: Vector3

      Returns DropletsPhoneHolderDto

    Properties

    title: string

    Text engraved on the front panel in larger letters. It is scaled down to fit the width; empty leaves it out.

    Your Name
    
    subtitle: string

    Text engraved below the title in smaller letters. It is scaled down to fit the width; empty leaves it out.

    And Message
    
    includeLogo: boolean

    When true, the logo outline is cut into the top of the back and "BITBYBIT.DEV" is engraved next to it.

    true
    
    thickness: number

    Thickness of the sheet the parts are cut from, in model units. It also sets the width of the slots.

    0.4
    

    0

    Infinity

    0.1

    kerf: number

    Allowance added to the slots so the parts still fit after the laser burns away its cut width, in model units.

    0.01
    

    0

    Infinity

    0.001

    phoneWidth: number

    Width of the phone, in model units. Values under 4 are treated as 4.

    8
    

    4

    Infinity

    0.1

    phoneHeight: number

    Height of the phone, in model units. Values under 4 are treated as 4.

    16
    

    4

    Infinity

    0.1

    phoneThickness: number

    Thickness of the phone, in model units. The gap between the back and the lip fits it.

    1
    

    0

    Infinity

    0.1

    backLength: number

    Length, in model units, that together with angle sets how deep the stand is and how high the back reaches.

    10
    

    5

    Infinity

    0.1

    angle: number

    How far the back leans, in degrees. Values under 10 are treated as 10.

    20
    

    0

    60

    1

    offsetAroundPhone: number

    Margin added on each side of the phone and above it, in model units.

    0.5
    

    0

    Infinity

    0.1

    penShelf: number

    Depth of the shelf in front of the phone that can hold a pen, in model units.

    1
    

    0.5

    Infinity

    0.1

    phoneLockHeight: number

    Height of the front lip that stops the phone from sliding off, in model units. It is at least filletRadius.

    2
    

    0.5

    Infinity

    0.1

    filletRadius: number

    Radius that rounds the corners of the parts, in model units.

    0.3
    

    0.1

    0.4

    0.1

    includePattern: boolean

    When true, a pattern of rounded rectangular holes is cut into the back and the base. The holes are picked at random, so two builds differ.

    false
    
    densityPattern: number

    Cell size of the hole pattern, in model units. A smaller value makes more, smaller holes.

    0.4
    

    0

    2

    0.1

    holesForWire: boolean

    When true, notches for a charging cable are cut into the back and the base.

    true
    
    wireInputThickness: number

    Width of the cable notches, in model units. Values under 0.65 become 0.7, and it stays below phoneWidth.

    1.5
    

    0.7

    Infinity

    0.1

    includeModel: boolean

    When true, the parts are built assembled into a 3D model.

    true
    
    includeDrawings: boolean

    When true, the flat cut and engraving outlines of every part are built, laid out beside the model.

    true
    
    spacingDrawings: number

    Gap between the laid-out flat drawings, and between them and the model, in model units.

    0.5
    

    0

    Infinity

    0.1

    rotation: number

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

    0
    

    0

    Infinity

    10

    Point the result is moved to.

    [0, 0, 0]
    
    direction: Bit.Inputs.Base.Point3

    Direction the result's up axis points along after placement. The default keeps Y up.

    [0, 1, 0]
    
    scale: Vector3

    Scale factor along X, Y and Z, applied around origin after placement. 1 keeps the size, so a laser cutter gets the sizes as given.

    [1, 1, 1]