bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class FaceSubdivideToHexagonWiresDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalnrHexagonsU: number
      • OptionalnrHexagonsV: number
      • OptionalflatU: boolean
      • OptionalscalePatternU: number[]
      • OptionalscalePatternV: number[]
      • OptionalfilletPattern: number[]
      • OptionalinclusionPattern: boolean[]
      • OptionaloffsetFromBorderU: number
      • OptionaloffsetFromBorderV: number
      • OptionalextendUUp: boolean
      • OptionalextendUBottom: boolean
      • OptionalextendVUp: boolean
      • OptionalextendVBottom: boolean

      Returns FaceSubdivideToHexagonWiresDto<T>

    Properties

    shape?: T

    Openascade Face

    undefined
    
    nrHexagonsU?: number

    Number of hexagons on U direction

    10
    

    1

    Infinity

    1

    nrHexagonsV?: number

    Number of hexagons on V direction

    10
    

    1

    Infinity

    1

    flatU: boolean
    scalePatternU?: number[]

    Hexagon scale pattern on u direction - numbers between 0 and 1, if 1 or undefined is used, no scaling is applied

    undefined
    

    true

    scalePatternV?: number[]

    Hexagon scale pattern on v direction - numbers between 0 and 1, if 1 or undefined is used, no scaling is applied

    undefined
    

    true

    filletPattern?: number[]

    Hexagon fillet scale pattern - numbers between 0 and 1, if 0 is used, no fillet is applied, if 1 is used, the fillet will be exactly half of the length of the shortest segment of the hexagon

    undefined
    

    true

    inclusionPattern?: boolean[]

    Hexagon inclusion pattern - true means that the hexagon will be included, false means that the hexagon will be removed from the face

    undefined
    

    true

    offsetFromBorderU?: number

    If offset on U is bigger then 0 we will use a smaller space for hexagons to be placed. This means that even hexagon of U param 1 will be offset from the face border That is often required to create a pattern that is not too close to the face border It should not be bigger then half of the total width of the face as that will create problems

    0
    

    0

    0.5

    0.01

    offsetFromBorderV?: number

    If offset on V is bigger then 0 we will use a smaller space for hexagons to be placed. This means that even hexagon of V param 1 will be offset from the face border That is often required to create a pattern that is not too close to the face border It should not be bigger then half of the total width of the face as that will create problems

    0
    

    0

    0.5

    0.01

    extendUUp?: boolean

    If true, we will extend the hexagons beyond the face u up border by their pointy tops

    false
    
    extendUBottom?: boolean

    If true, we will extend the hexagons beyond the face u bottom border by their pointy tops

    false
    
    extendVUp?: boolean

    If true, we will extend the hexagons beyond the face v upper border by their half width

    false
    
    extendVBottom?: boolean

    If true, we will extend the hexagons beyond the face v bottom border by their half width

    false