vork by Voyager
An agent writes a scene as code, renders it on the GPU, looks at the result and revises the code. Source-available and free during the research preview.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Free CAD conversion in the browser at 5cad2pdf.com. Files are never uploaded.
DWG / DXF to PDF (/)
PDF to DWG / DXF (/pdf-to-dwg)
English interface by default, Chinese at /zh/.
Each page is rendered off screen with the mlightcad CAD viewer in two passes. Linework is rendered at 200 dpi and thickened to the chosen line weight (default 0.35 mm). Text is rendered separately at 450 dpi with a light 0.12 mm stroke and laid transparently on top, so small text stays readable when the PDF is zoomed in. Tiles are compressed with the browser's native zlib and embedded directly. Layers set to not plot are left out, as in AutoCAD, unless "Include layers set to not plot" is ticked. If high-fidelity rendering fails, the PDF is made with the vector renderer instead and the status line says so.
The preview on the page uses a fast SVG renderer; the high-fidelity renderer loads in the background after a drawing is opened.
zh.html – the DWG to PDF app, Chinese (the source; static, no build step)index.html – the same app in English, generated from zh.html by tools/i18n/build-en.cjspdf-to-dwg.html, zh-pdf-to-dwg.html – the PDF to DWG / DXF page, built from tools/pdf2dxf/pdf2dxf/ – core.js (reads PDFs, writes DXF), dwg.js (writes DWG) and the blank DWG templatehifi/ – built high-fidelity renderer: cadhifi.js plus the DWG parser and MTEXT workersdwg/, dwg-next/ – DWG readers (LibreDWG compiled to WebAssembly); tools/dwg/ builds themapi/ – usage statistics and feedback (Vercel functions); admin.html shows themtools/hifi/ – source and build script for hifi/Rebuild hifi/ after changing tools/hifi/entry.js or upgrading packages:
cd tools/hifi
npm install --legacy-peer-deps
npm run build
CAD fonts (SHX/TTF) load at run time from mlightcad/cad-data via jsDelivr.
Each page has an English address and a Chinese one: / and /zh/, /pdf-to-dwg and /zh/pdf-to-dwg,
linked with hreflang (English is the default). zh.html is the source of both main pages; after changing it run
node tools/i18n/build-en.cjs to rebuild the English index.html. The PDF to DWG pages are built by
python3 tools/pdf2dxf/build-page.py (writes zh-pdf-to-dwg.html and pdf-to-dwg.html).
cad2pdf is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE.
Copyright (C) 2026 Sissi Tang
The DWG reader in dwg/ and dwg-next/ is LibreDWG (GPL-3.0) compiled to WebAssembly; the
source of the backup reader is mlightcad/libredwg-web with LibreDWG merged in, built by
.github/workflows/build-dwg-reader.yml with the changes in tools/dwg/. The bundled fonts in
fonts/ keep their own license (SIL Open Font License, see fonts/OFL-*.txt).
PDF to DWG / DXF (/pdf-to-dwg, source in pdf2dxf/ and tools/pdf2dxf/) reads PDFs with
pdf.js (Apache-2.0). The DWG writer (pdf2dxf/dwg.js) is our own;
it starts from pdf2dxf/template-r2000.dwg, a blank drawing saved by AutoCAD in 2000 format, taken from
the LibreDWG test data (test/test-data/2000/Line.dwg, GPL-3.0).
hifi/workers/)Deployed on Vercel with Web Analytics.