DXF and DWG viewer - source code ================================ This is the source of the DXF and DWG viewer at https://johnmcm.com/dwg-viewer, published because it runs together with libredwg-web, which is licensed under the GNU General Public License version 3. These files are licensed under the GNU General Public License, version 3 or (at your option) any later version. The full text is in COPYING, alongside. dxf-read.ts reads DXF files into their group codes dxf-geometry.ts turns DXF entities into lines, fills and text to draw aci.ts the AutoCAD colour index dwg.ts converts DWG to DXF with libredwg-web dxf-viewer.component.* the page itself (Angular) libredwg-web: https://github.com/mlightcad/libredwg-web (GPL-3.0), a build of GNU LibreDWG: https://www.gnu.org/software/libredwg/ The published copy is made from the site's repository at build time, so it is always the version the site is running.