update all kcl-samples w/ format (#5999)

This commit is contained in:
Josh Gomez
2025-03-26 08:53:34 -07:00
committed by GitHub
parent 0677474097
commit fa16fcedff
194 changed files with 25580 additions and 25201 deletions

View File

@ -1387,13 +1387,20 @@ description: Result of parsing dodecahedron.kcl
{
"arguments": [
{
"abs_path": false,
"commentStart": 1153,
"end": 0,
"raw": "'XY'",
"name": {
"commentStart": 1153,
"end": 0,
"name": "XY",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "XY"
"type": "Name",
"type": "Name"
}
],
"callee": {
@ -1420,14 +1427,14 @@ description: Result of parsing dodecahedron.kcl
{
"arguments": [
{
"commentStart": 1172,
"commentStart": 1170,
"end": 0,
"properties": [
{
"commentStart": 1181,
"commentStart": 1179,
"end": 0,
"key": {
"commentStart": 1181,
"commentStart": 1179,
"end": 0,
"name": "radius",
"start": 0,
@ -1437,10 +1444,10 @@ description: Result of parsing dodecahedron.kcl
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1190,
"commentStart": 1188,
"end": 0,
"name": {
"commentStart": 1190,
"commentStart": 1188,
"end": 0,
"name": "pentR",
"start": 0,
@ -1453,10 +1460,10 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1204,
"commentStart": 1202,
"end": 0,
"key": {
"commentStart": 1204,
"commentStart": 1202,
"end": 0,
"name": "numSides",
"start": 0,
@ -1465,7 +1472,7 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1215,
"commentStart": 1213,
"end": 0,
"raw": "5",
"start": 0,
@ -1478,10 +1485,10 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1225,
"commentStart": 1223,
"end": 0,
"key": {
"commentStart": 1225,
"commentStart": 1223,
"end": 0,
"name": "center",
"start": 0,
@ -1490,10 +1497,10 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1234,
"commentStart": 1232,
"elements": [
{
"commentStart": 1235,
"commentStart": 1233,
"end": 0,
"raw": "0",
"start": 0,
@ -1505,7 +1512,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1238,
"commentStart": 1236,
"end": 0,
"raw": "0",
"start": 0,
@ -1524,10 +1531,10 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1249,
"commentStart": 1247,
"end": 0,
"key": {
"commentStart": 1249,
"commentStart": 1247,
"end": 0,
"name": "inscribed",
"start": 0,
@ -1536,7 +1543,7 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1261,
"commentStart": 1259,
"end": 0,
"raw": "true",
"start": 0,
@ -1551,7 +1558,7 @@ description: Result of parsing dodecahedron.kcl
"type": "ObjectExpression"
},
{
"commentStart": 1274,
"commentStart": 1272,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -1560,10 +1567,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1164,
"commentStart": 1162,
"end": 0,
"name": {
"commentStart": 1164,
"commentStart": 1162,
"end": 0,
"name": "polygon",
"start": 0,
@ -1573,7 +1580,7 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1164,
"commentStart": 1162,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -1601,12 +1608,12 @@ description: Result of parsing dodecahedron.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 1276,
"commentStart": 1274,
"declaration": {
"commentStart": 1278,
"commentStart": 1276,
"end": 0,
"id": {
"commentStart": 1278,
"commentStart": 1276,
"end": 0,
"name": "bottomSideFace",
"start": 0,
@ -1618,10 +1625,10 @@ description: Result of parsing dodecahedron.kcl
"arguments": [
{
"abs_path": false,
"commentStart": 1309,
"commentStart": 1307,
"end": 0,
"name": {
"commentStart": 1309,
"commentStart": 1307,
"end": 0,
"name": "plane",
"start": 0,
@ -1635,10 +1642,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1295,
"commentStart": 1293,
"end": 0,
"name": {
"commentStart": 1295,
"commentStart": 1293,
"end": 0,
"name": "startSketchOn",
"start": 0,
@ -1648,7 +1655,7 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1295,
"commentStart": 1293,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -1657,14 +1664,14 @@ description: Result of parsing dodecahedron.kcl
{
"arguments": [
{
"commentStart": 1329,
"commentStart": 1327,
"end": 0,
"properties": [
{
"commentStart": 1338,
"commentStart": 1336,
"end": 0,
"key": {
"commentStart": 1338,
"commentStart": 1336,
"end": 0,
"name": "radius",
"start": 0,
@ -1674,10 +1681,10 @@ description: Result of parsing dodecahedron.kcl
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 1347,
"commentStart": 1345,
"end": 0,
"name": {
"commentStart": 1347,
"commentStart": 1345,
"end": 0,
"name": "pentR",
"start": 0,
@ -1690,10 +1697,10 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1361,
"commentStart": 1359,
"end": 0,
"key": {
"commentStart": 1361,
"commentStart": 1359,
"end": 0,
"name": "numSides",
"start": 0,
@ -1702,7 +1709,7 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1372,
"commentStart": 1370,
"end": 0,
"raw": "5",
"start": 0,
@ -1715,10 +1722,10 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1382,
"commentStart": 1380,
"end": 0,
"key": {
"commentStart": 1382,
"commentStart": 1380,
"end": 0,
"name": "center",
"start": 0,
@ -1727,10 +1734,10 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1391,
"commentStart": 1389,
"elements": [
{
"commentStart": 1392,
"commentStart": 1390,
"end": 0,
"raw": "0",
"start": 0,
@ -1742,7 +1749,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1395,
"commentStart": 1393,
"end": 0,
"raw": "0",
"start": 0,
@ -1761,10 +1768,10 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1406,
"commentStart": 1404,
"end": 0,
"key": {
"commentStart": 1406,
"commentStart": 1404,
"end": 0,
"name": "inscribed",
"start": 0,
@ -1773,7 +1780,7 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 1418,
"commentStart": 1416,
"end": 0,
"raw": "true",
"start": 0,
@ -1788,7 +1795,7 @@ description: Result of parsing dodecahedron.kcl
"type": "ObjectExpression"
},
{
"commentStart": 1431,
"commentStart": 1429,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -1797,10 +1804,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1321,
"commentStart": 1319,
"end": 0,
"name": {
"commentStart": 1321,
"commentStart": 1319,
"end": 0,
"name": "polygon",
"start": 0,
@ -1810,20 +1817,20 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1321,
"commentStart": 1319,
"end": 0,
"start": 0,
"type": "CallExpression",
"type": "CallExpression"
}
],
"commentStart": 1295,
"commentStart": 1293,
"end": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"commentStart": 1433,
"commentStart": 1431,
"end": 0,
"start": 0,
"type": "NonCodeNode",
@ -1851,12 +1858,12 @@ description: Result of parsing dodecahedron.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 1470,
"commentStart": 1468,
"declaration": {
"commentStart": 1470,
"commentStart": 1468,
"end": 0,
"id": {
"commentStart": 1470,
"commentStart": 1468,
"end": 0,
"name": "bottom",
"start": 0,
@ -1867,7 +1874,7 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1499,
"commentStart": 1497,
"end": 0,
"name": "length",
"start": 0,
@ -1875,10 +1882,10 @@ description: Result of parsing dodecahedron.kcl
},
"arg": {
"abs_path": false,
"commentStart": 1508,
"commentStart": 1506,
"end": 0,
"name": {
"commentStart": 1508,
"commentStart": 1506,
"end": 0,
"name": "wallThickness",
"start": 0,
@ -1893,10 +1900,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1479,
"commentStart": 1477,
"end": 0,
"name": {
"commentStart": 1479,
"commentStart": 1477,
"end": 0,
"name": "extrude",
"start": 0,
@ -1906,17 +1913,17 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1479,
"commentStart": 1477,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"abs_path": false,
"commentStart": 1487,
"commentStart": 1485,
"end": 0,
"name": {
"commentStart": 1487,
"commentStart": 1485,
"end": 0,
"name": "bottomFace",
"start": 0,
@ -1938,12 +1945,12 @@ description: Result of parsing dodecahedron.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 1523,
"commentStart": 1521,
"declaration": {
"commentStart": 1523,
"commentStart": 1521,
"end": 0,
"id": {
"commentStart": 1523,
"commentStart": 1521,
"end": 0,
"name": "bottomSide",
"start": 0,
@ -1954,7 +1961,7 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1560,
"commentStart": 1558,
"end": 0,
"name": "length",
"start": 0,
@ -1962,10 +1969,10 @@ description: Result of parsing dodecahedron.kcl
},
"arg": {
"abs_path": false,
"commentStart": 1569,
"commentStart": 1567,
"end": 0,
"name": {
"commentStart": 1569,
"commentStart": 1567,
"end": 0,
"name": "wallThickness",
"start": 0,
@ -1980,10 +1987,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1536,
"commentStart": 1534,
"end": 0,
"name": {
"commentStart": 1536,
"commentStart": 1534,
"end": 0,
"name": "extrude",
"start": 0,
@ -1993,17 +2000,17 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1536,
"commentStart": 1534,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"abs_path": false,
"commentStart": 1544,
"commentStart": 1542,
"end": 0,
"name": {
"commentStart": 1544,
"commentStart": 1542,
"end": 0,
"name": "bottomSideFace",
"start": 0,
@ -2025,12 +2032,12 @@ description: Result of parsing dodecahedron.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 1583,
"commentStart": 1581,
"declaration": {
"commentStart": 1637,
"commentStart": 1635,
"end": 0,
"id": {
"commentStart": 1637,
"commentStart": 1635,
"end": 0,
"name": "bottomBowl",
"start": 0,
@ -2041,14 +2048,14 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1685,
"commentStart": 1683,
"end": 0,
"name": "instances",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1697,
"commentStart": 1695,
"end": 0,
"raw": "5",
"start": 0,
@ -2063,17 +2070,17 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1702,
"commentStart": 1700,
"end": 0,
"name": "axis",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1709,
"commentStart": 1707,
"elements": [
{
"commentStart": 1710,
"commentStart": 1708,
"end": 0,
"raw": "0",
"start": 0,
@ -2085,7 +2092,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1713,
"commentStart": 1711,
"end": 0,
"raw": "0",
"start": 0,
@ -2097,7 +2104,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1716,
"commentStart": 1714,
"end": 0,
"raw": "1",
"start": 0,
@ -2118,17 +2125,17 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1722,
"commentStart": 1720,
"end": 0,
"name": "center",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1731,
"commentStart": 1729,
"elements": [
{
"commentStart": 1732,
"commentStart": 1730,
"end": 0,
"raw": "0",
"start": 0,
@ -2140,7 +2147,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1735,
"commentStart": 1733,
"end": 0,
"raw": "0",
"start": 0,
@ -2152,7 +2159,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1738,
"commentStart": 1736,
"end": 0,
"raw": "0",
"start": 0,
@ -2173,14 +2180,14 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1744,
"commentStart": 1742,
"end": 0,
"name": "arcDegrees",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1757,
"commentStart": 1755,
"end": 0,
"raw": "360",
"start": 0,
@ -2195,14 +2202,14 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1764,
"commentStart": 1762,
"end": 0,
"name": "rotateDuplicates",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1783,
"commentStart": 1781,
"end": 0,
"raw": "true",
"start": 0,
@ -2214,10 +2221,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1650,
"commentStart": 1648,
"end": 0,
"name": {
"commentStart": 1650,
"commentStart": 1648,
"end": 0,
"name": "patternCircular3d",
"start": 0,
@ -2227,17 +2234,17 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1650,
"commentStart": 1648,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"abs_path": false,
"commentStart": 1671,
"commentStart": 1669,
"end": 0,
"name": {
"commentStart": 1671,
"commentStart": 1669,
"end": 0,
"name": "bottomSide",
"start": 0,
@ -2264,21 +2271,21 @@ description: Result of parsing dodecahedron.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 1789,
"commentStart": 1788,
"end": 0,
"expression": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 1867,
"commentStart": 1866,
"end": 0,
"name": "instances",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1879,
"commentStart": 1878,
"end": 0,
"raw": "2",
"start": 0,
@ -2293,17 +2300,17 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1884,
"commentStart": 1883,
"end": 0,
"name": "axis",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1891,
"commentStart": 1890,
"elements": [
{
"commentStart": 1892,
"commentStart": 1891,
"end": 0,
"raw": "0",
"start": 0,
@ -2315,7 +2322,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1895,
"commentStart": 1894,
"end": 0,
"raw": "1",
"start": 0,
@ -2327,7 +2334,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1898,
"commentStart": 1897,
"end": 0,
"raw": "0",
"start": 0,
@ -2348,17 +2355,17 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1904,
"commentStart": 1903,
"end": 0,
"name": "center",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1913,
"commentStart": 1912,
"elements": [
{
"commentStart": 1914,
"commentStart": 1913,
"end": 0,
"raw": "0",
"start": 0,
@ -2370,7 +2377,7 @@ description: Result of parsing dodecahedron.kcl
}
},
{
"commentStart": 1917,
"commentStart": 1916,
"end": 0,
"raw": "0",
"start": 0,
@ -2383,10 +2390,10 @@ description: Result of parsing dodecahedron.kcl
},
{
"abs_path": false,
"commentStart": 1920,
"commentStart": 1919,
"end": 0,
"name": {
"commentStart": 1920,
"commentStart": 1919,
"end": 0,
"name": "inscR",
"start": 0,
@ -2407,14 +2414,14 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1930,
"commentStart": 1929,
"end": 0,
"name": "arcDegrees",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1943,
"commentStart": 1942,
"end": 0,
"raw": "360",
"start": 0,
@ -2429,14 +2436,14 @@ description: Result of parsing dodecahedron.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 1950,
"commentStart": 1949,
"end": 0,
"name": "rotateDuplicates",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 1969,
"commentStart": 1968,
"end": 0,
"raw": "true",
"start": 0,
@ -2448,10 +2455,10 @@ description: Result of parsing dodecahedron.kcl
],
"callee": {
"abs_path": false,
"commentStart": 1836,
"commentStart": 1835,
"end": 0,
"name": {
"commentStart": 1836,
"commentStart": 1835,
"end": 0,
"name": "patternCircular3d",
"start": 0,
@ -2461,17 +2468,17 @@ description: Result of parsing dodecahedron.kcl
"start": 0,
"type": "Name"
},
"commentStart": 1836,
"commentStart": 1835,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"abs_path": false,
"commentStart": 1857,
"commentStart": 1856,
"end": 0,
"name": {
"commentStart": 1857,
"commentStart": 1856,
"end": 0,
"name": "bottom",
"start": 0,
@ -2781,7 +2788,7 @@ description: Result of parsing dodecahedron.kcl
"nonCodeNodes": {
"7": [
{
"commentStart": 1276,
"commentStart": 1274,
"end": 0,
"start": 0,
"type": "NonCodeNode",