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