Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • FaceSubdivideToRectangleHolesDto

Index

Constructors

constructor

  • new FaceSubdivideToRectangleHolesDto<T>(shape?: T, nrRectanglesU?: number, nrRectanglesV?: number, scalePatternU?: number[], scalePatternV?: number[], filletPattern?: number[], inclusionPattern?: boolean[], holesToFaces?: boolean, offsetFromBorderU?: number, offsetFromBorderV?: number): FaceSubdivideToRectangleHolesDto<T>
  • Provide options without default values

    Type parameters

    • T

    Parameters

    • Optional shape: T
    • Optional nrRectanglesU: number
    • Optional nrRectanglesV: number
    • Optional scalePatternU: number[]
    • Optional scalePatternV: number[]
    • Optional filletPattern: number[]
    • Optional inclusionPattern: boolean[]
    • Optional holesToFaces: boolean
    • Optional offsetFromBorderU: number
    • Optional offsetFromBorderV: number

    Returns FaceSubdivideToRectangleHolesDto<T>

Properties

filletPattern

filletPattern: number[]

Rectangle 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 shorter side of the rectangle

default

undefined

optional

true

holesToFaces

holesToFaces: boolean

If true, we will also output the faces for all the rectangles. The first face in the result will be the original face with holes punched, while the rest will be the rectangles

default

false

inclusionPattern

inclusionPattern: boolean[]

Rectangle inclusion pattern - true means that the rectangle will be included, false means that the rectangle will be removed from the face

default

undefined

optional

true

nrRectanglesU

nrRectanglesU: number

Number of rectangles on U direction

default

10

minimum

1

maximum

Infinity

step

1

nrRectanglesV

nrRectanglesV: number

Number of rectangles on V direction

default

10

minimum

1

maximum

Infinity

step

1

offsetFromBorderU

offsetFromBorderU: number

If offset on U is bigger then 0 we will use a smaller space for rectangles to be placed. This means that even rectangle 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

offsetFromBorderV

offsetFromBorderV: number

If offset on V is bigger then 0 we will use a smaller space for rectangles to be placed. This means that even rectangle 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

scalePatternU

scalePatternU: number[]

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

default

undefined

optional

true

scalePatternV

scalePatternV: number[]

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

default

undefined

optional

true

shape

shape: T

Openascade Face

default

undefined

Generated using TypeDoc