2025-01-17 14:34:36 -05:00
|
|
|
---
|
|
|
|
source: kcl/src/simulation_tests.rs
|
|
|
|
description: Result of parsing artifact_graph_example_code1.kcl
|
|
|
|
---
|
|
|
|
{
|
|
|
|
"Ok": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"declaration": {
|
|
|
|
"end": 217,
|
|
|
|
"id": {
|
|
|
|
"end": 9,
|
|
|
|
"name": "sketch001",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 30,
|
|
|
|
"raw": "'XY'",
|
|
|
|
"start": 26,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": "XY"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 25,
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"start": 12,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 31,
|
|
|
|
"start": 12,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 55,
|
|
|
|
"raw": "5",
|
|
|
|
"start": 54,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 5.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 55,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 53,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 59,
|
|
|
|
"raw": "5",
|
|
|
|
"start": 58,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 5.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 59,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 57,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 60,
|
|
|
|
"start": 52,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 63,
|
|
|
|
"start": 62,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 51,
|
|
|
|
"name": "startProfileAt",
|
|
|
|
"start": 37,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 64,
|
|
|
|
"start": 37,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"end": 77,
|
|
|
|
"raw": "0",
|
|
|
|
"start": 76,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 81,
|
|
|
|
"raw": "10",
|
|
|
|
"start": 79,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 10.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 82,
|
|
|
|
"start": 75,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 85,
|
|
|
|
"start": 84,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 74,
|
|
|
|
"name": "line",
|
|
|
|
"start": 70,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 86,
|
|
|
|
"start": 70,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"end": 103,
|
|
|
|
"raw": "10.55",
|
|
|
|
"start": 98,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 10.55,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 106,
|
|
|
|
"raw": "0",
|
|
|
|
"start": 105,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 107,
|
|
|
|
"start": 97,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 110,
|
|
|
|
"start": 109,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 118,
|
|
|
|
"start": 112,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "seg01"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 96,
|
|
|
|
"name": "line",
|
|
|
|
"start": 92,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 119,
|
|
|
|
"start": 92,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"end": 132,
|
|
|
|
"raw": "0",
|
|
|
|
"start": 131,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 137,
|
|
|
|
"raw": "10",
|
|
|
|
"start": 135,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 10.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 137,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 134,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 138,
|
|
|
|
"start": 130,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 141,
|
|
|
|
"start": 140,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 149,
|
|
|
|
"start": 143,
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"type": "TagDeclarator",
|
|
|
|
"value": "seg02"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 129,
|
|
|
|
"name": "line",
|
|
|
|
"start": 125,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 150,
|
|
|
|
"start": 125,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 179,
|
|
|
|
"start": 178,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 177,
|
|
|
|
"name": "profileStartX",
|
|
|
|
"start": 164,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 180,
|
|
|
|
"start": 164,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 197,
|
|
|
|
"start": 196,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 195,
|
|
|
|
"name": "profileStartY",
|
|
|
|
"start": 182,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 198,
|
|
|
|
"start": 182,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 199,
|
|
|
|
"start": 163,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 202,
|
|
|
|
"start": 201,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 162,
|
|
|
|
"name": "lineTo",
|
|
|
|
"start": 156,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 203,
|
|
|
|
"start": 156,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 216,
|
|
|
|
"start": 215,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 214,
|
|
|
|
"name": "close",
|
|
|
|
"start": 209,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 217,
|
|
|
|
"start": 209,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 217,
|
|
|
|
"start": 12,
|
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
|
|
|
},
|
|
|
|
"start": 0,
|
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
|
|
|
"end": 217,
|
|
|
|
"kind": "const",
|
|
|
|
"start": 0,
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"declaration": {
|
|
|
|
"end": 301,
|
|
|
|
"id": {
|
|
|
|
"end": 228,
|
|
|
|
"name": "extrude001",
|
|
|
|
"start": 218,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 242,
|
|
|
|
"raw": "10",
|
|
|
|
"start": 240,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 10.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 242,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 239,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 253,
|
|
|
|
"name": "sketch001",
|
|
|
|
"start": 244,
|
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 238,
|
|
|
|
"name": "extrude",
|
|
|
|
"start": 231,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 254,
|
|
|
|
"start": 231,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 297,
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"end": 279,
|
|
|
|
"key": {
|
|
|
|
"end": 275,
|
|
|
|
"name": "radius",
|
|
|
|
"start": 269,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"start": 269,
|
|
|
|
"type": "ObjectProperty",
|
|
|
|
"value": {
|
|
|
|
"end": 279,
|
|
|
|
"raw": "5",
|
|
|
|
"start": 278,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 5.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 295,
|
|
|
|
"key": {
|
|
|
|
"end": 285,
|
|
|
|
"name": "tags",
|
|
|
|
"start": 281,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"start": 281,
|
|
|
|
"type": "ObjectProperty",
|
|
|
|
"value": {
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"end": 294,
|
|
|
|
"name": "seg01",
|
|
|
|
"start": 289,
|
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 295,
|
|
|
|
"start": 288,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"start": 267,
|
|
|
|
"type": "ObjectExpression",
|
|
|
|
"type": "ObjectExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 300,
|
|
|
|
"start": 299,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 266,
|
|
|
|
"name": "fillet",
|
|
|
|
"start": 260,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 301,
|
|
|
|
"start": 260,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 301,
|
|
|
|
"start": 231,
|
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
|
|
|
},
|
|
|
|
"start": 218,
|
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
|
|
|
"end": 301,
|
|
|
|
"kind": "const",
|
|
|
|
"start": 218,
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"declaration": {
|
|
|
|
"end": 489,
|
|
|
|
"id": {
|
|
|
|
"end": 311,
|
|
|
|
"name": "sketch002",
|
|
|
|
"start": 302,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 338,
|
|
|
|
"name": "extrude001",
|
|
|
|
"start": 328,
|
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 345,
|
|
|
|
"name": "seg02",
|
|
|
|
"start": 340,
|
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 327,
|
|
|
|
"name": "startSketchOn",
|
|
|
|
"start": 314,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 346,
|
|
|
|
"start": 314,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 370,
|
|
|
|
"raw": "2",
|
|
|
|
"start": 369,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 2.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 370,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 368,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 374,
|
|
|
|
"raw": "6",
|
|
|
|
"start": 373,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 6.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 374,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 372,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 375,
|
|
|
|
"start": 367,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 378,
|
|
|
|
"start": 377,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 366,
|
|
|
|
"name": "startProfileAt",
|
|
|
|
"start": 352,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 379,
|
|
|
|
"start": 352,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"end": 392,
|
|
|
|
"raw": "2",
|
|
|
|
"start": 391,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 2.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 395,
|
|
|
|
"raw": "3",
|
|
|
|
"start": 394,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 3.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 396,
|
|
|
|
"start": 390,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 399,
|
|
|
|
"start": 398,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 389,
|
|
|
|
"name": "line",
|
|
|
|
"start": 385,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 400,
|
|
|
|
"start": 385,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"end": 413,
|
|
|
|
"raw": "2",
|
|
|
|
"start": 412,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 2.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"argument": {
|
|
|
|
"end": 417,
|
|
|
|
"raw": "3",
|
|
|
|
"start": 416,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 3.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
"end": 417,
|
|
|
|
"operator": "-",
|
|
|
|
"start": 415,
|
|
|
|
"type": "UnaryExpression",
|
|
|
|
"type": "UnaryExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 418,
|
|
|
|
"start": 411,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 421,
|
|
|
|
"start": 420,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 410,
|
|
|
|
"name": "line",
|
|
|
|
"start": 406,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 422,
|
|
|
|
"start": 406,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 451,
|
|
|
|
"start": 450,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 449,
|
|
|
|
"name": "profileStartX",
|
|
|
|
"start": 436,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 452,
|
|
|
|
"start": 436,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 469,
|
|
|
|
"start": 468,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 467,
|
|
|
|
"name": "profileStartY",
|
|
|
|
"start": 454,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 470,
|
|
|
|
"start": 454,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 471,
|
|
|
|
"start": 435,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 474,
|
|
|
|
"start": 473,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 434,
|
|
|
|
"name": "lineTo",
|
|
|
|
"start": 428,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 475,
|
|
|
|
"start": 428,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 488,
|
|
|
|
"start": 487,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 486,
|
|
|
|
"name": "close",
|
|
|
|
"start": 481,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 489,
|
|
|
|
"start": 481,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 489,
|
|
|
|
"start": 314,
|
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
|
|
|
},
|
|
|
|
"start": 302,
|
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
|
|
|
"end": 489,
|
|
|
|
"kind": "const",
|
|
|
|
"start": 302,
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"declaration": {
|
|
|
|
"end": 524,
|
|
|
|
"id": {
|
|
|
|
"end": 500,
|
|
|
|
"name": "extrude002",
|
|
|
|
"start": 490,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"end": 512,
|
|
|
|
"raw": "5",
|
|
|
|
"start": 511,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 5.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-17 14:34:36 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 523,
|
|
|
|
"name": "sketch002",
|
|
|
|
"start": 514,
|
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
|
|
|
"end": 510,
|
|
|
|
"name": "extrude",
|
|
|
|
"start": 503,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"end": 524,
|
|
|
|
"start": 503,
|
|
|
|
"type": "CallExpression",
|
|
|
|
"type": "CallExpression"
|
|
|
|
},
|
|
|
|
"start": 490,
|
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
|
|
|
"end": 524,
|
|
|
|
"kind": "const",
|
|
|
|
"start": 490,
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"end": 525,
|
|
|
|
"start": 0
|
|
|
|
}
|
|
|
|
}
|