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: sesli CAD asistani, bellek optimizasyonlari ve akilli cozunurluk
- SnapVoice Turkce sesli CAD ve komut konsolu (/denetle, /ram, /eko, /otomatik, /sessiz) - 3B uzamsal sesli radar ve gorme engelli gelistirici geometri denetim motoru - LibreDWG/DXF ikili sikistirma, font tembel yukleme ve RAM optimizasyonu - Monitor cozunurlugune gore otomatik uyarlamali dinamik grafik modu
This commit is contained in:
@@ -4,6 +4,8 @@ import path from "node:path";
|
||||
import {
|
||||
MAX_DWG_BYTES,
|
||||
convertDwgBytesToDxf,
|
||||
convertWithMlightLibreDwg,
|
||||
getMlightLibreDwg,
|
||||
importedShapeFromDwg,
|
||||
loadLibreDwgKernel,
|
||||
readDwgVersion,
|
||||
@@ -65,6 +67,15 @@ describe("LibreDWG WebAssembly Kernel", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("initializes modern GNU LibreDWG WebAssembly kernel instance with dwg_write_dxf", async () => {
|
||||
const wasm = await getMlightLibreDwg();
|
||||
expect(wasm).toBeDefined();
|
||||
expect(wasm.FS).toBeDefined();
|
||||
expect(typeof wasm.FS.writeFile).toBe("function");
|
||||
expect(typeof wasm.FS.readFile).toBe("function");
|
||||
expect(typeof wasm.dwg_write_dxf).toBe("function");
|
||||
});
|
||||
|
||||
it("converts a real AutoCAD DWG file to DXF and constructs a 3D solid shape", async () => {
|
||||
const dwgPath = path.resolve(process.cwd(), "test_circle_2010.dwg");
|
||||
if (fs.existsSync(dwgPath)) {
|
||||
|
||||
Reference in New Issue
Block a user