Step file unfuck ci (#5891)

* remove the files

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

* remove step shit from kcl-samples

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>

* updates

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

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2025-03-19 16:43:10 -07:00
committed by GitHub
parent 33dc254e43
commit 98a68f5cd9
94 changed files with 1829 additions and 415636 deletions

View File

@ -5,11 +5,7 @@ description: Artifact commands translate_after_fillet.kcl
[
{
"cmdId": "[uuid]",
"range": [
0,
0,
0
],
"range": [],
"command": {
"type": "edge_lines_visible",
"hidden": false
@ -17,11 +13,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
0,
0,
0
],
"range": [],
"command": {
"type": "set_scene_units",
"unit": "mm"
@ -29,11 +21,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
0,
0,
0
],
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
@ -42,11 +30,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
0,
0,
0
],
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
@ -55,11 +39,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
320,
339,
0
],
"range": [],
"command": {
"type": "make_plane",
"origin": {
@ -84,11 +64,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
347,
417,
0
],
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
@ -104,22 +80,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
347,
417,
0
],
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [
347,
417,
0
],
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
@ -132,22 +100,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
347,
417,
0
],
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [
347,
417,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -172,11 +132,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
347,
417,
0
],
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
@ -184,11 +140,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
@ -204,11 +156,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "extrude",
"target": "[uuid]",
@ -218,22 +166,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
@ -241,11 +181,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "solid3d_get_extrusion_face_info",
"object_id": "[uuid]",
@ -254,11 +190,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -268,11 +200,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
425,
458,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -282,11 +210,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
506,
530,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -296,11 +220,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
466,
532,
0
],
"range": [],
"command": {
"type": "solid3d_fillet_edge",
"object_id": "[uuid]",
@ -312,11 +232,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
466,
532,
0
],
"range": [],
"command": {
"type": "solid3d_fillet_edge",
"object_id": "[uuid]",
@ -328,11 +244,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
655,
742,
0
],
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
@ -344,22 +256,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
655,
742,
0
],
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [
655,
742,
0
],
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
@ -372,22 +276,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
655,
742,
0
],
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [
750,
833,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -404,11 +300,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
841,
924,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -425,11 +317,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
932,
1015,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -446,11 +334,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1023,
1105,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -467,11 +351,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1113,
1195,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -488,11 +368,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1203,
1210,
0
],
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
@ -500,11 +376,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
@ -516,11 +388,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "extrude",
"target": "[uuid]",
@ -530,22 +398,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
@ -553,11 +413,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_extrusion_face_info",
"object_id": "[uuid]",
@ -566,11 +422,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -580,11 +432,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -594,11 +442,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -608,11 +452,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -622,11 +462,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -636,11 +472,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -650,11 +482,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -664,11 +492,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -678,11 +502,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -692,11 +512,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -706,11 +522,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -720,11 +532,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1218,
1258,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -734,11 +542,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1311,
1380,
0
],
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
@ -750,22 +554,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1311,
1380,
0
],
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [
1311,
1380,
0
],
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
@ -778,22 +574,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1311,
1380,
0
],
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [
1311,
1380,
0
],
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
@ -818,11 +606,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1311,
1380,
0
],
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
@ -830,11 +614,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
@ -846,11 +626,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "extrude",
"target": "[uuid]",
@ -860,22 +636,14 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
@ -883,11 +651,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "solid3d_get_extrusion_face_info",
"object_id": "[uuid]",
@ -896,11 +660,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -910,11 +670,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1388,
1416,
0
],
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
@ -924,11 +680,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1454,
1481,
0
],
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
@ -938,11 +690,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1491,
1552,
0
],
"range": [],
"command": {
"type": "object_set_material_params_pbr",
"object_id": "[uuid]",
@ -959,11 +707,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1424,
1483,
0
],
"range": [],
"command": {
"type": "solid3d_fillet_edge",
"object_id": "[uuid]",
@ -975,11 +719,7 @@ description: Artifact commands translate_after_fillet.kcl
},
{
"cmdId": "[uuid]",
"range": [
1587,
1620,
0
],
"range": [],
"command": {
"type": "set_object_transform",
"object_id": "[uuid]",

File diff suppressed because it is too large Load Diff

View File

@ -13,11 +13,7 @@ description: Operations executed translate_after_fillet.kcl
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
198,
216,
0
]
"sourceRange": []
},
{
"type": "UserDefinedFunctionReturn"
@ -32,11 +28,7 @@ description: Operations executed translate_after_fillet.kcl
],
"unlabeledArg": null,
"labeledArgs": {},
"sourceRange": [
1575,
1581,
0
]
"sourceRange": []
},
{
"labeledArgs": {
@ -45,19 +37,11 @@ description: Operations executed translate_after_fillet.kcl
"type": "String",
"value": "XZ"
},
"sourceRange": [
334,
338,
0
]
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [
320,
339,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
@ -77,19 +61,11 @@ description: Operations executed translate_after_fillet.kcl
}
}
},
"sourceRange": [
442,
457,
0
]
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [
425,
458,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
@ -98,11 +74,7 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
425,
458,
0
]
"sourceRange": []
}
},
{
@ -121,11 +93,7 @@ description: Operations executed translate_after_fillet.kcl
}
}
},
"sourceRange": [
482,
487,
0
]
"sourceRange": []
},
"tags": {
"value": {
@ -142,19 +110,11 @@ description: Operations executed translate_after_fillet.kcl
}
]
},
"sourceRange": [
496,
531,
0
]
"sourceRange": []
}
},
"name": "fillet",
"sourceRange": [
466,
532,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
@ -163,11 +123,7 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
466,
532,
0
]
"sourceRange": []
}
},
{
@ -179,30 +135,18 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
629,
637,
0
]
"sourceRange": []
},
"tag": {
"value": {
"type": "String",
"value": "start"
},
"sourceRange": [
639,
646,
0
]
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [
615,
647,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
@ -216,19 +160,11 @@ description: Operations executed translate_after_fillet.kcl
"type": "Unknown"
}
},
"sourceRange": [
1235,
1257,
0
]
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [
1218,
1258,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
@ -237,11 +173,7 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
1218,
1258,
0
]
"sourceRange": []
}
},
{
@ -253,30 +185,18 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
1287,
1295,
0
]
"sourceRange": []
},
"tag": {
"value": {
"type": "String",
"value": "end"
},
"sourceRange": [
1297,
1302,
0
]
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [
1273,
1303,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
@ -296,19 +216,11 @@ description: Operations executed translate_after_fillet.kcl
}
}
},
"sourceRange": [
1405,
1415,
0
]
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [
1388,
1416,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
@ -317,11 +229,7 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
1388,
1416,
0
]
"sourceRange": []
}
},
{
@ -340,11 +248,7 @@ description: Operations executed translate_after_fillet.kcl
}
}
},
"sourceRange": [
1440,
1444,
0
]
"sourceRange": []
},
"tags": {
"value": {
@ -356,19 +260,11 @@ description: Operations executed translate_after_fillet.kcl
}
]
},
"sourceRange": [
1453,
1482,
0
]
"sourceRange": []
}
},
"name": "fillet",
"sourceRange": [
1424,
1483,
0
],
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
@ -377,11 +273,7 @@ description: Operations executed translate_after_fillet.kcl
"artifactId": "[uuid]"
}
},
"sourceRange": [
1424,
1483,
0
]
"sourceRange": []
}
},
{

View File

@ -0,0 +1,61 @@
---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing translate_after_fillet.kcl
---
export boltDiameter = 0.625
export boltLength = 2.500
export boltHeadLength = boltDiameter
export boltHeadDiameter = 0.938
export boltHexDrive = 1 / 2
export boltHexFlatLength = boltHexDrive / (2 * cos(toRadians(30)))
export boltThreadLength = 1.75
export fn bolt() {
// Create the head of the cap screw
boltHead = startSketchOn('XZ')
|> circle(center = [0, 0], radius = boltHeadDiameter / 2, tag = $topEdge)
|> extrude(length = -boltHeadLength)
|> fillet(radius = 0.020, tags = [topEdge, getOppositeEdge(topEdge)])
// Define the sketch of the hex pattern on the screw head
hexPatternSketch = startSketchOn(boltHead, 'start')
|> startProfileAt([
boltHexDrive / 2,
boltHexFlatLength / 2
], %)
|> angledLine({
angle = 270,
length = boltHexFlatLength
}, %)
|> angledLine({
angle = 210,
length = boltHexFlatLength
}, %)
|> angledLine({
angle = 150,
length = boltHexFlatLength
}, %)
|> angledLine({
angle = 90,
length = boltHexFlatLength
}, %)
|> angledLine({
angle = 30,
length = boltHexFlatLength
}, %)
|> close()
|> extrude(length = -boltHeadLength * 0.75)
boltBody = startSketchOn(boltHead, 'end')
|> circle(center = [0, 0], radius = boltDiameter / 2, tag = $filletEdge)
|> extrude(length = boltLength)
|> fillet(radius = .020, tags = [getOppositeEdge(filletEdge)])
|> appearance(color = "#4dd043", metalness = 90, roughness = 90)
return boltBody
}
bolt()
|> translate(translate = [10, 0, 0])
// https://www.mcmaster.com/91251a404/