The Viewer2d class is utilized for viewing 2D drawings and PDF. To work with DWG files, they need to be converted to DXF format first using the dwg2dxf.exe worker. The tool supports most common entity ...
This is an example application that demonstrates how to use the @mlightcad/cad-simple-viewer package to display DXF and DWG files in a web browser. Finally, copy web worker javascript files to ...