From 6469b06b03094c24008841578a9678b2b672a4bd Mon Sep 17 00:00:00 2001 From: Jonathan Tran Date: Fri, 31 Jan 2025 16:42:37 -0500 Subject: [PATCH] Update output since adding artifact_id to Face --- .../artifact_graph_example_code1/program_memory.snap | 2 ++ .../program_memory.snap | 12 ++++++++++++ .../tests/pentagon_fillet_sugar/program_memory.snap | 4 ++++ .../program_memory.snap | 3 +++ .../sketch-on-chamfer-two-times/program_memory.snap | 3 +++ .../kcl/tests/sketch_on_face/program_memory.snap | 1 + .../program_memory.snap | 1 + .../sketch_on_face_circle_tagged/program_memory.snap | 1 + .../kcl/tests/sketch_on_face_end/program_memory.snap | 1 + .../program_memory.snap | 1 + .../tests/sketch_on_face_start/program_memory.snap | 1 + 11 files changed, 30 insertions(+) diff --git a/src/wasm-lib/kcl/tests/artifact_graph_example_code1/program_memory.snap b/src/wasm-lib/kcl/tests/artifact_graph_example_code1/program_memory.snap index 22920db49c..23d97fa5aa 100644 --- a/src/wasm-lib/kcl/tests/artifact_graph_example_code1/program_memory.snap +++ b/src/wasm-lib/kcl/tests/artifact_graph_example_code1/program_memory.snap @@ -541,6 +541,7 @@ description: Program memory after executing artifact_graph_example_code1.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg02", "xAxis": { "x": 1.0, @@ -1514,6 +1515,7 @@ description: Program memory after executing artifact_graph_example_code1.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg02", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/artifact_graph_sketch_on_face_etc/program_memory.snap b/src/wasm-lib/kcl/tests/artifact_graph_sketch_on_face_etc/program_memory.snap index d19587ad46..dc3b69b0ca 100644 --- a/src/wasm-lib/kcl/tests/artifact_graph_sketch_on_face_etc/program_memory.snap +++ b/src/wasm-lib/kcl/tests/artifact_graph_sketch_on_face_etc/program_memory.snap @@ -432,6 +432,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, @@ -924,6 +925,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, @@ -1067,6 +1069,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, @@ -1672,6 +1675,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg02", "xAxis": { "x": 1.0, @@ -1825,6 +1829,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, @@ -1968,6 +1973,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, @@ -2933,6 +2939,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, @@ -3365,6 +3372,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, @@ -3508,6 +3516,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, @@ -4058,6 +4067,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg02", "xAxis": { "x": 1.0, @@ -4211,6 +4221,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, @@ -4354,6 +4365,7 @@ description: Program memory after executing artifact_graph_sketch_on_face_etc.kc "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/pentagon_fillet_sugar/program_memory.snap b/src/wasm-lib/kcl/tests/pentagon_fillet_sugar/program_memory.snap index d03a48b802..d771f6e092 100644 --- a/src/wasm-lib/kcl/tests/pentagon_fillet_sugar/program_memory.snap +++ b/src/wasm-lib/kcl/tests/pentagon_fillet_sugar/program_memory.snap @@ -333,6 +333,7 @@ description: Program memory after executing pentagon_fillet_sugar.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "c", "xAxis": { "x": 1.0, @@ -916,6 +917,7 @@ description: Program memory after executing pentagon_fillet_sugar.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "a", "xAxis": { "x": 1.0, @@ -2893,6 +2895,7 @@ description: Program memory after executing pentagon_fillet_sugar.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "a", "xAxis": { "x": 1.0, @@ -3530,6 +3533,7 @@ description: Program memory after executing pentagon_fillet_sugar.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "c", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times-different-order/program_memory.snap b/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times-different-order/program_memory.snap index c111079376..f08c841349 100644 --- a/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times-different-order/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times-different-order/program_memory.snap @@ -797,6 +797,7 @@ description: Program memory after executing sketch-on-chamfer-two-times-differen "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg03", "xAxis": { "x": 1.0, @@ -2760,6 +2761,7 @@ description: Program memory after executing sketch-on-chamfer-two-times-differen "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg03", "xAxis": { "x": 1.0, @@ -3705,6 +3707,7 @@ description: Program memory after executing sketch-on-chamfer-two-times-differen "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg04", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times/program_memory.snap b/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times/program_memory.snap index 66c0418f11..d8b5036cfb 100644 --- a/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch-on-chamfer-two-times/program_memory.snap @@ -797,6 +797,7 @@ description: Program memory after executing sketch-on-chamfer-two-times.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg03", "xAxis": { "x": 1.0, @@ -2760,6 +2761,7 @@ description: Program memory after executing sketch-on-chamfer-two-times.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg03", "xAxis": { "x": 1.0, @@ -3705,6 +3707,7 @@ description: Program memory after executing sketch-on-chamfer-two-times.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg04", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch_on_face/program_memory.snap b/src/wasm-lib/kcl/tests/sketch_on_face/program_memory.snap index d5746f7118..0f72f4bc10 100644 --- a/src/wasm-lib/kcl/tests/sketch_on_face/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch_on_face/program_memory.snap @@ -514,6 +514,7 @@ description: Program memory after executing sketch_on_face.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "here", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch_on_face_after_fillets_referencing_face/program_memory.snap b/src/wasm-lib/kcl/tests/sketch_on_face_after_fillets_referencing_face/program_memory.snap index caea4fefd0..17b23b2c0f 100644 --- a/src/wasm-lib/kcl/tests/sketch_on_face_after_fillets_referencing_face/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch_on_face_after_fillets_referencing_face/program_memory.snap @@ -975,6 +975,7 @@ description: Program memory after executing sketch_on_face_after_fillets_referen "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "seg01", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch_on_face_circle_tagged/program_memory.snap b/src/wasm-lib/kcl/tests/sketch_on_face_circle_tagged/program_memory.snap index ba35d49e3c..eb21303d87 100644 --- a/src/wasm-lib/kcl/tests/sketch_on_face_circle_tagged/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch_on_face_circle_tagged/program_memory.snap @@ -694,6 +694,7 @@ description: Program memory after executing sketch_on_face_circle_tagged.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch_on_face_end/program_memory.snap b/src/wasm-lib/kcl/tests/sketch_on_face_end/program_memory.snap index a7f043fef0..bb09c6e57f 100644 --- a/src/wasm-lib/kcl/tests/sketch_on_face_end/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch_on_face_end/program_memory.snap @@ -705,6 +705,7 @@ description: Program memory after executing sketch_on_face_end.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch_on_face_end_negative_extrude/program_memory.snap b/src/wasm-lib/kcl/tests/sketch_on_face_end_negative_extrude/program_memory.snap index 95b3e50c07..9d6d675deb 100644 --- a/src/wasm-lib/kcl/tests/sketch_on_face_end_negative_extrude/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch_on_face_end_negative_extrude/program_memory.snap @@ -705,6 +705,7 @@ description: Program memory after executing sketch_on_face_end_negative_extrude. "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "end", "xAxis": { "x": 1.0, diff --git a/src/wasm-lib/kcl/tests/sketch_on_face_start/program_memory.snap b/src/wasm-lib/kcl/tests/sketch_on_face_start/program_memory.snap index aaca7f8fa5..8bfba4dd36 100644 --- a/src/wasm-lib/kcl/tests/sketch_on_face_start/program_memory.snap +++ b/src/wasm-lib/kcl/tests/sketch_on_face_start/program_memory.snap @@ -922,6 +922,7 @@ description: Program memory after executing sketch_on_face_start.kcl "on": { "type": "face", "id": "[uuid]", + "artifactId": "[uuid]", "value": "start", "xAxis": { "x": 1.0,