three-dxf-viewer
three-dxf-viewer copied to clipboard
DXF viewer using ThreeJS
When attempting to load a DXF file using the const dxfData = await new DXFViewer().getFromFile() method in a React application, an error is thrown: Uncaught (in promise) SyntaxError: Unexpected token...
Hello again, the threejs object that this returns is compatible with react three fiber?
Hi, Your bookshop works perfectly, and the quality is really very good. I develop in PHP/HTML/JS, but not in nodejs (no NodeJS server available, I opted for PHP). I would...
Hatch entity is not always drawn correctly when is a pattern hatch type. The boundary is correctly drawn as a line but not as a shape.
There are cases where drawing positions exceeds the Float32Array significant digits so numbers are rounded. Explanation [here](https://stackoverflow.com/questions/8542414/javascript-float32array-wierdness). And WebGL doesn't allow Float64Array buffers yet (as explained [here](https://stackoverflow.com/questions/38494397/is-it-possible-to-use-float64array-instead-of-float32array-in-three-buffergeomet)), so there is...
 seems like problem with fetching data 
Version 1.0.31 added `type: module` to the package which changed the loading behaviour. In `Vite.prod.config.js` the `entryFIleNames` was set to `main.js` always which means `main.js` (ESM) was overwritten by what...
When the inserted entity's group code (210,220,230) has value(0, 0, -1), the entity's threejs object will display incorrectly. This is the AutoCAD's example file: [Example.dxf.tar.gz](https://github.com/user-attachments/files/16092159/Example.dxf.tar.gz) 
Im using react and when i load a dxf file for testing i get the following error:  Im not sure whats happening, cause i did correctly ran `npm install...
Hello, I tried the NPM install and got error from Blazor that DXFViewer is not a constructor. I tried the CDN: document.addEventListener('DOMContentLoaded', () => { console.log('Three.js:', THREE); console.log('DXFViewer:', window.DXFViewer); });...