SketcherAutomation
Constructor Summary
| Public Constructor | ||
| public |
constructor(sketcher: *) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
rootObject: * |
|
| public |
safePoint: * |
|
| public |
sketcher: * |
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
async autoconstraintAll() |
|
| public |
async chooseTool(toolName: *) |
|
| public |
async cleanSketch() |
|
| public |
async clickButton(name: *) |
|
| public |
async clickObject(obj: *) |
|
| public |
async clickSelectObject(obj: *) |
|
| public |
async createSketch(origin: *, quaternion: *, part: *): * |
|
| public |
async deleteAll() |
|
| public |
async deleteObject(obj: *) |
|
| public |
async deleteObjects(objs: *) |
|
| public |
async deselectSketch(sketch: *, byClick: *) |
|
| public |
async dragObject(obj: *, posArray: *, absolute: *) |
|
| public |
async dragSketchArc(obj: *, posArray: *) |
|
| public |
async dragSketchLine(obj: *, posArray: *) |
|
| public |
async dragSketchPoint(obj: *, posArray: *, absolute: *, strict: *) |
|
| public |
async drawConstraint(type: *, args: *, name: *): * |
|
| public |
async drawLine(start: *, end: *, name: *): * |
|
| public |
async drawPoint(pos: *, name: *): * |
|
| public |
async execute(lambda: *) |
|
| public |
getCenterPoint(obj: *): * |
|
| public |
getCurrentSketch(): * |
|
| public |
getEndPoint(obj: *, idx: *): * |
|
| public |
getMiddlePos(obj: *): * |
|
| public |
getPointOn(obj: *): * |
|
| public |
getPos(obj: *): * |
|
| public |
getStartPoint(obj: *): * |
|
| public |
async hoverObject(obj: *) |
|
| public |
async mouseClickAt(posLocal: *, sketch: *) |
|
| public |
async mouseMoveTo(posLocal: *) |
|
| public |
async selectSketch(sketch: *) |
|
| public |
async selectionDisable(strict: *) |
|
| public |
async selectionEnable(strict: *) |
|
| public |
async setIncrementalAutoconstraint(flag: *) |
|
| public |
async setIncrementalSolve(flag: *) |
|
| public |
setRootObject(rootObject: *) |
|
| public |
setTickWaitTime(delay: *) |
|
| public |
async solveConstraints() |
|
| public |
async tick() |
|
| public |
async trackAdded(lambda: *, sketch: *): * |
|
| public |
async trackAny(lambda: *, sketch: *): * |
|
| public |
async trackRemoved(lambda: *, sketch: *): * |
|
| public |
async unhoverObject(obj: *) |
|
Public Constructors
public constructor(sketcher: *) source
Params:
| Name | Type | Attribute | Description |
| sketcher | * |
Public Methods
public async autoconstraintAll() source
public async chooseTool(toolName: *) source
Params:
| Name | Type | Attribute | Description |
| toolName | * |
public async cleanSketch() source
public async clickButton(name: *) source
Params:
| Name | Type | Attribute | Description |
| name | * |
public async clickObject(obj: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * |
public async clickSelectObject(obj: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * |
public async createSketch(origin: *, quaternion: *, part: *): * source
Params:
| Name | Type | Attribute | Description |
| origin | * | ||
| quaternion | * | ||
| part | * |
Return:
| * |
public async deleteAll() source
public async deleteObject(obj: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * |
public async deleteObjects(objs: *) source
Params:
| Name | Type | Attribute | Description |
| objs | * |
public async deselectSketch(sketch: *, byClick: *) source
Params:
| Name | Type | Attribute | Description |
| sketch | * | ||
| byClick | * |
public async dragObject(obj: *, posArray: *, absolute: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * | ||
| posArray | * | ||
| absolute | * |
public async dragSketchArc(obj: *, posArray: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * | ||
| posArray | * |
public async dragSketchLine(obj: *, posArray: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * | ||
| posArray | * |
public async dragSketchPoint(obj: *, posArray: *, absolute: *, strict: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * | ||
| posArray | * | ||
| absolute | * | ||
| strict | * |
public async drawConstraint(type: *, args: *, name: *): * source
Params:
| Name | Type | Attribute | Description |
| type | * | ||
| args | * | ||
| name | * |
Return:
| * |
public async drawLine(start: *, end: *, name: *): * source
Params:
| Name | Type | Attribute | Description |
| start | * | ||
| end | * | ||
| name | * |
Return:
| * |
public async drawPoint(pos: *, name: *): * source
Params:
| Name | Type | Attribute | Description |
| pos | * | ||
| name | * |
Return:
| * |
public async execute(lambda: *) source
Params:
| Name | Type | Attribute | Description |
| lambda | * |
public getEndPoint(obj: *, idx: *): * source
Params:
| Name | Type | Attribute | Description |
| obj | * | ||
| idx | * |
Return:
| * |
public async hoverObject(obj: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * |
public async mouseClickAt(posLocal: *, sketch: *) source
Params:
| Name | Type | Attribute | Description |
| posLocal | * | ||
| sketch | * |
public async mouseMoveTo(posLocal: *) source
Params:
| Name | Type | Attribute | Description |
| posLocal | * |
public async selectSketch(sketch: *) source
Params:
| Name | Type | Attribute | Description |
| sketch | * |
public async selectionDisable(strict: *) source
Params:
| Name | Type | Attribute | Description |
| strict | * |
public async selectionEnable(strict: *) source
Params:
| Name | Type | Attribute | Description |
| strict | * |
public async setIncrementalAutoconstraint(flag: *) source
Params:
| Name | Type | Attribute | Description |
| flag | * |
public async setIncrementalSolve(flag: *) source
Params:
| Name | Type | Attribute | Description |
| flag | * |
public setRootObject(rootObject: *) source
Params:
| Name | Type | Attribute | Description |
| rootObject | * |
public setTickWaitTime(delay: *) source
Params:
| Name | Type | Attribute | Description |
| delay | * |
public async solveConstraints() source
public async tick() source
public async trackAdded(lambda: *, sketch: *): * source
Params:
| Name | Type | Attribute | Description |
| lambda | * | ||
| sketch | * |
Return:
| * |
public async trackAny(lambda: *, sketch: *): * source
Params:
| Name | Type | Attribute | Description |
| lambda | * | ||
| sketch | * |
Return:
| * |
public async trackRemoved(lambda: *, sketch: *): * source
Params:
| Name | Type | Attribute | Description |
| lambda | * | ||
| sketch | * |
Return:
| * |
public async unhoverObject(obj: *) source
Params:
| Name | Type | Attribute | Description |
| obj | * |