Update kcl-samples simulation test output
This commit is contained in:
@ -72,4 +72,3 @@ helicalGear(
|
|||||||
helixAngle = 35,
|
helixAngle = 35,
|
||||||
gearHeight,
|
gearHeight,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
@ -18,18 +18,18 @@ flowchart LR
|
|||||||
9[Solid2d]
|
9[Solid2d]
|
||||||
end
|
end
|
||||||
subgraph path25 [Path]
|
subgraph path25 [Path]
|
||||||
25["Path<br>[1575, 1637, 0]"]
|
25["Path<br>[1468, 1530, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
|
||||||
26["Segment<br>[1647, 1805, 0]"]
|
26["Segment<br>[1538, 1686, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
|
||||||
27["Segment<br>[1815, 1888, 0]"]
|
27["Segment<br>[1694, 1767, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
|
||||||
28["Segment<br>[1898, 2101, 0]"]
|
28["Segment<br>[1775, 1968, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
|
||||||
29["Segment<br>[2188, 2262, 0]"]
|
29["Segment<br>[2051, 2125, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
|
||||||
30["Segment<br>[2441, 2448, 0]"]
|
30["Segment<br>[2298, 2305, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
|
||||||
31[Solid2d]
|
31[Solid2d]
|
||||||
end
|
end
|
||||||
1["Plane<br>[864, 881, 0]"]
|
1["Plane<br>[864, 881, 0]"]
|
||||||
@ -55,9 +55,9 @@ flowchart LR
|
|||||||
21["SweepEdge Opposite"]
|
21["SweepEdge Opposite"]
|
||||||
22["SweepEdge Opposite"]
|
22["SweepEdge Opposite"]
|
||||||
23["SweepEdge Adjacent"]
|
23["SweepEdge Adjacent"]
|
||||||
24["Plane<br>[1548, 1565, 0]"]
|
24["Plane<br>[1443, 1460, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
|
||||||
32["Sweep ExtrusionTwist<br>[2561, 2614, 0]"]
|
32["Sweep ExtrusionTwist<br>[2383, 2436, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 12 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 12 }, ReturnStatementArg, PipeBodyItem { index: 1 }]
|
||||||
33[Wall]
|
33[Wall]
|
||||||
%% face_code_ref=Missing NodePath
|
%% face_code_ref=Missing NodePath
|
||||||
@ -79,7 +79,7 @@ flowchart LR
|
|||||||
44["SweepEdge Adjacent"]
|
44["SweepEdge Adjacent"]
|
||||||
45["SweepEdge Opposite"]
|
45["SweepEdge Opposite"]
|
||||||
46["SweepEdge Adjacent"]
|
46["SweepEdge Adjacent"]
|
||||||
47["CompositeSolid Subtract<br>[2622, 2661, 0]"]
|
47["CompositeSolid Subtract<br>[2444, 2483, 0]"]
|
||||||
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 12 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
|
%% [ProgramBodyItem { index: 0 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 12 }, ReturnStatementArg, PipeBodyItem { index: 2 }]
|
||||||
1 --- 2
|
1 --- 2
|
||||||
2 --- 3
|
2 --- 3
|
||||||
|
|||||||
@ -1352,7 +1352,7 @@ description: Result of parsing helical-gear.kcl
|
|||||||
"type": "NonCodeNode",
|
"type": "NonCodeNode",
|
||||||
"value": {
|
"value": {
|
||||||
"type": "newLineBlockComment",
|
"type": "newLineBlockComment",
|
||||||
"value": "Define a function to create a rotated gear sketch on an offset plane",
|
"value": "Using the gear parameters, sketch an involute tooth spanning from the base diameter to the tip diameter",
|
||||||
"style": "line"
|
"style": "line"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1378,21 +1378,6 @@ description: Result of parsing helical-gear.kcl
|
|||||||
"type": "VariableDeclaration",
|
"type": "VariableDeclaration",
|
||||||
"type": "VariableDeclaration"
|
"type": "VariableDeclaration"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"commentStart": 0,
|
|
||||||
"declaration": {
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"id": {
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"name": "helicalGearSketch",
|
|
||||||
"start": 0,
|
|
||||||
"type": "Identifier"
|
|
||||||
},
|
|
||||||
"init": {
|
|
||||||
"body": {
|
|
||||||
"body": [
|
|
||||||
{
|
{
|
||||||
"commentStart": 0,
|
"commentStart": 0,
|
||||||
"declaration": {
|
"declaration": {
|
||||||
@ -2467,6 +2452,19 @@ description: Result of parsing helical-gear.kcl
|
|||||||
"style": "line"
|
"style": "line"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"7": [
|
||||||
|
{
|
||||||
|
"commentStart": 0,
|
||||||
|
"end": 0,
|
||||||
|
"start": 0,
|
||||||
|
"type": "NonCodeNode",
|
||||||
|
"value": {
|
||||||
|
"type": "newLineBlockComment",
|
||||||
|
"value": "Draw a gear sketch on the base plane",
|
||||||
|
"style": "line"
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"startNodes": []
|
"startNodes": []
|
||||||
@ -2480,15 +2478,14 @@ description: Result of parsing helical-gear.kcl
|
|||||||
},
|
},
|
||||||
"end": 0,
|
"end": 0,
|
||||||
"kind": "const",
|
"kind": "const",
|
||||||
"preComments": [
|
|
||||||
"// Using the gear parameters, sketch an involute tooth spanning from the base diameter to the tip diameter"
|
|
||||||
],
|
|
||||||
"start": 0,
|
"start": 0,
|
||||||
"type": "VariableDeclaration",
|
"type": "VariableDeclaration",
|
||||||
"type": "VariableDeclaration"
|
"type": "VariableDeclaration"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"argument": {
|
"argument": {
|
||||||
|
"body": [
|
||||||
|
{
|
||||||
"abs_path": false,
|
"abs_path": false,
|
||||||
"commentStart": 0,
|
"commentStart": 0,
|
||||||
"end": 0,
|
"end": 0,
|
||||||
@ -2504,59 +2501,6 @@ description: Result of parsing helical-gear.kcl
|
|||||||
"type": "Name",
|
"type": "Name",
|
||||||
"type": "Name"
|
"type": "Name"
|
||||||
},
|
},
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"start": 0,
|
|
||||||
"type": "ReturnStatement",
|
|
||||||
"type": "ReturnStatement"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"start": 0
|
|
||||||
},
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"params": [],
|
|
||||||
"start": 0,
|
|
||||||
"type": "FunctionExpression",
|
|
||||||
"type": "FunctionExpression"
|
|
||||||
},
|
|
||||||
"start": 0,
|
|
||||||
"type": "VariableDeclarator"
|
|
||||||
},
|
|
||||||
"end": 0,
|
|
||||||
"kind": "fn",
|
|
||||||
"start": 0,
|
|
||||||
"type": "VariableDeclaration",
|
|
||||||
"type": "VariableDeclaration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argument": {
|
|
||||||
"body": [
|
|
||||||
{
|
|
||||||
"callee": {
|
|
||||||
"abs_path": false,
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"name": {
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"name": "helicalGearSketch",
|
|
||||||
"start": 0,
|
|
||||||
"type": "Identifier"
|
|
||||||
},
|
|
||||||
"path": [],
|
|
||||||
"start": 0,
|
|
||||||
"type": "Name"
|
|
||||||
},
|
|
||||||
"commentStart": 0,
|
|
||||||
"end": 0,
|
|
||||||
"start": 0,
|
|
||||||
"type": "CallExpressionKw",
|
|
||||||
"type": "CallExpressionKw",
|
|
||||||
"unlabeled": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
@ -2718,11 +2662,6 @@ description: Result of parsing helical-gear.kcl
|
|||||||
},
|
},
|
||||||
"commentStart": 0,
|
"commentStart": 0,
|
||||||
"end": 0,
|
"end": 0,
|
||||||
"preComments": [
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"// Draw a gear sketch on the base plane"
|
|
||||||
],
|
|
||||||
"start": 0,
|
"start": 0,
|
||||||
"type": "ReturnStatement",
|
"type": "ReturnStatement",
|
||||||
"type": "ReturnStatement"
|
"type": "ReturnStatement"
|
||||||
@ -3043,6 +2982,17 @@ description: Result of parsing helical-gear.kcl
|
|||||||
"type": "newLine"
|
"type": "newLine"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"2": [
|
||||||
|
{
|
||||||
|
"commentStart": 0,
|
||||||
|
"end": 0,
|
||||||
|
"start": 0,
|
||||||
|
"type": "NonCodeNode",
|
||||||
|
"value": {
|
||||||
|
"type": "newLine"
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"startNodes": [
|
"startNodes": [
|
||||||
|
|||||||
@ -703,45 +703,6 @@ description: Operations executed helical-gear.kcl
|
|||||||
},
|
},
|
||||||
"sourceRange": []
|
"sourceRange": []
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "GroupBegin",
|
|
||||||
"group": {
|
|
||||||
"type": "FunctionCall",
|
|
||||||
"name": "helicalGearSketch",
|
|
||||||
"functionSourceRange": [],
|
|
||||||
"unlabeledArg": null,
|
|
||||||
"labeledArgs": {}
|
|
||||||
},
|
|
||||||
"nodePath": {
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"type": "ProgramBodyItem",
|
|
||||||
"index": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationDeclaration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationInit"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBody"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBodyItem",
|
|
||||||
"index": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ReturnStatementArg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "PipeBodyItem",
|
|
||||||
"index": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"sourceRange": []
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "StdLibCall",
|
"type": "StdLibCall",
|
||||||
"name": "startSketchOn",
|
"name": "startSketchOn",
|
||||||
@ -778,19 +739,6 @@ description: Operations executed helical-gear.kcl
|
|||||||
{
|
{
|
||||||
"type": "VariableDeclarationInit"
|
"type": "VariableDeclarationInit"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBody"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBodyItem",
|
|
||||||
"index": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationDeclaration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationInit"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "PipeBodyItem",
|
"type": "PipeBodyItem",
|
||||||
"index": 0
|
"index": 0
|
||||||
@ -862,19 +810,6 @@ description: Operations executed helical-gear.kcl
|
|||||||
{
|
{
|
||||||
"type": "VariableDeclarationInit"
|
"type": "VariableDeclarationInit"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBody"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBodyItem",
|
|
||||||
"index": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationDeclaration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationInit"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "PipeBodyItem",
|
"type": "PipeBodyItem",
|
||||||
"index": 1
|
"index": 1
|
||||||
@ -997,19 +932,6 @@ description: Operations executed helical-gear.kcl
|
|||||||
{
|
{
|
||||||
"type": "VariableDeclarationInit"
|
"type": "VariableDeclarationInit"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBody"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBodyItem",
|
|
||||||
"index": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationDeclaration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationInit"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "PipeBodyItem",
|
"type": "PipeBodyItem",
|
||||||
"index": 3
|
"index": 3
|
||||||
@ -1132,19 +1054,6 @@ description: Operations executed helical-gear.kcl
|
|||||||
{
|
{
|
||||||
"type": "VariableDeclarationInit"
|
"type": "VariableDeclarationInit"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBody"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "FunctionExpressionBodyItem",
|
|
||||||
"index": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationDeclaration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "VariableDeclarationInit"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "PipeBodyItem",
|
"type": "PipeBodyItem",
|
||||||
"index": 5
|
"index": 5
|
||||||
@ -1204,9 +1113,6 @@ description: Operations executed helical-gear.kcl
|
|||||||
{
|
{
|
||||||
"type": "GroupEnd"
|
"type": "GroupEnd"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "GroupEnd"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "StdLibCall",
|
"type": "StdLibCall",
|
||||||
"name": "extrude",
|
"name": "extrude",
|
||||||
|
|||||||
Reference in New Issue
Block a user