feat: SnapCAD Studio'yu YakHub deposuna taşı
Build and Push Docker Images / build (push) Canceled after 0s
CI / Typecheck and unit tests (push) Canceled after 0s

- DWG/DXF içe aktarma ve .skf yeniden açma düzeltmeleri

- YakNet Bulut eşitlemede boş/eski kopya koruması ve yerel-only proje bildirimi

- Panelden içe aktarma duyuruları ve erişilebilir Türkçe hata mesajları

- AGPL-3.0 lisansı, README ve YakHub bağlantıları
This commit is contained in:
Enes Yakıştır
2026-10-25 18:20:21 +03:00
parent e9cb8e8681
commit 33b0940012
149 changed files with 46978 additions and 1273 deletions
+4 -4
View File
@@ -69,7 +69,7 @@ describe("SVG source preflight", () => {
expect(() => validateSvgSourcePreflight('<svg><use href="https://example.com/art.svg#part"/></svg>')).toThrow(/external references/i);
});
it("reports malformed Tinkercad cross-section geometry", () => {
it("reports malformed cross-section geometry with NaN coordinates", () => {
expect(() => validateSvgSourcePreflight('<svg width="NaNmm" viewBox="NaN NaN NaN NaN"><path d="z"/></svg>')).toThrow(/workplane intersects the model/i);
});
@@ -109,14 +109,14 @@ describe("SVG path extrusion", () => {
expect(() => buildSvgExtrusionFromPaths([rectangle(0, 0, 10, 10, { fill: "#00000000" })])).toThrow(/no readable visible/i);
});
it("imports a closed Tinkercad-style stroke as an extrusion profile", () => {
const tinkercadOutline = shapePath([[0, 0], [10, 0], [10, 6], [0, 6], [0, 0]], {
it("imports a closed stroke as an extrusion profile", () => {
const strokeOutline = shapePath([[0, 0], [10, 0], [10, 6], [0, 6], [0, 0]], {
closed: false,
fill: "none",
stroke: "rgb(255,0,0)",
strokeWidth: 0.001,
});
const result = buildSvgExtrusionFromPaths([tinkercadOutline]);
const result = buildSvgExtrusionFromPaths([strokeOutline]);
expect(result.analysis.width).toBeCloseTo(10);
expect(result.analysis.depth).toBeCloseTo(6);
expect(result.analysis.volume).toBeCloseTo(240);