Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
feat: SnapCAD Studio'yu YakHub deposuna taşı
- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user