Compare commits

...

10 Commits

17 changed files with 1195 additions and 1102 deletions

View File

@ -1,4 +1,4 @@
// PC Fan
// Axial Fan
// A small axial fan, used to push or draw airflow over components to remove excess heat
// Set units

View File

@ -11,7 +11,7 @@ centerHoleDiameter = 1 + 3 / 4
plateThickness = 0.375
// Check that the plate is thick enough to countersink a hole
// assertGreaterThan(plateThickness, boltDiameter, "This plate is not thick enough for the necessary countersink dimensions")
assert(plateThickness, isGreaterThan = boltDiameter, error = "This plate is not thick enough for the necessary countersink dimensions")
// A bit of math to calculate the tangent line between the two diameters
r1 = centerHoleDiameter / 2 * 1.5 + .35

View File

@ -3,7 +3,7 @@
"file": "main.kcl",
"pathFromProjectDirectoryToFirstFile": "axial-fan/main.kcl",
"multipleFiles": true,
"title": "PC Fan",
"title": "Axial Fan",
"description": "A small axial fan, used to push or draw airflow over components to remove excess heat",
"files": [
"fan-housing.kcl",
@ -667,7 +667,7 @@
"pathFromProjectDirectoryToFirstFile": "t-slot-rail/main.kcl",
"multipleFiles": false,
"title": "T-Slotted Framing Rail",
"description": "A T-slotted framing rail, or T-slot extrusion, is a rectangular or square aluminum profile with a \"T\" shaped slot along one or more sides. These slots allow for easy attachment of various hardware components like brackets, connectors, and fasteners, making it a versatile and customizable framing system.",
"description": "A T-slotted framing rail, commonly known as an 80/20 rail, is a rectangular or square aluminum extrusion with a \"T\" shaped slot along one or more sides. These slots allow for easy attachment of various hardware components like brackets, connectors, and fasteners, making it a versatile and customizable framing system.",
"files": [
"main.kcl"
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

@ -1,5 +1,5 @@
// T-Slotted Framing Rail
// A T-slotted framing rail, or T-slot extrusion, is a rectangular or square aluminum profile with a "T" shaped slot along one or more sides. These slots allow for easy attachment of various hardware components like brackets, connectors, and fasteners, making it a versatile and customizable framing system.
// A T-slotted framing rail, commonly known as an 80/20 rail, is a rectangular or square aluminum extrusion with a "T" shaped slot along one or more sides. These slots allow for easy attachment of various hardware components like brackets, connectors, and fasteners, making it a versatile and customizable framing system.
// Set units
@settings(defaultLengthUnit = in, kclVersion = 1.0)

View File

@ -160,7 +160,7 @@ description: Result of parsing axial-fan.kcl
"type": "Identifier"
},
"preComments": [
"// PC Fan",
"// Axial Fan",
"// A small axial fan, used to push or draw airflow over components to remove excess heat",
"",
"",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

@ -95,16 +95,16 @@ flowchart LR
9 --- 36
10 --- 22
10 x--> 25
10 --- 32
10 --- 38
10 --- 29
10 --- 35
11 --- 23
11 x--> 25
11 --- 33
11 --- 39
12 --- 24
12 x--> 25
12 --- 29
12 --- 35
12 --- 32
12 --- 38
14 --- 19
14 x--> 27
14 --- 28
@ -138,15 +138,15 @@ flowchart LR
21 --- 30
21 --- 36
37 <--x 21
22 --- 32
22 --- 38
39 <--x 22
22 --- 29
22 --- 35
36 <--x 22
23 --- 33
35 <--x 23
23 --- 39
24 --- 29
24 --- 35
36 <--x 24
24 --- 32
24 --- 38
39 <--x 24
28 <--x 26
29 <--x 27
30 <--x 27

View File

@ -366,112 +366,112 @@ flowchart LR
11 ---- 74
26 --- 75
26 x--> 108
26 --- 117
26 --- 149
26 --- 120
26 --- 152
27 --- 76
27 x--> 108
27 --- 116
27 --- 148
27 --- 128
27 --- 160
28 --- 77
28 x--> 108
28 --- 134
28 --- 166
28 --- 129
28 --- 161
29 --- 78
29 x--> 108
29 --- 114
29 --- 146
29 --- 138
29 --- 170
30 --- 79
30 x--> 108
30 --- 118
30 --- 150
30 --- 122
30 --- 154
31 --- 80
31 x--> 108
31 --- 139
31 --- 171
31 --- 133
31 --- 165
32 --- 81
32 x--> 108
32 --- 115
32 --- 147
33 --- 82
33 x--> 108
33 --- 126
33 --- 158
33 --- 137
33 --- 169
34 --- 83
34 x--> 108
34 --- 127
34 --- 159
34 --- 139
34 --- 171
35 --- 84
35 x--> 108
35 --- 138
35 --- 170
35 --- 130
35 --- 162
36 --- 85
36 x--> 108
36 --- 133
36 --- 165
36 --- 116
36 --- 148
37 --- 86
37 x--> 108
37 --- 119
37 --- 151
37 --- 127
37 --- 159
38 --- 87
38 x--> 108
38 --- 125
38 --- 157
38 --- 124
38 --- 156
39 --- 88
39 x--> 108
39 --- 124
39 --- 156
39 --- 126
39 --- 158
40 --- 89
40 x--> 108
40 --- 120
40 --- 152
40 --- 119
40 --- 151
41 --- 90
41 x--> 108
41 --- 131
41 --- 163
41 --- 121
41 --- 153
42 --- 91
42 x--> 108
42 --- 128
42 --- 160
42 --- 117
42 --- 149
43 --- 92
43 x--> 108
43 --- 130
43 --- 162
43 --- 132
43 --- 164
44 --- 93
44 x--> 108
44 --- 136
44 --- 168
44 --- 135
44 --- 167
45 --- 94
45 x--> 108
45 --- 135
45 --- 167
45 --- 125
45 --- 157
46 --- 95
46 x--> 108
46 --- 123
46 --- 155
46 --- 134
46 --- 166
47 --- 96
47 x--> 108
47 --- 122
47 --- 154
47 --- 118
47 --- 150
48 --- 97
48 x--> 108
48 --- 132
48 --- 164
48 --- 131
48 --- 163
49 --- 98
49 x--> 108
49 --- 129
49 --- 161
49 --- 113
49 --- 145
50 --- 99
50 x--> 108
50 --- 137
50 --- 169
50 --- 136
50 --- 168
51 --- 100
51 x--> 108
51 --- 113
51 --- 145
51 --- 114
51 --- 146
52 --- 101
52 x--> 108
52 --- 121
52 --- 153
52 --- 123
52 --- 155
61 --- 102
61 x--> 110
61 --- 140
@ -594,87 +594,87 @@ flowchart LR
74 --- 174
74 --- 175
74 --- 176
75 --- 117
75 --- 149
150 <--x 75
76 --- 116
76 --- 148
149 <--x 76
77 --- 134
77 --- 166
167 <--x 77
78 --- 114
78 --- 146
147 <--x 78
79 --- 118
79 --- 150
151 <--x 79
80 --- 139
145 <--x 80
80 --- 171
75 --- 120
75 --- 152
153 <--x 75
76 --- 128
76 --- 160
161 <--x 76
77 --- 129
77 --- 161
162 <--x 77
78 --- 138
78 --- 170
171 <--x 78
79 --- 122
79 --- 154
155 <--x 79
80 --- 133
80 --- 165
166 <--x 80
81 --- 115
81 --- 147
148 <--x 81
82 --- 126
82 --- 158
159 <--x 82
83 --- 127
83 --- 159
160 <--x 83
84 --- 138
84 --- 170
171 <--x 84
85 --- 133
85 --- 165
166 <--x 85
86 --- 119
86 --- 151
152 <--x 86
87 --- 125
87 --- 157
158 <--x 87
88 --- 124
88 --- 156
157 <--x 88
89 --- 120
89 --- 152
153 <--x 89
90 --- 131
90 --- 163
164 <--x 90
91 --- 128
91 --- 160
161 <--x 91
92 --- 130
92 --- 162
163 <--x 92
93 --- 136
93 --- 168
169 <--x 93
94 --- 135
94 --- 167
168 <--x 94
95 --- 123
95 --- 155
156 <--x 95
96 --- 122
96 --- 154
155 <--x 96
97 --- 132
97 --- 164
165 <--x 97
98 --- 129
98 --- 161
162 <--x 98
99 --- 137
99 --- 169
170 <--x 99
100 --- 113
100 --- 145
146 <--x 100
101 --- 121
101 --- 153
154 <--x 101
82 --- 137
82 --- 169
170 <--x 82
83 --- 139
145 <--x 83
83 --- 171
84 --- 130
84 --- 162
163 <--x 84
85 --- 116
85 --- 148
149 <--x 85
86 --- 127
86 --- 159
160 <--x 86
87 --- 124
87 --- 156
157 <--x 87
88 --- 126
88 --- 158
159 <--x 88
89 --- 119
89 --- 151
152 <--x 89
90 --- 121
90 --- 153
154 <--x 90
91 --- 117
91 --- 149
150 <--x 91
92 --- 132
92 --- 164
165 <--x 92
93 --- 135
93 --- 167
168 <--x 93
94 --- 125
94 --- 157
158 <--x 94
95 --- 134
95 --- 166
167 <--x 95
96 --- 118
96 --- 150
151 <--x 96
97 --- 131
97 --- 163
164 <--x 97
98 --- 113
98 --- 145
146 <--x 98
99 --- 136
99 --- 168
169 <--x 99
100 --- 114
100 --- 146
147 <--x 100
101 --- 123
101 --- 155
156 <--x 101
102 --- 140
102 --- 172
103 --- 144

View File

@ -1,61 +1,61 @@
```mermaid
flowchart LR
subgraph path4 [Path]
4["Path<br>[812, 876, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
8["Segment<br>[882, 939, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
9["Segment<br>[945, 1004, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
10["Segment<br>[1010, 1067, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
11["Segment<br>[1073, 1126, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
12["Segment<br>[1132, 1190, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
13["Segment<br>[1196, 1255, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
14["Segment<br>[1261, 1317, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
15["Segment<br>[1323, 1388, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
16["Segment<br>[1394, 1401, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
4["Path<br>[822, 886, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 1 }]
8["Segment<br>[892, 949, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 2 }]
9["Segment<br>[955, 1014, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 3 }]
10["Segment<br>[1020, 1077, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 4 }]
11["Segment<br>[1083, 1136, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 5 }]
12["Segment<br>[1142, 1200, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 6 }]
13["Segment<br>[1206, 1265, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 7 }]
14["Segment<br>[1271, 1327, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 8 }]
15["Segment<br>[1333, 1398, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 9 }]
16["Segment<br>[1404, 1411, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 10 }]
23[Solid2d]
end
subgraph path5 [Path]
5["Path<br>[1425, 1487, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
17["Segment<br>[1425, 1487, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
5["Path<br>[1435, 1497, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
17["Segment<br>[1435, 1497, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 11 }, CallKwArg { index: 0 }]
20[Solid2d]
end
subgraph path6 [Path]
6["Path<br>[1650, 1726, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
18["Segment<br>[1650, 1726, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
6["Path<br>[1660, 1736, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
18["Segment<br>[1660, 1736, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
21[Solid2d]
end
subgraph path7 [Path]
7["Path<br>[1650, 1726, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
19["Segment<br>[1650, 1726, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
7["Path<br>[1660, 1736, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
19["Segment<br>[1660, 1736, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 1 }]
22[Solid2d]
end
1["Plane<br>[700, 717, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
2["StartSketchOnFace<br>[1606, 1642, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
3["StartSketchOnFace<br>[1606, 1642, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
24["Sweep Extrusion<br>[1494, 1529, 0]"]
%% [ProgramBodyItem { index: 9 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
25["Sweep Extrusion<br>[1734, 1767, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
26["Sweep Extrusion<br>[1734, 1767, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
1["Plane<br>[710, 727, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 0 }]
2["StartSketchOnFace<br>[1616, 1652, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
3["StartSketchOnFace<br>[1616, 1652, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
24["Sweep Extrusion<br>[1504, 1539, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, PipeBodyItem { index: 12 }]
25["Sweep Extrusion<br>[1744, 1777, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
26["Sweep Extrusion<br>[1744, 1777, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 2 }]
27[Wall]
%% face_code_ref=Missing NodePath
28[Wall]
@ -79,7 +79,7 @@ flowchart LR
37["Cap Start"]
%% face_code_ref=Missing NodePath
38["Cap End"]
%% face_code_ref=[ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
%% face_code_ref=[ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 0 }]
39["SweepEdge Opposite"]
40["SweepEdge Opposite"]
41["SweepEdge Opposite"]
@ -100,10 +100,10 @@ flowchart LR
56["SweepEdge Adjacent"]
57["SweepEdge Adjacent"]
58["SweepEdge Adjacent"]
59["EdgeCut Chamfer<br>[1830, 1877, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
60["EdgeCut Chamfer<br>[1830, 1877, 0]"]
%% [ProgramBodyItem { index: 10 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
59["EdgeCut Chamfer<br>[1840, 1887, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
60["EdgeCut Chamfer<br>[1840, 1887, 0]"]
%% [ProgramBodyItem { index: 11 }, VariableDeclarationDeclaration, VariableDeclarationInit, FunctionExpressionBody, FunctionExpressionBodyItem { index: 0 }, ExpressionStatementExpr, PipeBodyItem { index: 3 }]
1 --- 4
1 --- 5
38 x--> 2

View File

@ -200,6 +200,103 @@ description: Result of parsing countersunk-plate.kcl
"type": "VariableDeclaration",
"type": "VariableDeclaration"
},
{
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 0,
"end": 0,
"name": "isGreaterThan",
"start": 0,
"type": "Identifier"
},
"arg": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 0,
"end": 0,
"name": "boltDiameter",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 0,
"end": 0,
"name": "error",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 0,
"end": 0,
"raw": "\"This plate is not thick enough for the necessary countersink dimensions\"",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "This plate is not thick enough for the necessary countersink dimensions"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 0,
"end": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 0,
"end": 0,
"name": "plateThickness",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name",
"type": "Name"
}
},
"preComments": [
"",
"",
"// Check that the plate is thick enough to countersink a hole"
],
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
},
{
"commentStart": 0,
"declaration": {
@ -294,10 +391,6 @@ description: Result of parsing countersunk-plate.kcl
"end": 0,
"kind": "const",
"preComments": [
"",
"",
"// Check that the plate is thick enough to countersink a hole",
"// assertGreaterThan(plateThickness, boltDiameter, \"This plate is not thick enough for the necessary countersink dimensions\")",
"",
"",
"// A bit of math to calculate the tangent line between the two diameters"
@ -2560,7 +2653,7 @@ description: Result of parsing countersunk-plate.kcl
],
"nonCodeMeta": {
"nonCodeNodes": {
"8": [
"9": [
{
"commentStart": 0,
"end": 0,

View File

@ -157,7 +157,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 4
"index": 5
},
{
"type": "VariableDeclarationDeclaration"
@ -190,7 +190,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 5
"index": 6
},
{
"type": "VariableDeclarationDeclaration"
@ -223,7 +223,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 6
"index": 7
},
{
"type": "VariableDeclarationDeclaration"
@ -252,7 +252,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 7
"index": 8
},
{
"type": "VariableDeclarationDeclaration"
@ -285,7 +285,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 8
"index": 9
},
{
"type": "VariableDeclarationDeclaration"
@ -312,7 +312,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 9
"index": 10
},
{
"type": "VariableDeclarationDeclaration"
@ -370,7 +370,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 9
"index": 10
},
{
"type": "VariableDeclarationDeclaration"
@ -464,7 +464,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 9
"index": 10
},
{
"type": "VariableDeclarationDeclaration"
@ -514,7 +514,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 9
"index": 10
},
{
"type": "VariableDeclarationDeclaration"
@ -558,7 +558,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 11
"index": 12
},
{
"type": "ExpressionStatementExpr"
@ -592,7 +592,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 10
"index": 11
},
{
"type": "VariableDeclarationDeclaration"
@ -652,7 +652,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 10
"index": 11
},
{
"type": "VariableDeclarationDeclaration"
@ -725,7 +725,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 10
"index": 11
},
{
"type": "VariableDeclarationDeclaration"
@ -782,7 +782,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 12
"index": 13
},
{
"type": "ExpressionStatementExpr"
@ -816,7 +816,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 10
"index": 11
},
{
"type": "VariableDeclarationDeclaration"
@ -876,7 +876,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 10
"index": 11
},
{
"type": "VariableDeclarationDeclaration"
@ -949,7 +949,7 @@ description: Operations executed countersunk-plate.kcl
"steps": [
{
"type": "ProgramBodyItem",
"index": 10
"index": 11
},
{
"type": "VariableDeclarationDeclaration"

View File

@ -582,48 +582,48 @@ flowchart LR
46 --- 226
72 --- 112
72 x--> 151
72 --- 166
72 --- 200
72 --- 168
72 --- 202
73 --- 113
73 x--> 151
73 --- 164
73 --- 198
74 --- 114
74 x--> 151
74 --- 162
74 --- 196
74 --- 160
74 --- 194
75 --- 115
75 x--> 151
75 --- 165
75 --- 199
75 --- 163
75 --- 197
76 --- 116
76 x--> 151
76 --- 160
76 --- 194
76 --- 165
76 --- 199
77 --- 117
77 x--> 151
77 --- 168
77 --- 202
77 --- 162
77 --- 196
78 --- 118
78 x--> 151
78 --- 169
78 --- 203
79 --- 119
79 x--> 151
79 --- 163
79 --- 197
79 --- 167
79 --- 201
80 --- 120
80 x--> 151
80 --- 170
80 --- 204
80 --- 161
80 --- 195
81 --- 121
81 x--> 151
81 --- 161
81 --- 195
81 --- 166
81 --- 200
82 --- 122
82 x--> 151
82 --- 167
82 --- 201
82 --- 170
82 --- 204
84 --- 123
84 x--> 145
84 --- 171
@ -756,39 +756,39 @@ flowchart LR
109 --- 107
111 --- 159
111 --- 193
112 --- 166
112 --- 200
201 <--x 112
112 --- 168
112 --- 202
203 <--x 112
113 --- 164
113 --- 198
199 <--x 113
114 --- 162
114 --- 196
197 <--x 114
115 --- 165
115 --- 199
200 <--x 115
116 --- 160
116 --- 194
195 <--x 116
117 --- 168
117 --- 202
203 <--x 117
114 --- 160
114 --- 194
195 <--x 114
115 --- 163
115 --- 197
198 <--x 115
116 --- 165
116 --- 199
200 <--x 116
117 --- 162
117 --- 196
197 <--x 117
118 --- 169
118 --- 203
204 <--x 118
119 --- 163
119 --- 197
198 <--x 119
120 --- 170
194 <--x 120
120 --- 204
121 --- 161
121 --- 195
196 <--x 121
122 --- 167
122 --- 201
202 <--x 122
119 --- 167
119 --- 201
202 <--x 119
120 --- 161
120 --- 195
196 <--x 120
121 --- 166
121 --- 200
201 <--x 121
122 --- 170
194 <--x 122
122 --- 204
123 --- 171
123 --- 205
124 --- 186

View File

@ -177,68 +177,68 @@ flowchart LR
2 ---- 34
17 --- 35
17 x--> 52
17 --- 66
17 --- 83
17 --- 63
17 --- 80
18 --- 36
18 x--> 52
18 --- 54
18 --- 71
18 --- 58
18 --- 75
19 --- 37
19 x--> 52
19 --- 61
19 --- 78
19 --- 55
19 --- 72
20 --- 38
20 x--> 52
20 --- 67
20 --- 84
20 --- 62
20 --- 79
21 --- 39
21 x--> 52
21 --- 57
21 --- 74
21 --- 68
21 --- 85
22 --- 40
22 x--> 52
22 --- 64
22 --- 81
22 --- 61
22 --- 78
23 --- 41
23 x--> 52
23 --- 62
23 --- 79
23 --- 67
23 --- 84
24 --- 42
24 x--> 52
24 --- 68
24 --- 85
24 --- 65
24 --- 82
25 --- 43
25 x--> 52
25 --- 70
25 --- 87
25 --- 66
25 --- 83
26 --- 44
26 x--> 52
26 --- 56
26 --- 73
26 --- 69
26 --- 86
27 --- 45
27 x--> 52
27 --- 69
27 --- 86
27 --- 56
27 --- 73
28 --- 46
28 x--> 52
28 --- 65
28 --- 82
28 --- 54
28 --- 71
29 --- 47
29 x--> 52
29 --- 55
29 --- 72
29 --- 60
29 --- 77
30 --- 48
30 x--> 52
30 --- 58
30 --- 75
30 --- 64
30 --- 81
31 --- 49
31 x--> 52
31 --- 60
31 --- 77
31 --- 70
31 --- 87
32 --- 50
32 x--> 52
32 --- 63
32 --- 80
32 --- 57
32 --- 74
33 --- 51
33 x--> 52
33 --- 59
@ -296,54 +296,54 @@ flowchart LR
34 --- 85
34 --- 86
34 --- 87
35 --- 66
82 <--x 35
35 --- 83
36 --- 54
36 --- 71
87 <--x 36
37 --- 61
77 <--x 37
37 --- 78
38 --- 67
83 <--x 38
38 --- 84
39 --- 57
73 <--x 39
39 --- 74
40 --- 64
80 <--x 40
40 --- 81
41 --- 62
78 <--x 41
41 --- 79
42 --- 68
84 <--x 42
42 --- 85
43 --- 70
86 <--x 43
43 --- 87
44 --- 56
72 <--x 44
44 --- 73
45 --- 69
85 <--x 45
45 --- 86
46 --- 65
81 <--x 46
46 --- 82
47 --- 55
71 <--x 47
47 --- 72
48 --- 58
74 <--x 48
48 --- 75
49 --- 60
76 <--x 49
49 --- 77
50 --- 63
79 <--x 50
50 --- 80
35 --- 63
79 <--x 35
35 --- 80
36 --- 58
74 <--x 36
36 --- 75
37 --- 55
71 <--x 37
37 --- 72
38 --- 62
78 <--x 38
38 --- 79
39 --- 68
84 <--x 39
39 --- 85
40 --- 61
77 <--x 40
40 --- 78
41 --- 67
83 <--x 41
41 --- 84
42 --- 65
81 <--x 42
42 --- 82
43 --- 66
82 <--x 43
43 --- 83
44 --- 69
85 <--x 44
44 --- 86
45 --- 56
72 <--x 45
45 --- 73
46 --- 54
46 --- 71
87 <--x 46
47 --- 60
76 <--x 47
47 --- 77
48 --- 64
80 <--x 48
48 --- 81
49 --- 70
86 <--x 49
49 --- 87
50 --- 57
73 <--x 50
50 --- 74
51 --- 59
75 <--x 51
51 --- 76

View File

@ -2341,7 +2341,7 @@ description: Result of parsing t-slot-rail.kcl
},
"preComments": [
"// T-Slotted Framing Rail",
"// A T-slotted framing rail, or T-slot extrusion, is a rectangular or square aluminum profile with a \"T\" shaped slot along one or more sides. These slots allow for easy attachment of various hardware components like brackets, connectors, and fasteners, making it a versatile and customizable framing system.",
"// A T-slotted framing rail, commonly known as an 80/20 rail, is a rectangular or square aluminum extrusion with a \"T\" shaped slot along one or more sides. These slots allow for easy attachment of various hardware components like brackets, connectors, and fasteners, making it a versatile and customizable framing system.",
"",
"",
"// Set units"

View File

@ -889,7 +889,7 @@ flowchart LR
99 --- 265
99 --- 314
106 --- 181
106 x--> 213
106 x--> 212
106 --- 260
106 --- 309
126 --- 194
@ -1227,7 +1227,7 @@ flowchart LR
251 <--x 209
252 <--x 209
253 <--x 209
260 <--x 212
260 <--x 213
261 <--x 214
262 <--x 214
263 <--x 214