Parallelize the artifact graph only time suck (#6482)

* parallelize the artifact only time suck

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

updates

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

make wasm safe

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

updates

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

* artifact graph things

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>
This commit is contained in:
Jess Frazelle
2025-04-26 21:21:26 -07:00
committed by GitHub
parent d0b0365f75
commit 24465cf463
253 changed files with 73547 additions and 55353 deletions

View File

@ -375,6 +375,15 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -385,6 +394,15 @@ description: Artifact commands flange.kcl
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -417,19 +435,19 @@ description: Artifact commands flange.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
"edge_id": "[uuid]"
}
},
{
@ -464,19 +482,19 @@ description: Artifact commands flange.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
"edge_id": "[uuid]"
}
},
{
@ -511,19 +529,19 @@ description: Artifact commands flange.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
"edge_id": "[uuid]"
}
},
{
@ -554,15 +572,6 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -573,6 +582,15 @@ description: Artifact commands flange.kcl
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -592,24 +610,6 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -729,6 +729,15 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -739,6 +748,15 @@ description: Artifact commands flange.kcl
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -758,24 +776,6 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -895,6 +895,15 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -905,6 +914,15 @@ description: Artifact commands flange.kcl
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -924,24 +942,6 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -1061,6 +1061,15 @@ description: Artifact commands flange.kcl
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -1071,6 +1080,15 @@ description: Artifact commands flange.kcl
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -1081,24 +1099,6 @@ description: Artifact commands flange.kcl
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -10,20 +10,20 @@ flowchart LR
7["Segment<br>[1185, 1230, 0]"]
8[Solid2d]
end
subgraph path13 [Path]
13["Path<br>[1413, 1467, 0]"]
14["Segment<br>[1413, 1467, 0]"]
15[Solid2d]
subgraph path15 [Path]
15["Path<br>[1413, 1467, 0]"]
16["Segment<br>[1413, 1467, 0]"]
17[Solid2d]
end
subgraph path19 [Path]
19["Path<br>[1630, 1687, 0]"]
20["Segment<br>[1630, 1687, 0]"]
21[Solid2d]
subgraph path23 [Path]
23["Path<br>[1630, 1687, 0]"]
24["Segment<br>[1630, 1687, 0]"]
25[Solid2d]
end
subgraph path25 [Path]
25["Path<br>[1822, 1867, 0]"]
26["Segment<br>[1822, 1867, 0]"]
27[Solid2d]
subgraph path31 [Path]
31["Path<br>[1822, 1867, 0]"]
32["Segment<br>[1822, 1867, 0]"]
33[Solid2d]
end
1["Plane<br>[840, 857, 0]"]
5["Plane<br>[1162, 1179, 0]"]
@ -31,17 +31,25 @@ flowchart LR
10[Wall]
11["Cap Start"]
12["Cap End"]
16["Sweep Extrusion<br>[1473, 1508, 0]"]
17[Wall]
18["Cap End"]
22["Sweep Extrusion<br>[1693, 1726, 0]"]
23[Wall]
24["Cap End"]
28["Sweep Extrusion<br>[1873, 1948, 0]"]
29[Wall]
30["StartSketchOnFace<br>[1370, 1407, 0]"]
31["StartSketchOnFace<br>[1585, 1624, 0]"]
32["StartSketchOnFace<br>[1777, 1816, 0]"]
13["SweepEdge Opposite"]
14["SweepEdge Adjacent"]
18["Sweep Extrusion<br>[1473, 1508, 0]"]
19[Wall]
20["Cap End"]
21["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
26["Sweep Extrusion<br>[1693, 1726, 0]"]
27[Wall]
28["Cap End"]
29["SweepEdge Opposite"]
30["SweepEdge Adjacent"]
34["Sweep Extrusion<br>[1873, 1948, 0]"]
35[Wall]
36["SweepEdge Opposite"]
37["SweepEdge Adjacent"]
38["StartSketchOnFace<br>[1370, 1407, 0]"]
39["StartSketchOnFace<br>[1585, 1624, 0]"]
40["StartSketchOnFace<br>[1777, 1816, 0]"]
1 --- 2
2 --- 3
2 --- 4
@ -50,34 +58,62 @@ flowchart LR
6 ---- 9
6 --- 8
7 --- 10
7 --- 13
7 --- 14
7 x--> 11
9 --- 10
9 --- 11
9 --- 12
11 --- 19
12 --- 13
13 --- 14
13 ---- 16
13 --- 15
14 --- 17
14 <--x 12
16 --- 17
16 --- 18
18 --- 25
19 --- 20
19 ---- 22
19 --- 21
20 --- 23
20 <--x 11
22 --- 23
22 --- 24
25 --- 26
25 ---- 28
25 --- 27
9 --- 13
9 --- 14
11 --- 23
12 --- 15
13 <--x 10
13 <--x 12
14 <--x 10
15 --- 16
15 ---- 18
15 --- 17
16 --- 19
16 --- 21
16 --- 22
16 <--x 12
18 --- 19
18 --- 20
18 --- 21
18 --- 22
20 --- 31
21 <--x 19
21 <--x 20
22 <--x 19
23 --- 24
23 ---- 26
23 --- 25
24 --- 27
24 --- 29
24 --- 30
24 <--x 11
26 --- 27
26 --- 28
26 --- 29
26 <--x 18
28 --- 29
12 <--x 30
11 <--x 31
18 <--x 32
26 --- 30
29 <--x 27
29 <--x 28
30 <--x 27
31 --- 32
31 ---- 34
31 --- 33
32 --- 35
32 --- 36
32 --- 37
32 <--x 20
34 --- 35
34 --- 36
34 --- 37
36 <--x 35
36 <--x 28
37 <--x 35
12 <--x 38
11 <--x 39
20 <--x 40
```