Improve KCL Samples (#5767)

* improve KCL Samples & .gitignore

* update block and car wheel assembly

* update flange and lego, delete flange xy

* artifacts

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* scale

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* docs

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Josh Gomez
2025-03-13 23:38:51 -07:00
committed by GitHub
parent dd99c27d56
commit 58e0c0e916
101 changed files with 107664 additions and 57348 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
---
source: kcl-lib/src/simulation_tests.rs
description: Artifact graph flowchart flange.kcl
extension: md
snapshot_kind: binary
---

View File

@ -0,0 +1,103 @@
```mermaid
flowchart LR
subgraph path2 [Path]
2["Path<br>[851, 957, 0]"]
3["Segment<br>[851, 957, 0]"]
4[Solid2d]
end
subgraph path6 [Path]
6["Path<br>[1195, 1261, 0]"]
7["Segment<br>[1195, 1261, 0]"]
8[Solid2d]
end
subgraph path15 [Path]
15["Path<br>[1429, 1504, 0]"]
16["Segment<br>[1429, 1504, 0]"]
17[Solid2d]
end
subgraph path23 [Path]
23["Path<br>[1662, 1740, 0]"]
24["Segment<br>[1662, 1740, 0]"]
25[Solid2d]
end
subgraph path31 [Path]
31["Path<br>[1870, 1913, 0]"]
32["Segment<br>[1870, 1913, 0]"]
33[Solid2d]
end
1["Plane<br>[826, 845, 0]"]
5["Plane<br>[1170, 1189, 0]"]
9["Sweep Extrusion<br>[1289, 1320, 0]"]
10[Wall]
11["Cap Start"]
12["Cap End"]
13["SweepEdge Opposite"]
14["SweepEdge Adjacent"]
18["Sweep Extrusion<br>[1510, 1545, 0]"]
19[Wall]
20["Cap End"]
21["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
26["Sweep Extrusion<br>[1746, 1779, 0]"]
27[Wall]
28["Cap End"]
29["SweepEdge Opposite"]
30["SweepEdge Adjacent"]
34["Sweep Extrusion<br>[1919, 1994, 0]"]
35[Wall]
36["SweepEdge Opposite"]
37["SweepEdge Adjacent"]
38["StartSketchOnFace<br>[1391, 1423, 0]"]
39["StartSketchOnFace<br>[1622, 1656, 0]"]
40["StartSketchOnFace<br>[1830, 1864, 0]"]
1 --- 2
2 --- 3
2 --- 4
5 --- 6
6 --- 7
6 ---- 9
6 --- 8
7 --- 10
7 --- 13
7 --- 14
9 --- 10
9 --- 11
9 --- 12
9 --- 13
9 --- 14
11 --- 23
12 --- 15
15 --- 16
15 ---- 18
15 --- 17
16 --- 19
16 --- 21
16 --- 22
18 --- 19
18 --- 20
18 --- 21
18 --- 22
20 --- 31
23 --- 24
23 ---- 26
23 --- 25
24 --- 27
24 --- 29
24 --- 30
26 --- 27
26 --- 28
26 --- 29
26 --- 30
31 --- 32
31 ---- 34
31 --- 33
32 --- 35
32 --- 36
32 --- 37
34 --- 35
34 --- 36
34 --- 37
12 <--x 38
11 <--x 39
20 <--x 40
```

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,385 @@
---
source: kcl-lib/src/simulation_tests.rs
description: Operations executed flange.kcl
---
[
{
"labeledArgs": {
"data": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": [
840,
844,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
826,
845,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": [
1184,
1188,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
1170,
1189,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"holeSketch": {
"value": {
"type": "Sketches",
"value": [
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
},
{
"artifactId": "[uuid]"
}
]
},
"sourceRange": [
1272,
1279,
0
]
},
"sketch": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1281,
1282,
0
]
}
},
"name": "hole",
"sourceRange": [
1267,
1283,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.625,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1306,
1319,
0
]
}
},
"name": "extrude",
"sourceRange": [
1289,
1320,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1289,
1320,
0
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1405,
1415,
0
]
},
"tag": {
"value": {
"type": "String",
"value": "end"
},
"sourceRange": [
1417,
1422,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
1391,
1423,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.1279999999999999,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1527,
1544,
0
]
}
},
"name": "extrude",
"sourceRange": [
1510,
1545,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1510,
1545,
0
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1636,
1646,
0
]
},
"tag": {
"value": {
"type": "String",
"value": "start"
},
"sourceRange": [
1648,
1655,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
1622,
1656,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 0.06,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1763,
1778,
0
]
}
},
"name": "extrude",
"sourceRange": [
1746,
1779,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1746,
1779,
0
]
}
},
{
"labeledArgs": {
"data": {
"value": {
"type": "Solid",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1844,
1856,
0
]
},
"tag": {
"value": {
"type": "String",
"value": "end"
},
"sourceRange": [
1858,
1863,
0
]
}
},
"name": "startSketchOn",
"sourceRange": [
1830,
1864,
0
],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": -0.813,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": [
1939,
1992,
0
]
}
},
"name": "extrude",
"sourceRange": [
1919,
1994,
0
],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": [
1927,
1928,
0
]
}
}
]

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB