release: publish v1.0.0

This commit is contained in:
Formsmith
2026-08-10 16:15:32 +03:00
parent decf33521a
commit a42922c4f3
56 changed files with 3914 additions and 125 deletions
+12
View File
@@ -0,0 +1,12 @@
import { describe, expect, it } from "vitest";
import { sketchForgeToZUp, zUpToSketchForge } from "@/lib/meshCoordinates";
describe("mesh coordinate conventions", () => {
it("maps slicer Z-up coordinates to SketchForge Y-up and back", () => {
const slicerPoint: [number, number, number] = [12, 34, 56];
const sketchForgePoint = zUpToSketchForge(slicerPoint);
expect(sketchForgePoint).toEqual([12, 56, -34]);
expect(sketchForgeToZUp(sketchForgePoint)).toEqual(slicerPoint);
});
});