diff --git a/e2e/playwright/export-snapshots/gltf-binary.gltf b/e2e/playwright/export-snapshots/gltf-binary.gltf index 11a4fe0c5..c20f6547b 100644 Binary files a/e2e/playwright/export-snapshots/gltf-binary.gltf and b/e2e/playwright/export-snapshots/gltf-binary.gltf differ diff --git a/e2e/playwright/export-snapshots/gltf-embedded.gltf b/e2e/playwright/export-snapshots/gltf-embedded.gltf index 9f36fe412..a14d6b758 100644 --- a/e2e/playwright/export-snapshots/gltf-embedded.gltf +++ b/e2e/playwright/export-snapshots/gltf-embedded.gltf @@ -626,497 +626,1056 @@ "KITTYCAD_boundary_representation": { "solids": [ { - "outerShell": 0, + "shells": [ + [ + 0, + 1 + ] + ], "mesh": 0 } ], "shells": [ { "faces": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15 + [ + 0, + 1 + ], + [ + 1, + 1 + ], + [ + 2, + 1 + ], + [ + 3, + 1 + ], + [ + 4, + 1 + ], + [ + 5, + 1 + ], + [ + 6, + 1 + ], + [ + 7, + 1 + ], + [ + 8, + 1 + ], + [ + 9, + 1 + ], + [ + 10, + 1 + ], + [ + 11, + 1 + ], + [ + 12, + 1 + ], + [ + 13, + 1 + ], + [ + 14, + 1 + ], + [ + 15, + 1 + ] ] } ], "faces": [ { - "surface": 0, - "outerLoop": 0 + "surface": [ + 0, + 1 + ], + "loops": [ + [ + 0, + 1 + ] + ] }, { - "surface": 1, - "outerLoop": 1 + "surface": [ + 1, + 1 + ], + "loops": [ + [ + 1, + 1 + ] + ] }, { - "surface": 2, - "outerLoop": 2 + "surface": [ + 2, + 1 + ], + "loops": [ + [ + 2, + 1 + ] + ] }, { - "surface": 3, - "outerLoop": 3 + "surface": [ + 3, + 1 + ], + "loops": [ + [ + 3, + 1 + ] + ] }, { - "surface": 4, - "outerLoop": 4 + "surface": [ + 4, + 1 + ], + "loops": [ + [ + 4, + 1 + ] + ] }, { - "surface": 5, - "outerLoop": 5 + "surface": [ + 5, + 1 + ], + "loops": [ + [ + 5, + 1 + ] + ] }, { - "surface": 6, - "outerLoop": 6 + "surface": [ + 6, + 1 + ], + "loops": [ + [ + 6, + 1 + ] + ] }, { - "surface": 7, - "outerLoop": 7 + "surface": [ + 7, + 1 + ], + "loops": [ + [ + 7, + 1 + ] + ] }, { - "surface": 8, - "outerLoop": 8 + "surface": [ + 8, + 1 + ], + "loops": [ + [ + 8, + 1 + ] + ] }, { - "surface": 9, - "outerLoop": 9 + "surface": [ + 9, + 1 + ], + "loops": [ + [ + 9, + 1 + ] + ] }, { - "surface": 10, - "outerLoop": 10 + "surface": [ + 10, + 1 + ], + "loops": [ + [ + 10, + 1 + ] + ] }, { - "surface": 11, - "outerLoop": 11 + "surface": [ + 11, + 1 + ], + "loops": [ + [ + 11, + 1 + ] + ] }, { - "surface": 12, - "outerLoop": 12 + "surface": [ + 12, + 1 + ], + "loops": [ + [ + 12, + 1 + ] + ] }, { - "surface": 13, - "outerLoop": 13 + "surface": [ + 13, + 1 + ], + "loops": [ + [ + 13, + 1 + ] + ] }, { - "surface": -14, - "outerLoop": -14 + "surface": [ + 14, + -1 + ], + "loops": [ + [ + 14, + -1 + ] + ] }, { - "surface": 15, - "outerLoop": 15 + "surface": [ + 15, + 1 + ], + "loops": [ + [ + 15, + 1 + ] + ] } ], "loops": [ { "edges": [ - 0, - 1, - -2, - -3 + [ + 0, + 1 + ], + [ + 1, + 1 + ], + [ + 2, + -1 + ], + [ + 3, + -1 + ] ] }, { "edges": [ - 4, - 5, - -6, - -1 + [ + 4, + 1 + ], + [ + 5, + 1 + ], + [ + 6, + -1 + ], + [ + 1, + -1 + ] ] }, { "edges": [ - 7, - 8, - -9, - -5 + [ + 7, + 1 + ], + [ + 8, + 1 + ], + [ + 9, + -1 + ], + [ + 5, + -1 + ] ] }, { "edges": [ - 10, - 11, - -12, - -8 + [ + 10, + 1 + ], + [ + 11, + 1 + ], + [ + 12, + -1 + ], + [ + 8, + -1 + ] ] }, { "edges": [ - 13, - 14, - -15, - -11 + [ + 13, + 1 + ], + [ + 14, + 1 + ], + [ + 15, + -1 + ], + [ + 11, + -1 + ] ] }, { "edges": [ - 16, - 17, - -18, - -14 + [ + 16, + 1 + ], + [ + 17, + 1 + ], + [ + 18, + -1 + ], + [ + 14, + -1 + ] ] }, { "edges": [ - 19, - 20, - -21, - -17 + [ + 19, + 1 + ], + [ + 20, + 1 + ], + [ + 21, + -1 + ], + [ + 17, + -1 + ] ] }, { "edges": [ - 22, - 23, - -24, - -20 + [ + 22, + 1 + ], + [ + 23, + 1 + ], + [ + 24, + -1 + ], + [ + 20, + -1 + ] ] }, { "edges": [ - 25, - 26, - -27, - -23 + [ + 25, + 1 + ], + [ + 26, + 1 + ], + [ + 27, + -1 + ], + [ + 23, + -1 + ] ] }, { "edges": [ - 28, - 29, - -30, - -26 + [ + 28, + 1 + ], + [ + 29, + 1 + ], + [ + 30, + -1 + ], + [ + 26, + -1 + ] ] }, { "edges": [ - 31, - 32, - -33, - -29 + [ + 31, + 1 + ], + [ + 32, + 1 + ], + [ + 33, + -1 + ], + [ + 29, + -1 + ] ] }, { "edges": [ - 34, - 35, - -36, - -32 + [ + 34, + 1 + ], + [ + 35, + 1 + ], + [ + 36, + -1 + ], + [ + 32, + -1 + ] ] }, { "edges": [ - 37, - 38, - -39, - -35 + [ + 37, + 1 + ], + [ + 38, + 1 + ], + [ + 39, + -1 + ], + [ + 35, + -1 + ] ] }, { "edges": [ - 40, - 3, - -41, - -38 + [ + 40, + 1 + ], + [ + 3, + 1 + ], + [ + 41, + -1 + ], + [ + 38, + -1 + ] ] }, { "edges": [ - 0, - 4, - 7, - 10, - 13, - 16, - 19, - 22, - 25, - 28, - 31, - 34, - 37, - 40 + [ + 0, + 1 + ], + [ + 4, + 1 + ], + [ + 7, + 1 + ], + [ + 10, + 1 + ], + [ + 13, + 1 + ], + [ + 16, + 1 + ], + [ + 19, + 1 + ], + [ + 22, + 1 + ], + [ + 25, + 1 + ], + [ + 28, + 1 + ], + [ + 31, + 1 + ], + [ + 34, + 1 + ], + [ + 37, + 1 + ], + [ + 40, + 1 + ] ] }, { "edges": [ - 2, - 6, - 9, - 12, - 15, - 18, - 21, - 24, - 27, - 30, - 33, - 36, - 39, - 41 + [ + 2, + 1 + ], + [ + 6, + 1 + ], + [ + 9, + 1 + ], + [ + 12, + 1 + ], + [ + 15, + 1 + ], + [ + 18, + 1 + ], + [ + 21, + 1 + ], + [ + 24, + 1 + ], + [ + 27, + 1 + ], + [ + 30, + 1 + ], + [ + 33, + 1 + ], + [ + 36, + 1 + ], + [ + 39, + 1 + ], + [ + 41, + 1 + ] ] } ], "edges": [ { - "curve": 0, + "curve": [ + 0, + 1 + ], "start": 0, "end": 1, "closed": false }, { - "curve": 1, + "curve": [ + 1, + 1 + ], "start": 1, "end": 2, "closed": false }, { - "curve": 2, + "curve": [ + 2, + 1 + ], "start": 3, "end": 2, "closed": false }, { - "curve": 3, + "curve": [ + 3, + 1 + ], "start": 0, "end": 3, "closed": false }, { - "curve": 4, + "curve": [ + 4, + 1 + ], "start": 1, "end": 4, "closed": false }, { - "curve": 5, + "curve": [ + 5, + 1 + ], "start": 4, "end": 5, "closed": false }, { - "curve": 6, + "curve": [ + 6, + 1 + ], "start": 2, "end": 5, "closed": false }, { - "curve": 7, + "curve": [ + 7, + 1 + ], "start": 4, "end": 6, "closed": false }, { - "curve": 8, + "curve": [ + 8, + 1 + ], "start": 6, "end": 7, "closed": false }, { - "curve": 9, + "curve": [ + 9, + 1 + ], "start": 5, "end": 7, "closed": false }, { - "curve": 10, + "curve": [ + 10, + 1 + ], "start": 6, "end": 8, "closed": false }, { - "curve": 11, + "curve": [ + 11, + 1 + ], "start": 8, "end": 9, "closed": false }, { - "curve": 12, + "curve": [ + 12, + 1 + ], "start": 7, "end": 9, "closed": false }, { - "curve": 13, + "curve": [ + 13, + 1 + ], "start": 8, "end": 10, "closed": false }, { - "curve": 14, + "curve": [ + 14, + 1 + ], "start": 10, "end": 11, "closed": false }, { - "curve": 15, + "curve": [ + 15, + 1 + ], "start": 9, "end": 11, "closed": false }, { - "curve": 16, + "curve": [ + 16, + 1 + ], "start": 10, "end": 12, "closed": false }, { - "curve": 17, + "curve": [ + 17, + 1 + ], "start": 12, "end": 13, "closed": false }, { - "curve": 18, + "curve": [ + 18, + 1 + ], "start": 11, "end": 13, "closed": false }, { - "curve": 19, + "curve": [ + 19, + 1 + ], "start": 12, "end": 14, "closed": false }, { - "curve": 20, + "curve": [ + 20, + 1 + ], "start": 14, "end": 15, "closed": false }, { - "curve": 21, + "curve": [ + 21, + 1 + ], "start": 13, "end": 15, "closed": false }, { - "curve": 22, + "curve": [ + 22, + 1 + ], "start": 14, "end": 16, "closed": false }, { - "curve": 23, + "curve": [ + 23, + 1 + ], "start": 16, "end": 17, "closed": false }, { - "curve": 24, + "curve": [ + 24, + 1 + ], "start": 15, "end": 17, "closed": false }, { - "curve": 25, + "curve": [ + 25, + 1 + ], "start": 16, "end": 18, "closed": false }, { - "curve": 26, + "curve": [ + 26, + 1 + ], "start": 18, "end": 19, "closed": false }, { - "curve": 27, + "curve": [ + 27, + 1 + ], "start": 17, "end": 19, "closed": false }, { - "curve": 28, + "curve": [ + 28, + 1 + ], "start": 18, "end": 20, "closed": false }, { - "curve": 29, + "curve": [ + 29, + 1 + ], "start": 20, "end": 21, "closed": false }, { - "curve": 30, + "curve": [ + 30, + 1 + ], "start": 19, "end": 21, "closed": false }, { - "curve": 31, + "curve": [ + 31, + 1 + ], "start": 20, "end": 22, "closed": false }, { - "curve": 32, + "curve": [ + 32, + 1 + ], "start": 22, "end": 23, "closed": false }, { - "curve": 33, + "curve": [ + 33, + 1 + ], "start": 21, "end": 23, "closed": false }, { - "curve": 34, + "curve": [ + 34, + 1 + ], "start": 22, "end": 24, "closed": false }, { - "curve": 35, + "curve": [ + 35, + 1 + ], "start": 24, "end": 25, "closed": false }, { - "curve": 36, + "curve": [ + 36, + 1 + ], "start": 23, "end": 25, "closed": false }, { - "curve": 37, + "curve": [ + 37, + 1 + ], "start": 24, "end": 26, "closed": false }, { - "curve": 38, + "curve": [ + 38, + 1 + ], "start": 26, "end": 27, "closed": false }, { - "curve": 39, + "curve": [ + 39, + 1 + ], "start": 25, "end": 27, "closed": false }, { - "curve": 40, + "curve": [ + 40, + 1 + ], "start": 26, "end": 0, "closed": false }, { - "curve": 41, + "curve": [ + 41, + 1 + ], "start": 27, "end": 3, "closed": false diff --git a/e2e/playwright/export-snapshots/gltf-standard-2.gltf b/e2e/playwright/export-snapshots/gltf-standard-2.gltf index f775571f3..08b855e94 100644 --- a/e2e/playwright/export-snapshots/gltf-standard-2.gltf +++ b/e2e/playwright/export-snapshots/gltf-standard-2.gltf @@ -626,497 +626,1056 @@ "KITTYCAD_boundary_representation": { "solids": [ { - "outerShell": 0, + "shells": [ + [ + 0, + 1 + ] + ], "mesh": 0 } ], "shells": [ { "faces": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15 + [ + 0, + 1 + ], + [ + 1, + 1 + ], + [ + 2, + 1 + ], + [ + 3, + 1 + ], + [ + 4, + 1 + ], + [ + 5, + 1 + ], + [ + 6, + 1 + ], + [ + 7, + 1 + ], + [ + 8, + 1 + ], + [ + 9, + 1 + ], + [ + 10, + 1 + ], + [ + 11, + 1 + ], + [ + 12, + 1 + ], + [ + 13, + 1 + ], + [ + 14, + 1 + ], + [ + 15, + 1 + ] ] } ], "faces": [ { - "surface": 0, - "outerLoop": 0 + "surface": [ + 0, + 1 + ], + "loops": [ + [ + 0, + 1 + ] + ] }, { - "surface": 1, - "outerLoop": 1 + "surface": [ + 1, + 1 + ], + "loops": [ + [ + 1, + 1 + ] + ] }, { - "surface": 2, - "outerLoop": 2 + "surface": [ + 2, + 1 + ], + "loops": [ + [ + 2, + 1 + ] + ] }, { - "surface": 3, - "outerLoop": 3 + "surface": [ + 3, + 1 + ], + "loops": [ + [ + 3, + 1 + ] + ] }, { - "surface": 4, - "outerLoop": 4 + "surface": [ + 4, + 1 + ], + "loops": [ + [ + 4, + 1 + ] + ] }, { - "surface": 5, - "outerLoop": 5 + "surface": [ + 5, + 1 + ], + "loops": [ + [ + 5, + 1 + ] + ] }, { - "surface": 6, - "outerLoop": 6 + "surface": [ + 6, + 1 + ], + "loops": [ + [ + 6, + 1 + ] + ] }, { - "surface": 7, - "outerLoop": 7 + "surface": [ + 7, + 1 + ], + "loops": [ + [ + 7, + 1 + ] + ] }, { - "surface": 8, - "outerLoop": 8 + "surface": [ + 8, + 1 + ], + "loops": [ + [ + 8, + 1 + ] + ] }, { - "surface": 9, - "outerLoop": 9 + "surface": [ + 9, + 1 + ], + "loops": [ + [ + 9, + 1 + ] + ] }, { - "surface": 10, - "outerLoop": 10 + "surface": [ + 10, + 1 + ], + "loops": [ + [ + 10, + 1 + ] + ] }, { - "surface": 11, - "outerLoop": 11 + "surface": [ + 11, + 1 + ], + "loops": [ + [ + 11, + 1 + ] + ] }, { - "surface": 12, - "outerLoop": 12 + "surface": [ + 12, + 1 + ], + "loops": [ + [ + 12, + 1 + ] + ] }, { - "surface": 13, - "outerLoop": 13 + "surface": [ + 13, + 1 + ], + "loops": [ + [ + 13, + 1 + ] + ] }, { - "surface": -14, - "outerLoop": -14 + "surface": [ + 14, + -1 + ], + "loops": [ + [ + 14, + -1 + ] + ] }, { - "surface": 15, - "outerLoop": 15 + "surface": [ + 15, + 1 + ], + "loops": [ + [ + 15, + 1 + ] + ] } ], "loops": [ { "edges": [ - 0, - 1, - -2, - -3 + [ + 0, + 1 + ], + [ + 1, + 1 + ], + [ + 2, + -1 + ], + [ + 3, + -1 + ] ] }, { "edges": [ - 4, - 5, - -6, - -1 + [ + 4, + 1 + ], + [ + 5, + 1 + ], + [ + 6, + -1 + ], + [ + 1, + -1 + ] ] }, { "edges": [ - 7, - 8, - -9, - -5 + [ + 7, + 1 + ], + [ + 8, + 1 + ], + [ + 9, + -1 + ], + [ + 5, + -1 + ] ] }, { "edges": [ - 10, - 11, - -12, - -8 + [ + 10, + 1 + ], + [ + 11, + 1 + ], + [ + 12, + -1 + ], + [ + 8, + -1 + ] ] }, { "edges": [ - 13, - 14, - -15, - -11 + [ + 13, + 1 + ], + [ + 14, + 1 + ], + [ + 15, + -1 + ], + [ + 11, + -1 + ] ] }, { "edges": [ - 16, - 17, - -18, - -14 + [ + 16, + 1 + ], + [ + 17, + 1 + ], + [ + 18, + -1 + ], + [ + 14, + -1 + ] ] }, { "edges": [ - 19, - 20, - -21, - -17 + [ + 19, + 1 + ], + [ + 20, + 1 + ], + [ + 21, + -1 + ], + [ + 17, + -1 + ] ] }, { "edges": [ - 22, - 23, - -24, - -20 + [ + 22, + 1 + ], + [ + 23, + 1 + ], + [ + 24, + -1 + ], + [ + 20, + -1 + ] ] }, { "edges": [ - 25, - 26, - -27, - -23 + [ + 25, + 1 + ], + [ + 26, + 1 + ], + [ + 27, + -1 + ], + [ + 23, + -1 + ] ] }, { "edges": [ - 28, - 29, - -30, - -26 + [ + 28, + 1 + ], + [ + 29, + 1 + ], + [ + 30, + -1 + ], + [ + 26, + -1 + ] ] }, { "edges": [ - 31, - 32, - -33, - -29 + [ + 31, + 1 + ], + [ + 32, + 1 + ], + [ + 33, + -1 + ], + [ + 29, + -1 + ] ] }, { "edges": [ - 34, - 35, - -36, - -32 + [ + 34, + 1 + ], + [ + 35, + 1 + ], + [ + 36, + -1 + ], + [ + 32, + -1 + ] ] }, { "edges": [ - 37, - 38, - -39, - -35 + [ + 37, + 1 + ], + [ + 38, + 1 + ], + [ + 39, + -1 + ], + [ + 35, + -1 + ] ] }, { "edges": [ - 40, - 3, - -41, - -38 + [ + 40, + 1 + ], + [ + 3, + 1 + ], + [ + 41, + -1 + ], + [ + 38, + -1 + ] ] }, { "edges": [ - 0, - 4, - 7, - 10, - 13, - 16, - 19, - 22, - 25, - 28, - 31, - 34, - 37, - 40 + [ + 0, + 1 + ], + [ + 4, + 1 + ], + [ + 7, + 1 + ], + [ + 10, + 1 + ], + [ + 13, + 1 + ], + [ + 16, + 1 + ], + [ + 19, + 1 + ], + [ + 22, + 1 + ], + [ + 25, + 1 + ], + [ + 28, + 1 + ], + [ + 31, + 1 + ], + [ + 34, + 1 + ], + [ + 37, + 1 + ], + [ + 40, + 1 + ] ] }, { "edges": [ - 2, - 6, - 9, - 12, - 15, - 18, - 21, - 24, - 27, - 30, - 33, - 36, - 39, - 41 + [ + 2, + 1 + ], + [ + 6, + 1 + ], + [ + 9, + 1 + ], + [ + 12, + 1 + ], + [ + 15, + 1 + ], + [ + 18, + 1 + ], + [ + 21, + 1 + ], + [ + 24, + 1 + ], + [ + 27, + 1 + ], + [ + 30, + 1 + ], + [ + 33, + 1 + ], + [ + 36, + 1 + ], + [ + 39, + 1 + ], + [ + 41, + 1 + ] ] } ], "edges": [ { - "curve": 0, + "curve": [ + 0, + 1 + ], "start": 0, "end": 1, "closed": false }, { - "curve": 1, + "curve": [ + 1, + 1 + ], "start": 1, "end": 2, "closed": false }, { - "curve": 2, + "curve": [ + 2, + 1 + ], "start": 3, "end": 2, "closed": false }, { - "curve": 3, + "curve": [ + 3, + 1 + ], "start": 0, "end": 3, "closed": false }, { - "curve": 4, + "curve": [ + 4, + 1 + ], "start": 1, "end": 4, "closed": false }, { - "curve": 5, + "curve": [ + 5, + 1 + ], "start": 4, "end": 5, "closed": false }, { - "curve": 6, + "curve": [ + 6, + 1 + ], "start": 2, "end": 5, "closed": false }, { - "curve": 7, + "curve": [ + 7, + 1 + ], "start": 4, "end": 6, "closed": false }, { - "curve": 8, + "curve": [ + 8, + 1 + ], "start": 6, "end": 7, "closed": false }, { - "curve": 9, + "curve": [ + 9, + 1 + ], "start": 5, "end": 7, "closed": false }, { - "curve": 10, + "curve": [ + 10, + 1 + ], "start": 6, "end": 8, "closed": false }, { - "curve": 11, + "curve": [ + 11, + 1 + ], "start": 8, "end": 9, "closed": false }, { - "curve": 12, + "curve": [ + 12, + 1 + ], "start": 7, "end": 9, "closed": false }, { - "curve": 13, + "curve": [ + 13, + 1 + ], "start": 8, "end": 10, "closed": false }, { - "curve": 14, + "curve": [ + 14, + 1 + ], "start": 10, "end": 11, "closed": false }, { - "curve": 15, + "curve": [ + 15, + 1 + ], "start": 9, "end": 11, "closed": false }, { - "curve": 16, + "curve": [ + 16, + 1 + ], "start": 10, "end": 12, "closed": false }, { - "curve": 17, + "curve": [ + 17, + 1 + ], "start": 12, "end": 13, "closed": false }, { - "curve": 18, + "curve": [ + 18, + 1 + ], "start": 11, "end": 13, "closed": false }, { - "curve": 19, + "curve": [ + 19, + 1 + ], "start": 12, "end": 14, "closed": false }, { - "curve": 20, + "curve": [ + 20, + 1 + ], "start": 14, "end": 15, "closed": false }, { - "curve": 21, + "curve": [ + 21, + 1 + ], "start": 13, "end": 15, "closed": false }, { - "curve": 22, + "curve": [ + 22, + 1 + ], "start": 14, "end": 16, "closed": false }, { - "curve": 23, + "curve": [ + 23, + 1 + ], "start": 16, "end": 17, "closed": false }, { - "curve": 24, + "curve": [ + 24, + 1 + ], "start": 15, "end": 17, "closed": false }, { - "curve": 25, + "curve": [ + 25, + 1 + ], "start": 16, "end": 18, "closed": false }, { - "curve": 26, + "curve": [ + 26, + 1 + ], "start": 18, "end": 19, "closed": false }, { - "curve": 27, + "curve": [ + 27, + 1 + ], "start": 17, "end": 19, "closed": false }, { - "curve": 28, + "curve": [ + 28, + 1 + ], "start": 18, "end": 20, "closed": false }, { - "curve": 29, + "curve": [ + 29, + 1 + ], "start": 20, "end": 21, "closed": false }, { - "curve": 30, + "curve": [ + 30, + 1 + ], "start": 19, "end": 21, "closed": false }, { - "curve": 31, + "curve": [ + 31, + 1 + ], "start": 20, "end": 22, "closed": false }, { - "curve": 32, + "curve": [ + 32, + 1 + ], "start": 22, "end": 23, "closed": false }, { - "curve": 33, + "curve": [ + 33, + 1 + ], "start": 21, "end": 23, "closed": false }, { - "curve": 34, + "curve": [ + 34, + 1 + ], "start": 22, "end": 24, "closed": false }, { - "curve": 35, + "curve": [ + 35, + 1 + ], "start": 24, "end": 25, "closed": false }, { - "curve": 36, + "curve": [ + 36, + 1 + ], "start": 23, "end": 25, "closed": false }, { - "curve": 37, + "curve": [ + 37, + 1 + ], "start": 24, "end": 26, "closed": false }, { - "curve": 38, + "curve": [ + 38, + 1 + ], "start": 26, "end": 27, "closed": false }, { - "curve": 39, + "curve": [ + 39, + 1 + ], "start": 25, "end": 27, "closed": false }, { - "curve": 40, + "curve": [ + 40, + 1 + ], "start": 26, "end": 0, "closed": false }, { - "curve": 41, + "curve": [ + 41, + 1 + ], "start": 27, "end": 3, "closed": false diff --git a/e2e/playwright/export-snapshots/ply-ascii.ply b/e2e/playwright/export-snapshots/ply-ascii.ply index 7eda8ff5f..5c2a8ccaa 100644 --- a/e2e/playwright/export-snapshots/ply-ascii.ply +++ b/e2e/playwright/export-snapshots/ply-ascii.ply @@ -8,275 +8,275 @@ property float z element face 68 property list uchar uint vertex_indices end_header -0 0 4 -0 0 0 -0 -1 4 -0 -1 4 -0 0 0 -0 -1 0 -0 -1 4 -0 -1 0 -3.0950184 -1 4 -3.0950184 -1 4 -0 -1 0 -3.0950184 -1 0 -3.0950184 -1 4 -3.0950184 -1 0 -5.9513144 -3 4 -5.9513144 -3 4 -3.0950184 -1 0 -5.9513144 -3 0 -5.9513144 -3 4 -5.9513144 -3 0 -9.5 -3 4 -9.5 -3 4 -5.9513144 -3 0 -9.5 -3 0 -9.5 -3 4 -9.5 -3 0 -9.5 -2.5 4 -9.5 -2.5 4 -9.5 -3 0 -9.5 -2.5 0 -9.5 -2.5 4 -9.5 -2.5 0 -6.108964 -2.5 4 -6.108964 -2.5 4 -9.5 -2.5 0 -6.108964 -2.5 0 -3.4311862 -0.625 4 -4.323779 -1.25 4 -4.323779 -1.25 0 -4.323779 -1.25 4 -6.108964 -2.5 4 -6.108964 -2.5 0 -3.4311862 -0.625 0 -2.5385938 0 0 -2.5385938 0 4 -3.4311862 -0.625 4 -3.4311862 -0.625 0 -2.5385938 0 4 -4.323779 -1.25 4 -6.108964 -2.5 0 -4.323779 -1.25 0 -3.4311862 -0.625 0 -3.4311862 -0.625 4 -4.323779 -1.25 0 -3.342784 0.375 4 -2.5385938 0 4 -2.5385938 0 0 -4.146974 0.75 4 -3.342784 0.375 4 -3.342784 0.375 0 -3.342784 0.375 0 -4.146974 0.75 0 -4.146974 0.75 4 -4.146974 0.75 0 -5.755354 1.5 0 -5.755354 1.5 4 -3.342784 0.375 4 -2.5385938 0 0 -3.342784 0.375 0 -5.755354 1.5 4 -4.146974 0.75 4 -4.146974 0.75 0 -5.755354 1.5 4 -5.755354 1.5 0 -9.5 1.5 4 -9.5 1.5 4 -5.755354 1.5 0 -9.5 1.5 0 -9.5 1.5 4 -9.5 1.5 0 -9.5 2 4 -9.5 2 4 -9.5 1.5 0 -9.5 2 0 -9.5 2 4 -9.5 2 0 -5.644507 2 4 -5.644507 2 4 -9.5 2 0 -5.644507 2 0 -5.644507 2 4 -5.644507 2 0 -3.5 1 4 -3.5 1 4 -5.644507 2 0 -3.5 1 0 -3.5 1 4 -3.5 1 0 -0 1 4 -0 1 4 -3.5 1 0 -0 1 0 -0 1 4 -0 1 0 -0 0 4 -0 0 4 -0 1 0 -0 0 0 -3.342784 0.375 0 -2.5385938 0 0 -3.5 1 0 -3.4311862 -0.625 0 -4.323779 -1.25 0 -3.0950184 -1 0 -3.342784 0.375 0 -3.5 1 0 -4.146974 0.75 0 -4.323779 -1.25 0 -5.9513144 -3 0 -3.0950184 -1 0 -0 -1 0 -2.5385938 0 0 -3.0950184 -1 0 -0 -1 0 -0 0 0 -2.5385938 0 0 -9.5 -3 0 -6.108964 -2.5 0 -9.5 -2.5 0 -9.5 -3 0 -5.9513144 -3 0 -6.108964 -2.5 0 -5.9513144 -3 0 -4.323779 -1.25 0 -6.108964 -2.5 0 -5.644507 2 0 -5.755354 1.5 0 -4.146974 0.75 0 -3.0950184 -1 0 -2.5385938 0 0 -3.4311862 -0.625 0 -4.146974 0.75 0 -3.5 1 0 -5.644507 2 0 -9.5 1.5 0 -5.755354 1.5 0 -9.5 2 0 -5.755354 1.5 0 -5.644507 2 0 -9.5 2 0 -2.5385938 0 0 -0 0 0 -0 1 0 -3.5 1 0 -2.5385938 0 0 -0 1 0 -3.342784 0.375 4 -3.5 1 4 -2.5385938 0 4 -4.146974 0.75 4 -3.5 1 4 -3.342784 0.375 4 -3.4311862 -0.625 4 -3.0950184 -1 4 -4.323779 -1.25 4 -4.146974 0.75 4 -5.755354 1.5 4 -5.644507 2 4 -0 1 4 -2.5385938 0 4 -3.5 1 4 -0 1 4 -0 0 4 -2.5385938 0 4 -5.644507 2 4 -5.755354 1.5 4 -9.5 2 4 -9.5 2 4 -5.755354 1.5 4 -9.5 1.5 4 -4.146974 0.75 4 -5.644507 2 4 -3.5 1 4 -2.5385938 0 4 -3.0950184 -1 4 -3.4311862 -0.625 4 -4.323779 -1.25 4 -3.0950184 -1 4 -5.9513144 -3 4 -6.108964 -2.5 4 -4.323779 -1.25 4 -5.9513144 -3 4 -9.5 -2.5 4 -6.108964 -2.5 4 -9.5 -3 4 -6.108964 -2.5 4 -5.9513144 -3 4 -9.5 -3 4 -2.5385938 0 4 -0 -1 4 -3.0950184 -1 4 -0 -1 4 -2.5385938 0 4 -0 0 4 -3 0 1 2 -3 3 4 5 -3 6 7 8 -3 9 10 11 -3 12 13 14 -3 15 16 17 -3 18 19 20 -3 21 22 23 -3 24 25 26 -3 27 28 29 -3 30 31 32 -3 33 34 35 -3 36 37 38 -3 39 40 41 -3 42 43 44 -3 45 46 47 -3 48 49 50 -3 51 52 53 -3 54 55 56 -3 57 58 59 -3 60 61 62 -3 63 64 65 -3 66 67 68 -3 69 70 71 -3 72 73 74 -3 75 76 77 -3 78 79 80 -3 81 82 83 -3 84 85 86 -3 87 88 89 -3 90 91 92 -3 93 94 95 -3 96 97 98 -3 99 100 101 -3 102 103 104 -3 105 106 107 -3 108 109 110 -3 111 112 113 -3 114 115 116 -3 117 118 119 -3 120 121 122 -3 123 124 125 -3 126 127 128 -3 129 130 131 -3 132 133 134 -3 135 136 137 -3 138 139 140 -3 141 142 143 -3 144 145 146 -3 147 148 149 -3 150 151 152 -3 153 154 155 -3 156 157 158 -3 159 160 161 -3 162 163 164 -3 165 166 167 -3 168 169 170 -3 171 172 173 -3 174 175 176 -3 177 178 179 -3 180 181 182 -3 183 184 185 -3 186 187 188 -3 189 190 191 -3 192 193 194 -3 195 196 197 -3 198 199 200 -3 201 202 203 +0 0 4 +0 0 0 +0 -1 4 +0 -1 4 +0 0 0 +0 -1 0 +0 -1 4 +0 -1 0 +3.0950184 -1 4 +3.0950184 -1 4 +0 -1 0 +3.0950184 -1 0 +3.0950184 -1 4 +3.0950184 -1 0 +5.9513144 -3 4 +5.9513144 -3 4 +3.0950184 -1 0 +5.9513144 -3 0 +5.9513144 -3 4 +5.9513144 -3 0 +9.5 -3 4 +9.5 -3 4 +5.9513144 -3 0 +9.5 -3 0 +9.5 -3 4 +9.5 -3 0 +9.5 -2.5 4 +9.5 -2.5 4 +9.5 -3 0 +9.5 -2.5 0 +9.5 -2.5 4 +9.5 -2.5 0 +6.108964 -2.5 4 +6.108964 -2.5 4 +9.5 -2.5 0 +6.108964 -2.5 0 +3.4311862 -0.625 4 +4.323779 -1.25 4 +4.323779 -1.25 0 +4.323779 -1.25 4 +6.108964 -2.5 4 +6.108964 -2.5 0 +3.4311862 -0.625 0 +2.5385938 0 0 +2.5385938 0 4 +3.4311862 -0.625 4 +3.4311862 -0.625 0 +2.5385938 0 4 +4.323779 -1.25 4 +6.108964 -2.5 0 +4.323779 -1.25 0 +3.4311862 -0.625 0 +3.4311862 -0.625 4 +4.323779 -1.25 0 +3.342784 0.375 4 +2.5385938 0 4 +2.5385938 0 0 +4.146974 0.75 4 +3.342784 0.375 4 +3.342784 0.375 0 +3.342784 0.375 0 +4.146974 0.75 0 +4.146974 0.75 4 +4.146974 0.75 0 +5.755354 1.5 0 +5.755354 1.5 4 +3.342784 0.375 4 +2.5385938 0 0 +3.342784 0.375 0 +5.755354 1.5 4 +4.146974 0.75 4 +4.146974 0.75 0 +5.755354 1.5 4 +5.755354 1.5 0 +9.5 1.5 4 +9.5 1.5 4 +5.755354 1.5 0 +9.5 1.5 0 +9.5 1.5 4 +9.5 1.5 0 +9.5 2 4 +9.5 2 4 +9.5 1.5 0 +9.5 2 0 +9.5 2 4 +9.5 2 0 +5.644507 2 4 +5.644507 2 4 +9.5 2 0 +5.644507 2 0 +5.644507 2 4 +5.644507 2 0 +3.5 1 4 +3.5 1 4 +5.644507 2 0 +3.5 1 0 +3.5 1 4 +3.5 1 0 +0 1 4 +0 1 4 +3.5 1 0 +0 1 0 +0 1 4 +0 1 0 +0 0 4 +0 0 4 +0 1 0 +0 0 0 +3.342784 0.375 0 +2.5385938 0 0 +3.5 1 0 +3.4311862 -0.625 0 +4.323779 -1.25 0 +3.0950184 -1 0 +3.342784 0.375 0 +3.5 1 0 +4.146974 0.75 0 +4.323779 -1.25 0 +5.9513144 -3 0 +3.0950184 -1 0 +0 -1 0 +2.5385938 0 0 +3.0950184 -1 0 +0 -1 0 +0 0 0 +2.5385938 0 0 +9.5 -3 0 +6.108964 -2.5 0 +9.5 -2.5 0 +9.5 -3 0 +5.9513144 -3 0 +6.108964 -2.5 0 +5.9513144 -3 0 +4.323779 -1.25 0 +6.108964 -2.5 0 +5.644507 2 0 +5.755354 1.5 0 +4.146974 0.75 0 +3.0950184 -1 0 +2.5385938 0 0 +3.4311862 -0.625 0 +4.146974 0.75 0 +3.5 1 0 +5.644507 2 0 +9.5 1.5 0 +5.755354 1.5 0 +9.5 2 0 +5.755354 1.5 0 +5.644507 2 0 +9.5 2 0 +2.5385938 0 0 +0 0 0 +0 1 0 +3.5 1 0 +2.5385938 0 0 +0 1 0 +3.342784 0.375 4 +3.5 1 4 +2.5385938 0 4 +4.146974 0.75 4 +3.5 1 4 +3.342784 0.375 4 +3.4311862 -0.625 4 +3.0950184 -1 4 +4.323779 -1.25 4 +4.146974 0.75 4 +5.755354 1.5 4 +5.644507 2 4 +0 1 4 +2.5385938 0 4 +3.5 1 4 +0 1 4 +0 0 4 +2.5385938 0 4 +5.644507 2 4 +5.755354 1.5 4 +9.5 2 4 +9.5 2 4 +5.755354 1.5 4 +9.5 1.5 4 +4.146974 0.75 4 +5.644507 2 4 +3.5 1 4 +2.5385938 0 4 +3.0950184 -1 4 +3.4311862 -0.625 4 +4.323779 -1.25 4 +3.0950184 -1 4 +5.9513144 -3 4 +6.108964 -2.5 4 +4.323779 -1.25 4 +5.9513144 -3 4 +9.5 -2.5 4 +6.108964 -2.5 4 +9.5 -3 4 +6.108964 -2.5 4 +5.9513144 -3 4 +9.5 -3 4 +2.5385938 0 4 +0 -1 4 +3.0950184 -1 4 +0 -1 4 +2.5385938 0 4 +0 0 4 +3 0 1 2 +3 3 4 5 +3 6 7 8 +3 9 10 11 +3 12 13 14 +3 15 16 17 +3 18 19 20 +3 21 22 23 +3 24 25 26 +3 27 28 29 +3 30 31 32 +3 33 34 35 +3 36 37 38 +3 39 40 41 +3 42 43 44 +3 45 46 47 +3 48 49 50 +3 51 52 53 +3 54 55 56 +3 57 58 59 +3 60 61 62 +3 63 64 65 +3 66 67 68 +3 69 70 71 +3 72 73 74 +3 75 76 77 +3 78 79 80 +3 81 82 83 +3 84 85 86 +3 87 88 89 +3 90 91 92 +3 93 94 95 +3 96 97 98 +3 99 100 101 +3 102 103 104 +3 105 106 107 +3 108 109 110 +3 111 112 113 +3 114 115 116 +3 117 118 119 +3 120 121 122 +3 123 124 125 +3 126 127 128 +3 129 130 131 +3 132 133 134 +3 135 136 137 +3 138 139 140 +3 141 142 143 +3 144 145 146 +3 147 148 149 +3 150 151 152 +3 153 154 155 +3 156 157 158 +3 159 160 161 +3 162 163 164 +3 165 166 167 +3 168 169 170 +3 171 172 173 +3 174 175 176 +3 177 178 179 +3 180 181 182 +3 183 184 185 +3 186 187 188 +3 189 190 191 +3 192 193 194 +3 195 196 197 +3 198 199 200 +3 201 202 203 diff --git a/e2e/playwright/export-snapshots/ply-binary_big_endian.ply b/e2e/playwright/export-snapshots/ply-binary_big_endian.ply index ad4b6e11a..4053a8ba6 100644 Binary files a/e2e/playwright/export-snapshots/ply-binary_big_endian.ply and b/e2e/playwright/export-snapshots/ply-binary_big_endian.ply differ diff --git a/e2e/playwright/export-snapshots/ply-binary_little_endian.ply b/e2e/playwright/export-snapshots/ply-binary_little_endian.ply index ce09aae85..1bb2fa5b8 100644 Binary files a/e2e/playwright/export-snapshots/ply-binary_little_endian.ply and b/e2e/playwright/export-snapshots/ply-binary_little_endian.ply differ