DWG reader of convertpdftocad.com: source code ============================================= The DWG to PDF converter on https://convertpdftocad.com/dwg-to-pdf/ reads DWG files in your browser with a small Web Worker. That worker and the two libraries it loads are free software under the GNU General Public License, version 3 or later (GPL-3.0). This folder holds their complete source code. What runs in your browser, in https://convertpdftocad.com/dwg/0.8.3/: reader.js the Web Worker (written for this site, GPL-3.0-or-later, readable as it is) dist/libredwg-web.js libredwg-web 0.8.3 from npm (@mlightcad/libredwg-web), with one changed line wasm/libredwg-web.js libredwg-web 0.8.3 from npm, unchanged (Emscripten loader) wasm/libredwg-web.wasm.gz libredwg-web 0.8.3 from npm, unchanged, gzipped (LibreDWG compiled to WebAssembly) LICENSE.txt the GNU General Public License, version 3 Source code here: libredwg-web-0.8.3-source.tar.gz The source of libredwg-web at tag v0.8.3 (commit b5177613f2c735858a6d1cb1d1c7e238c397b88f), which contains LibreDWG and the JavaScript bindings, with the build scripts (bindings/javascript/script/build-wasm.mjs). Test drawings and example files are left out to keep the download small; they are not needed to build. Upstream: https://github.com/mlightcad/libredwg-web and https://www.gnu.org/software/libredwg/ libredwg-web-0.8.3-dist.patch The one line changed in dist/libredwg-web.js: empty table cells are skipped, so drawings made with AutoCAD 2000 that contain tables can be read. The rest of the site (the page, the PDF writer, the DXF reader and the PDF to DXF converter) is separate code that talks to the worker only by passing messages, and is not covered by this licence. Questions about this code: https://convertpdftocad.com/contact/