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 // A small axial fan, used to push or draw airflow over components to remove excess heat
// Set units // Set units

View File

@ -11,7 +11,7 @@ centerHoleDiameter = 1 + 3 / 4
plateThickness = 0.375 plateThickness = 0.375
// Check that the plate is thick enough to countersink a hole // 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 // A bit of math to calculate the tangent line between the two diameters
r1 = centerHoleDiameter / 2 * 1.5 + .35 r1 = centerHoleDiameter / 2 * 1.5 + .35

View File

@ -3,7 +3,7 @@
"file": "main.kcl", "file": "main.kcl",
"pathFromProjectDirectoryToFirstFile": "axial-fan/main.kcl", "pathFromProjectDirectoryToFirstFile": "axial-fan/main.kcl",
"multipleFiles": true, "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", "description": "A small axial fan, used to push or draw airflow over components to remove excess heat",
"files": [ "files": [
"fan-housing.kcl", "fan-housing.kcl",
@ -667,7 +667,7 @@
"pathFromProjectDirectoryToFirstFile": "t-slot-rail/main.kcl", "pathFromProjectDirectoryToFirstFile": "t-slot-rail/main.kcl",
"multipleFiles": false, "multipleFiles": false,
"title": "T-Slotted Framing Rail", "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": [ "files": [
"main.kcl" "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 // 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 // Set units
@settings(defaultLengthUnit = in, kclVersion = 1.0) @settings(defaultLengthUnit = in, kclVersion = 1.0)

View File

@ -160,7 +160,7 @@ description: Result of parsing axial-fan.kcl
"type": "Identifier" "type": "Identifier"
}, },
"preComments": [ "preComments": [
"// PC Fan", "// Axial Fan",
"// A small axial fan, used to push or draw airflow over components to remove excess heat", "// 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 9 --- 36
10 --- 22 10 --- 22
10 x--> 25 10 x--> 25
10 --- 32 10 --- 29
10 --- 38 10 --- 35
11 --- 23 11 --- 23
11 x--> 25 11 x--> 25
11 --- 33 11 --- 33
11 --- 39 11 --- 39
12 --- 24 12 --- 24
12 x--> 25 12 x--> 25
12 --- 29 12 --- 32
12 --- 35 12 --- 38
14 --- 19 14 --- 19
14 x--> 27 14 x--> 27
14 --- 28 14 --- 28
@ -138,15 +138,15 @@ flowchart LR
21 --- 30 21 --- 30
21 --- 36 21 --- 36
37 <--x 21 37 <--x 21
22 --- 32 22 --- 29
22 --- 38 22 --- 35
39 <--x 22 36 <--x 22
23 --- 33 23 --- 33
35 <--x 23 35 <--x 23
23 --- 39 23 --- 39
24 --- 29 24 --- 32
24 --- 35 24 --- 38
36 <--x 24 39 <--x 24
28 <--x 26 28 <--x 26
29 <--x 27 29 <--x 27
30 <--x 27 30 <--x 27

View File

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

View File

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

View File

@ -200,6 +200,103 @@ description: Result of parsing countersunk-plate.kcl
"type": "VariableDeclaration", "type": "VariableDeclaration",
"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, "commentStart": 0,
"declaration": { "declaration": {
@ -294,10 +391,6 @@ description: Result of parsing countersunk-plate.kcl
"end": 0, "end": 0,
"kind": "const", "kind": "const",
"preComments": [ "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" "// 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": { "nonCodeMeta": {
"nonCodeNodes": { "nonCodeNodes": {
"8": [ "9": [
{ {
"commentStart": 0, "commentStart": 0,
"end": 0, "end": 0,

View File

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

View File

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

View File

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

View File

@ -2341,7 +2341,7 @@ description: Result of parsing t-slot-rail.kcl
}, },
"preComments": [ "preComments": [
"// T-Slotted Framing Rail", "// 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" "// Set units"

View File

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