awv3
Version:
AWV client CAD framework
2,012 lines (2,011 loc) • 4.41 MB
JSON
{
"type": "Program",
"start": 0,
"end": 46388,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1145,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 48
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 20
}
},
"name": "trackPromise"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 20
}
},
"name": "trackPromise"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 27,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 47
}
},
"value": "sketcher/cchelpers",
"rawValue": "sketcher/cchelpers",
"raw": "'sketcher/cchelpers'"
}
},
{
"type": "ImportDeclaration",
"start": 49,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 45
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 56,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 56,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 17
}
},
"name": "Constraint"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 72,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 44
}
},
"value": "sketcher/constraint",
"rawValue": "sketcher/constraint",
"raw": "'sketcher/constraint'"
}
},
{
"type": "ImportDeclaration",
"start": 95,
"end": 132,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 37
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 102,
"end": 108,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 102,
"end": 108,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Sketch"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 114,
"end": 131,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 36
}
},
"value": "sketcher/sketch",
"rawValue": "sketcher/sketch",
"raw": "'sketcher/sketch'"
}
},
{
"type": "ImportDeclaration",
"start": 133,
"end": 275,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 142
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 141,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 141,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 24
}
},
"name": "createGeomObject"
},
"local": {
"type": "Identifier",
"start": 141,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 24
}
},
"name": "createGeomObject"
}
},
{
"type": "ImportSpecifier",
"start": 159,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 43
}
},
"imported": {
"type": "Identifier",
"start": 159,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 43
}
},
"name": "drawArcBy_S_E_CPh"
},
"local": {
"type": "Identifier",
"start": 159,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 43
}
},
"name": "drawArcBy_S_E_CPh"
}
},
{
"type": "ImportSpecifier",
"start": 178,
"end": 193,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 60
}
},
"imported": {
"type": "Identifier",
"start": 178,
"end": 193,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 60
}
},
"name": "drawArcBy_S_E_M"
},
"local": {
"type": "Identifier",
"start": 178,
"end": 193,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 60
}
},
"name": "drawArcBy_S_E_M"
}
},
{
"type": "ImportSpecifier",
"start": 195,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 62
},
"end": {
"line": 4,
"column": 78
}
},
"imported": {
"type": "Identifier",
"start": 195,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 62
},
"end": {
"line": 4,
"column": 78
}
},
"name": "drawArcBy_S_E_Ch"
},
"local": {
"type": "Identifier",
"start": 195,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 62
},
"end": {
"line": 4,
"column": 78
}
},
"name": "drawArcBy_S_E_Ch"
}
},
{
"type": "ImportSpecifier",
"start": 213,
"end": 228,
"loc": {
"start": {
"line": 4,
"column": 80
},
"end": {
"line": 4,
"column": 95
}
},
"imported": {
"type": "Identifier",
"start": 213,
"end": 228,
"loc": {
"start": {
"line": 4,
"column": 80
},
"end": {
"line": 4,
"column": 95
}
},
"name": "drawArcBy_S_T_E"
},
"local": {
"type": "Identifier",
"start": 213,
"end": 228,
"loc": {
"start": {
"line": 4,
"column": 80
},
"end": {
"line": 4,
"column": 95
}
},
"name": "drawArcBy_S_T_E"
}
},
{
"type": "ImportSpecifier",
"start": 230,
"end": 247,
"loc": {
"start": {
"line": 4,
"column": 97
},
"end": {
"line": 4,
"column": 114
}
},
"imported": {
"type": "Identifier",
"start": 230,
"end": 247,
"loc": {
"start": {
"line": 4,
"column": 97
},
"end": {
"line": 4,
"column": 114
}
},
"name": "drawArcBy_Angle_M"
},
"local": {
"type": "Identifier",
"start": 230,
"end": 247,
"loc": {
"start": {
"line": 4,
"column": 97
},
"end": {
"line": 4,
"column": 114
}
},
"name": "drawArcBy_Angle_M"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 254,
"end": 274,
"loc": {
"start": {
"line": 4,
"column": 121
},
"end": {
"line": 4,
"column": 141
}
},
"value": "sketcher/geomutils",
"rawValue": "sketcher/geomutils",
"raw": "'sketcher/geomutils'"
}
},
{
"type": "ImportDeclaration",
"start": 276,
"end": 347,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 71
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 284,
"end": 299,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 284,
"end": 299,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 23
}
},
"name": "GeometricObject"
},
"local": {
"type": "Identifier",
"start": 284,
"end": 299,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 23
}
},
"name": "GeometricObject"
}
},
{
"type": "ImportSpecifier",
"start": 301,
"end": 306,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 301,
"end": 306,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 30
}
},
"name": "Point"
},
"local": {
"type": "Identifier",
"start": 301,
"end": 306,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 30
}
},
"name": "Point"
}
},
{
"type": "ImportSpecifier",
"start": 308,
"end": 312,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 36
}
},
"imported": {
"type": "Identifier",
"start": 308,
"end": 312,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 36
}
},
"name": "Line"
},
"local": {
"type": "Identifier",
"start": 308,
"end": 312,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 36
}
},
"name": "Line"
}
},
{
"type": "ImportSpecifier",
"start": 314,
"end": 317,
"loc": {
"start": {
"line": 5,
"column": 38
},
"end": {
"line": 5,
"column": 41
}
},
"imported": {
"type": "Identifier",
"start": 314,
"end": 317,
"loc": {
"start": {
"line": 5,
"column": 38
},
"end": {
"line": 5,
"column": 41
}
},
"name": "Arc"
},
"local": {
"type": "Identifier",
"start": 314,
"end": 317,
"loc": {
"start": {
"line": 5,
"column": 38
},
"end": {
"line": 5,
"column": 41
}
},
"name": "Arc"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 324,
"end": 346,
"loc": {
"start": {
"line": 5,
"column": 48
},
"end": {
"line": 5,
"column": 70
}
},
"value": "sketcher/geomobjects",
"rawValue": "sketcher/geomobjects",
"raw": "'sketcher/geomobjects'"
}
},
{
"type": "ImportDeclaration",
"start": 348,
"end": 404,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 56
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 356,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 356,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 24
}
},
"name": "ConstraintsAdder"
},
"local": {
"type": "Identifier",
"start": 356,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 24
}
},
"name": "ConstraintsAdder"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 379,
"end": 403,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 55
}
},
"value": "sketcher/constraintgen",
"rawValue": "sketcher/constraintgen",
"raw": "'sketcher/constraintgen'"
}
},
{
"type": "ImportDeclaration",
"start": 405,
"end": 451,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 46
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 412,
"end": 427,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 22
}
},
"local": {
"type": "Identifier",
"start": 412,
"end": 427,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 22
}
},
"name": "FilletProcessor"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 433,
"end": 450,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 45
}
},
"value": "sketcher/fillet",
"rawValue": "sketcher/fillet",
"raw": "'sketcher/fillet'"
}
},
{
"type": "ImportDeclaration",
"start": 452,
"end": 498,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 46
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 459,
"end": 472,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 464,
"end": 472,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 20
}
},
"name": "Controls"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 478,
"end": 497,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 45
}
},
"value": "sketcher/controls",
"rawValue": "sketcher/controls",
"raw": "'sketcher/controls'"
}
},
{
"type": "ImportDeclaration",
"start": 499,
"end": 525,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 506,
"end": 511,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 506,
"end": 511,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 12
}
},
"name": "THREE"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 517,
"end": 524,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 25
}
},
"value": "three",
"rawValue": "three",
"raw": "'three'"
}
},
{
"type": "ImportDeclaration",
"start": 526,
"end": 562,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 36
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 533,
"end": 540,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 533,
"end": 540,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
},
"name": "Object3"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 546,
"end": 561,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 35
}
},
"value": "three/object3",
"rawValue": "three/object3",
"raw": "'three/object3'"
},
"trailingComments": [
{
"type": "CommentLine",
"value": "================================ interactionFunctions =========================================",
"start": 564,
"end": 661,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 97
}
},
"range": [
564,
661
]
}
]
},
{
"type": "FunctionDeclaration",
"start": 662,
"end": 1202,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 29,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 671,
"end": 684,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 22
}
},
"name": "hoverFunction",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 685,
"end": 688,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 26
}
},
"name": "obj"
},
{
"type": "Identifier",
"start": 690,
"end": 698,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 36
}
},
"name": "sketcher"
}
],
"body": {
"type": "BlockStatement",
"start": 700,
"end": 1202,
"loc": {
"start": {
"line": 13,
"column": 38
},
"end": {
"line": 29,
"column": 1
}
},
"body": [
{
"type": "IfStatement",
"start": 706,
"end": 770,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 68
}
},
"test": {
"type": "LogicalExpression",
"start": 710,
"end": 761,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 59
}
},
"left": {
"type": "UnaryExpression",
"start": 710,
"end": 738,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "BinaryExpression",
"start": 712,
"end": 737,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 35
}
},
"left": {
"type": "Identifier",
"start": 712,
"end": 715,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 13
}
},
"name": "obj"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 727,
"end": 737,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 35
}
},
"name": "Constraint"
},
"parenthesizedExpression": true
}
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 742,
"end": 761,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 59
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 743,
"end": 761,
"loc": {
"start": {
"line": 14,
"column": 41
},
"end": {
"line": 14,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 743,
"end": 755,
"loc": {
"start": {
"line": 14,
"column": 41
},
"end": {
"line": 14,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 743,
"end": 746,
"loc": {
"start": {
"line": 14,
"column": 41
},
"end": {
"line": 14,
"column": 44
}
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 747,
"end": 755,
"loc": {
"start": {
"line": 14,
"column": 45
},
"end": {
"line": 14,
"column": 53
}
},
"name": "interact"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 756,
"end": 761,
"loc": {
"start": {
"line": 14,
"column": 54
},
"end": {
"line": 14,
"column": 59
}
},
"name": "hover"
},
"computed": false
}
}
},
"consequent": {
"type": "ReturnStatement",
"start": 763,
"end": 770,
"loc": {
"start": {
"line": 14,
"column": 61
},
"end": {
"line": 14,
"column": 68
}
},
"argument": null
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 776,
"end": 833,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 61
}
},
"expression": {
"type": "CallExpression",
"start": 776,
"end": 832,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 776,
"end": 788,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 16
}
},
"name": "clearTimeout"
},
"arguments": [
{
"type": "MemberExpression",
"start": 789,
"end": 831,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 789,
"end": 821,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 789,
"end": 797,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 25
}
},
"name": "sketcher"
},
"property": {
"type": "Identifier",
"start": 798,
"end": 821,
"loc": {
"start": {
"line": 16,
"column": 26
},
"end": {
"line": 16,
"column": 49
}
},
"name": "__sketchControlsHandler"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 822,
"end": 831,
"loc": {
"start": {
"line": 16,
"column": 50
},
"end": {
"line": 16,
"column": 59
}
},
"name": "timeoutID"
},
"computed": false
}
]
}
},
{
"type": "IfStatement",
"start": 839,
"end": 942,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 843,
"end": 868,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 843,
"end": 846,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 11
}
},
"name": "obj"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 858,
"end": 868,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 33
}
},
"name": "Constraint"
}
},
"consequent": {
"type": "BlockStatement",
"start": 870,
"end": 942,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 22,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 880,
"end": 892,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 20
}
},
"expression": {
"type": "CallExpression",
"start": 880,
"end": 891,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
"start": 880,
"end": 889,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 880,
"end": 883,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 884,
"end": 889,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 17
}
},
"name": "hover"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 901,
"end": 920,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 901,
"end": 919,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 901,
"end": 917,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 901,
"end": 909,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 16
}
},
"name": "sketcher"
},
"property": {
"type": "Identifier",
"start": 910,
"end": 917,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 24
}
},
"name": "refresh"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ReturnStatement",
"start": 929,
"end": 936,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 15
}
},
"argument": null
}
]
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 948,
"end": 989,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 948,
"end": 988,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 948,
"end": 986,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 948,
"end": 970,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 948,
"end": 956,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 12
}
},
"name": "sketcher"
},
"property": {
"type": "Identifier",
"start": 957,
"end": 970,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 26
}
},
"name": "currentSketch"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 971,
"end": 986,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 42
}
},
"name": "hideConstraints"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 994,
"end": 1101,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 111
}
},
"expression": {
"type": "CallExpression",
"start": 994,
"end": 1100,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 110
}
},
"callee": {
"type": "MemberExpression",
"start": 994,
"end": 1045,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 55
}
},
"object": {
"type": "CallExpression",
"start": 994,
"end": 1037,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 994,
"end": 1035,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 994,
"end": 1016,
"loc": {