awv3
Version:
AWV client CAD framework
2,094 lines • 5.16 MB
JSON
{
"type": "Program",
"start": 0,
"end": 52078,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1295,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 61
}
},
"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"
}
},
{
"type": "ImportSpecifier",
"start": 22,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 22,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 30
}
},
"name": "logLevel"
},
"local": {
"type": "Identifier",
"start": 22,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 30
}
},
"name": "logLevel"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 37,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 60
}
},
"value": "../sketcher/cchelpers",
"rawValue": "../sketcher/cchelpers",
"raw": "'../sketcher/cchelpers'"
}
},
{
"type": "ImportDeclaration",
"start": 62,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 48
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 69,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 69,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 17
}
},
"name": "Constraint"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 85,
"end": 109,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 47
}
},
"value": "../sketcher/constraint",
"rawValue": "../sketcher/constraint",
"raw": "'../sketcher/constraint'"
}
},
{
"type": "ImportDeclaration",
"start": 111,
"end": 151,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 40
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 118,
"end": 124,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 118,
"end": 124,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Sketch"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 130,
"end": 150,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 39
}
},
"value": "../sketcher/sketch",
"rawValue": "../sketcher/sketch",
"raw": "'../sketcher/sketch'"
}
},
{
"type": "ImportDeclaration",
"start": 152,
"end": 321,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 5,
"column": 89
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 160,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 160,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 24
}
},
"name": "createGeomObject"
},
"local": {
"type": "Identifier",
"start": 160,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 24
}
},
"name": "createGeomObject"
}
},
{
"type": "ImportSpecifier",
"start": 178,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 43
}
},
"imported": {
"type": "Identifier",
"start": 178,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 43
}
},
"name": "drawArcBy_S_E_CPh"
},
"local": {
"type": "Identifier",
"start": 178,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 43
}
},
"name": "drawArcBy_S_E_CPh"
}
},
{
"type": "ImportSpecifier",
"start": 197,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 60
}
},
"imported": {
"type": "Identifier",
"start": 197,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 60
}
},
"name": "drawArcBy_S_E_M"
},
"local": {
"type": "Identifier",
"start": 197,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 60
}
},
"name": "drawArcBy_S_E_M"
}
},
{
"type": "ImportSpecifier",
"start": 214,
"end": 230,
"loc": {
"start": {
"line": 4,
"column": 62
},
"end": {
"line": 4,
"column": 78
}
},
"imported": {
"type": "Identifier",
"start": 214,
"end": 230,
"loc": {
"start": {
"line": 4,
"column": 62
},
"end": {
"line": 4,
"column": 78
}
},
"name": "drawArcBy_S_E_Ch"
},
"local": {
"type": "Identifier",
"start": 214,
"end": 230,
"loc": {
"start": {
"line": 4,
"column": 62
},
"end": {
"line": 4,
"column": 78
}
},
"name": "drawArcBy_S_E_Ch"
}
},
{
"type": "ImportSpecifier",
"start": 236,
"end": 251,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 236,
"end": 251,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 19
}
},
"name": "drawArcBy_S_T_E"
},
"local": {
"type": "Identifier",
"start": 236,
"end": 251,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 19
}
},
"name": "drawArcBy_S_T_E"
}
},
{
"type": "ImportSpecifier",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 38
}
},
"imported": {
"type": "Identifier",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 38
}
},
"name": "drawArcBy_Angle_M"
},
"local": {
"type": "Identifier",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 38
}
},
"name": "drawArcBy_Angle_M"
}
},
{
"type": "ImportSpecifier",
"start": 272,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 58
}
},
"imported": {
"type": "Identifier",
"start": 272,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 58
}
},
"name": "drawLineBy_Angle_M"
},
"local": {
"type": "Identifier",
"start": 272,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 58
}
},
"name": "drawLineBy_Angle_M"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 297,
"end": 320,
"loc": {
"start": {
"line": 5,
"column": 65
},
"end": {
"line": 5,
"column": 88
}
},
"value": "../sketcher/geomutils",
"rawValue": "../sketcher/geomutils",
"raw": "'../sketcher/geomutils'"
}
},
{
"type": "ImportDeclaration",
"start": 322,
"end": 396,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 74
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 330,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 330,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 23
}
},
"name": "GeometricObject"
},
"local": {
"type": "Identifier",
"start": 330,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 23
}
},
"name": "GeometricObject"
}
},
{
"type": "ImportSpecifier",
"start": 347,
"end": 352,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 347,
"end": 352,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 30
}
},
"name": "Point"
},
"local": {
"type": "Identifier",
"start": 347,
"end": 352,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 30
}
},
"name": "Point"
}
},
{
"type": "ImportSpecifier",
"start": 354,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 36
}
},
"imported": {
"type": "Identifier",
"start": 354,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 36
}
},
"name": "Line"
},
"local": {
"type": "Identifier",
"start": 354,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 36
}
},
"name": "Line"
}
},
{
"type": "ImportSpecifier",
"start": 360,
"end": 363,
"loc": {
"start": {
"line": 6,
"column": 38
},
"end": {
"line": 6,
"column": 41
}
},
"imported": {
"type": "Identifier",
"start": 360,
"end": 363,
"loc": {
"start": {
"line": 6,
"column": 38
},
"end": {
"line": 6,
"column": 41
}
},
"name": "Arc"
},
"local": {
"type": "Identifier",
"start": 360,
"end": 363,
"loc": {
"start": {
"line": 6,
"column": 38
},
"end": {
"line": 6,
"column": 41
}
},
"name": "Arc"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 370,
"end": 395,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 73
}
},
"value": "../sketcher/geomobjects",
"rawValue": "../sketcher/geomobjects",
"raw": "'../sketcher/geomobjects'"
}
},
{
"type": "ImportDeclaration",
"start": 397,
"end": 477,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 80
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 405,
"end": 421,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 405,
"end": 421,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 24
}
},
"name": "ConstraintsAdder"
},
"local": {
"type": "Identifier",
"start": 405,
"end": 421,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 24
}
},
"name": "ConstraintsAdder"
}
},
{
"type": "ImportSpecifier",
"start": 423,
"end": 442,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 45
}
},
"imported": {
"type": "Identifier",
"start": 423,
"end": 442,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 45
}
},
"name": "ConstraintGenerator"
},
"local": {
"type": "Identifier",
"start": 423,
"end": 442,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 45
}
},
"name": "ConstraintGenerator"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 449,
"end": 476,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 79
}
},
"value": "../sketcher/constraintgen",
"rawValue": "../sketcher/constraintgen",
"raw": "'../sketcher/constraintgen'"
}
},
{
"type": "ImportDeclaration",
"start": 478,
"end": 527,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 49
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 485,
"end": 500,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 22
}
},
"local": {
"type": "Identifier",
"start": 485,
"end": 500,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 22
}
},
"name": "FilletProcessor"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 506,
"end": 526,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 48
}
},
"value": "../sketcher/fillet",
"rawValue": "../sketcher/fillet",
"raw": "'../sketcher/fillet'"
}
},
{
"type": "ImportDeclaration",
"start": 528,
"end": 577,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 49
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 535,
"end": 548,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 540,
"end": 548,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 20
}
},
"name": "Controls"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 554,
"end": 576,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 48
}
},
"value": "../sketcher/controls",
"rawValue": "../sketcher/controls",
"raw": "'../sketcher/controls'"
}
},
{
"type": "ImportDeclaration",
"start": 578,
"end": 604,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 585,
"end": 590,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 585,
"end": 590,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
},
"name": "THREE"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 596,
"end": 603,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 25
}
},
"value": "three",
"rawValue": "three",
"raw": "'three'"
}
},
{
"type": "ImportDeclaration",
"start": 605,
"end": 644,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 612,
"end": 619,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 612,
"end": 619,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 14
}
},
"name": "Object3"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 625,
"end": 643,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 38
}
},
"value": "../three/object3",
"rawValue": "../three/object3",
"raw": "'../three/object3'"
}
},
{
"type": "ImportDeclaration",
"start": 645,
"end": 687,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 653,
"end": 662,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 653,
"end": 662,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 17
}
},
"name": "Timestamp"
},
"local": {
"type": "Identifier",
"start": 653,
"end": 662,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 17
}
},
"name": "Timestamp"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 669,
"end": 686,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 41
}
},
"value": "../core/helpers",
"rawValue": "../core/helpers",
"raw": "'../core/helpers'"
}
},
{
"type": "VariableDeclaration",
"start": 689,
"end": 878,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 23,
"column": 1
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 693,
"end": 878,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 23,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 693,
"end": 708,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 19
}
},
"name": "consoleCommands"
},
"init": {
"type": "ObjectExpression",
"start": 711,
"end": 878,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 23,
"column": 1
}
},
"properties": [
{
"type": "Property",
"start": 717,
"end": 728,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 15
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 717,
"end": 722,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 9
}
},
"name": "point"
},
"value": {
"type": "Literal",
"start": 725,
"end": 728,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 15
}
},
"value": "p",
"rawValue": "p",
"raw": "\"p\""
},
"kind": "init"
},
{
"type": "Property",
"start": 734,
"end": 744,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 734,
"end": 738,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 8
}
},
"name": "line"
},
"value": {
"type": "Literal",
"start": 741,
"end": 744,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 14
}
},
"value": "l",
"rawValue": "l",
"raw": "\"l\""
},
"kind": "init"
},
{
"type": "Property",
"start": 750,
"end": 767,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 750,
"end": 759,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 13
}
},
"name": "arcCenter"
},
"value": {
"type": "Literal",
"start": 762,
"end": 767,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 21
}
},
"value": "acn",
"rawValue": "acn",
"raw": "\"acn\""
},
"kind": "init"
},
{
"type": "Property",
"start": 773,
"end": 791,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 773,
"end": 783,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
}
},
"name": "arcControl"
},
"value": {
"type": "Literal",
"start": 786,
"end": 791,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 22
}
},
"value": "act",
"rawValue": "act",
"raw": "\"act\""
},
"kind": "init"
},
{
"type": "Property",
"start": 797,
"end": 814,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 797,
"end": 807,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 14
}
},
"name": "arcTangent"
},
"value": {
"type": "Literal",
"start": 810,
"end": 814,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 21
}
},
"value": "at",
"rawValue": "at",
"raw": "\"at\""
},
"kind": "init"
},
{
"type": "Property",
"start": 820,
"end": 836,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 20
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 820,
"end": 829,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 13
}
},
"name": "arcMiddle"
},
"value": {
"type": "Literal",
"start": 832,
"end": 836,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 20
}
},
"value": "am",
"rawValue": "am",
"raw": "\"am\""
},
"kind": "init"
},
{
"type": "Property",
"start": 842,
"end": 857,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 842,
"end": 850,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 12
}
},
"name": "polyline"
},
"value": {
"type": "Literal",
"start": 853,
"end": 857,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 19
}
},
"value": "pl",
"rawValue": "pl",
"raw": "\"pl\""
},
"kind": "init"
},
{
"type": "Property",
"start": 863,
"end": 875,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 863,
"end": 869,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 10
}
},
"name": "fillet"
},
"value": {
"type": "Literal",
"start": 872,
"end": 875,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 16
}
},
"value": "f",
"rawValue": "f",
"raw": "\"f\""
},
"kind": "init"
}
],
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": "================================ interactionFunctions =========================================",
"start": 880,
"end": 977,
"loc": {
"start": {
"line": 25,
"column": 0
},
"end": {
"line": 25,
"column": 97
}
},
"range": [
880,
977
]
}
]
},
{
"type": "FunctionDeclaration",
"start": 978,
"end": 1518,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 42,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 987,
"end": 1000,
"loc": {
"start": {
"line": 26,
"column": 9
},
"end": {
"line": 26,
"column": 22
}
},
"name": "hoverFunction",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1001,
"end": 1004,
"loc": {
"start": {
"line": 26,
"column": 23
},
"end": {
"line": 26,
"column": 26
}
},
"name": "obj"
},
{
"type": "Identifier",
"start": 1006,
"end": 1014,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 36
}
},
"name": "sketcher"
}
],
"body": {
"type": "BlockStatement",
"start": 1016,
"end": 1518,
"loc": {
"start": {
"line": 26,
"column": 38
},
"end": {
"line": 42,
"column": 1
}
},
"body": [
{
"type": "IfStatement",
"start": 1022,
"end": 1086,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 68
}
},
"test": {
"type": "LogicalExpression",
"start": 1026,
"end": 1077,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 59
}
},
"left": {
"type": "UnaryExpression",
"start": 1026,
"end": 1054,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "BinaryExpression",
"start": 1028,
"end": 1053,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 35
}
},
"left": {
"type": "Identifier",
"start": 1028,
"end": 1031,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 13
}
},
"name": "obj"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 1043,
"end": 1053,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 35
}
},
"name": "Constraint"
},
"parenthesizedExpression": true
}
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 1058,
"end": 1077,
"loc": {
"start": {
"line": 27,
"column": 40
},
"end": {
"line": 27,
"column": 59
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1059,
"end": 1077,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 1059,
"end": 1071,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 1059,
"end": 1062,
"loc": {
"start": {
"line": 27,
"colum