three-dxf-viewer icon indicating copy to clipboard operation
three-dxf-viewer copied to clipboard

DXF viewer using ThreeJS

Results 12 three-dxf-viewer issues
Sort by recently updated
recently updated
newest added

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...

![capture1](https://github.com/user-attachments/assets/0bba35fb-e7a5-49c5-bf11-e6931dc5cb2d) seems like problem with fetching data ![image](https://github.com/user-attachments/assets/f60e5de8-8676-45b6-8c3a-a18f457f59c6)

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) ![1](https://github.com/ieskudero/three-dxf-viewer/assets/1401796/29ff5dd3-ded1-4a1b-a29f-98bd3c4000d1)

Im using react and when i load a dxf file for testing i get the following error: ![image](https://github.com/ieskudero/three-dxf-viewer/assets/107645540/664e4865-60fb-494b-a1b6-5a1d299c790d) 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); });...