Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • FaceSubdivideToHexagonWiresDto

Index

Constructors

constructor

  • new FaceSubdivideToHexagonWiresDto<T>(shape?: T, nrHexagonsU?: number, nrHexagonsV?: number, flatU?: boolean, scalePatternU?: number[], scalePatternV?: number[], filletPattern?: number[], inclusionPattern?: boolean[], offsetFromBorderU?: number, offsetFromBorderV?: number, extendUUp?: boolean, extendUBottom?: boolean, extendVUp?: boolean, extendVBottom?: boolean): FaceSubdivideToHexagonWiresDto<T>
  • Provide options without default values

    Type parameters

    • T

    Parameters

    • Optional shape: T
    • Optional nrHexagonsU: number
    • Optional nrHexagonsV: number
    • Optional flatU: boolean
    • Optional scalePatternU: number[]
    • Optional scalePatternV: number[]
    • Optional filletPattern: number[]
    • Optional inclusionPattern: boolean[]
    • Optional offsetFromBorderU: number
    • Optional offsetFromBorderV: number
    • Optional extendUUp: boolean
    • Optional extendUBottom: boolean
    • Optional extendVUp: boolean
    • Optional extendVBottom: boolean

    Returns FaceSubdivideToHexagonWiresDto<T>

Properties

Optional extendUBottom

extendUBottom: boolean

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

default

false

Optional extendUUp

extendUUp: boolean

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

default

false

Optional extendVBottom

extendVBottom: boolean

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

default

false

Optional extendVUp

extendVUp: boolean

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

default

false

Optional filletPattern

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

default

undefined

optional

true

flatU

flatU: boolean

Optional inclusionPattern

inclusionPattern: boolean[]

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

default

undefined

optional

true

Optional nrHexagonsU

nrHexagonsU: number

Number of hexagons on U direction

default

10

minimum

1

maximum

Infinity

step

1

Optional nrHexagonsV

nrHexagonsV: number

Number of hexagons on V direction

default

10

minimum

1

maximum

Infinity

step

1

Optional offsetFromBorderU

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

default

0

minimum

0

maximum

0.5

step

0.01

Optional offsetFromBorderV

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

default

0

minimum

0

maximum

0.5

step

0.01

Optional scalePatternU

scalePatternU: number[]

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

default

undefined

optional

true

Optional scalePatternV

scalePatternV: number[]

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

default

undefined

optional

true

Optional shape

shape: T

Openascade Face

default

undefined

Generated using TypeDoc