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
+11
View File
@@ -0,0 +1,11 @@
export type MeshPoint = readonly [number, number, number];
/** Maps the Z-up coordinate convention used by slicers/CAD files into SketchForge's Y-up scene. */
export function zUpToSketchForge([x, y, z]: MeshPoint): [number, number, number] {
return [x, z, -y];
}
/** Maps SketchForge's Y-up scene into the Z-up coordinate convention expected by slicers. */
export function sketchForgeToZUp([x, y, z]: MeshPoint): [number, number, number] {
return [x, -z, y];
}