Class: CompoundBlueprint
Implements
Constructors
constructor
• new CompoundBlueprint(blueprints
)
Parameters
Name | Type |
---|---|
blueprints | Blueprint [] |
Defined in
blueprints/CompoundBlueprint.ts:17
Properties
blueprints
• blueprints: Blueprint
[]
Defined in
blueprints/CompoundBlueprint.ts:14
Accessors
boundingBox
• get
boundingBox(): BoundingBox2d
Returns
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:26
Methods
clone
▸ clone(): CompoundBlueprint
Returns
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:22
mirror
▸ mirror(centerOrDirection
, origin?
, mode?
): CompoundBlueprint
Parameters
Name | Type |
---|---|
centerOrDirection | Point2D |
origin? | Point2D |
mode? | "center" | "plane" |
Returns
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:64
rotate
▸ rotate(angle
, center
): CompoundBlueprint
Parameters
Name | Type |
---|---|
angle | number |
center | Point2D |
Returns
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:45
scale
▸ scale(scaleFactor
, center
): CompoundBlueprint
Parameters
Name | Type |
---|---|
scaleFactor | number |
center | Point2D |
Returns
Defined in
blueprints/CompoundBlueprint.ts:51
sketchOnFace
▸ sketchOnFace(face
, scaleMode?
): CompoundSketch
Parameters
Name | Type |
---|---|
face | Face |
scaleMode? | ScaleMode |
Returns
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:85
sketchOnPlane
▸ sketchOnPlane(plane?
, origin?
): CompoundSketch
Parameters
Name | Type |
---|---|
plane? | Plane | PlaneName |
origin? | number | Point |
Returns
Implementation of
DrawingInterface.sketchOnPlane
Defined in
blueprints/CompoundBlueprint.ts:74
stretch
▸ stretch(ratio
, direction
, origin
): CompoundBlueprint
Parameters
Name | Type |
---|---|
ratio | number |
direction | Point2D |
origin | Point2D |
Returns
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:35
toSVG
▸ toSVG(margin?
): string
Parameters
Name | Type | Default value |
---|---|---|
margin | number | 1 |
Returns
string
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:105
toSVGGroup
▸ toSVGGroup(): string
Returns
string
Defined in
blueprints/CompoundBlueprint.ts:101
toSVGPaths
▸ toSVGPaths(): string
[]
Returns
string
[]
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:97
toSVGViewBox
▸ toSVGViewBox(margin?
): string
Parameters
Name | Type | Default value |
---|---|---|
margin | number | 1 |
Returns
string
Implementation of
Defined in
blueprints/CompoundBlueprint.ts:93
translate
▸ translate(xDist
, yDist
): CompoundBlueprint
Parameters
Name | Type |
---|---|
xDist | number |
yDist | number |