Properties
Extends:
Class Properties is based on awv3's plugin architecture. It can be used to define bend- and signature-lines in the 2D view.
Constructor Summary
| Public Constructor | ||
| public |
constructor(session: *, objectPattern1: {"name": *, "icon": *}) |
|
Member Summary
| Public Members | ||
| public |
acceptButton: * |
|
| public |
angle: * |
|
| public |
bend: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
bending: * |
|
| public |
|
|
| public |
deleteButton: * |
|
| public |
foldDown: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
foldUp: * |
|
| public |
|
|
| public |
|
|
| public |
isBendLine: * |
|
| public |
|
|
| public |
kFactor: * |
|
| public |
laserGroup: * |
|
| public |
radius: * |
|
| public |
selection: * |
|
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
getOwner(element: *): * |
|
| public |
getOwnerId(selectedElement: *): * |
|
| public |
getOwnerIds(selectedElements: array): array Get the ids of the owner of the selected elements. |
|
| public |
getOwners(selectedElements: *): * |
|
| public |
getSketchId(lineId: *): * Climbs up the object tree to find the sketch this line belongs to. |
|
| public |
Called when the plugin is being disabled. |
|
| public |
Called when the plugin is enabled. |
|
| public |
|
|
Public Constructors
public constructor(session: *, objectPattern1: {"name": *, "icon": *}) source
Params:
| Name | Type | Attribute | Description |
| session | * | ||
| objectPattern1 | {"name": *, "icon": *} |
|
Public Members
public acceptButton: * source
public angle: * source
public bend: * source
public bendDeduction: * source
public bendLineColor: * source
public bending: * source
public contourLineColor: * source
public deleteButton: * source
public foldDown: * source
public foldDownAngle: * source
public foldDownPreAngle: * source
public foldUp: * source
public isBendLine: * source
public isLaserSignature: * source
public kFactor: * source
public laserGroup: * source
public radius: * source
public selection: * source
public selectionGroup: * source
public signatureLineColor: * source
Public Methods
public getOwnerId(selectedElement: *): * source
Params:
| Name | Type | Attribute | Description |
| selectedElement | * |
Return:
| * |
public getOwnerIds(selectedElements: array): array source
Get the ids of the owner of the selected elements.
Params:
| Name | Type | Attribute | Description |
| selectedElements | array | array of materials with meta-info |
Return:
| array | owners of the selected elements |
public getOwners(selectedElements: *): * source
Params:
| Name | Type | Attribute | Description |
| selectedElements | * |
Return:
| * |
public getSketchId(lineId: *): * source
Climbs up the object tree to find the sketch this line belongs to.
Params:
| Name | Type | Attribute | Description |
| lineId | * |
Return:
| * | undefined, if no sketch was found. |
public onDisabled() source
Called when the plugin is being disabled. Clean up plugin-specific things in here.