Open andrelzsousa opened 3 months ago
How are you loading the DXFViewer class? I can't see why it could break loading the class unless I see the code. However, I have made a minimun application with react & vite, based on the react example, that shows how to use it dxftest.zip
Hopes it help. Let me know if this runs or not.
Thanks for the response. So, i downloaded and tried to run the project you sent. It seems that the DXFViewer class error is gone and there isnt any TS error either. But a new error has apperead when i load a dxf file on the input: Have you ever faced this one? Do you know how to solve it?
Thanks in advance!!!
Can you pass me the dxf file that gives you that error? I think it is easily fixable if I check for undefined x,y or z values, but I don't know why there are undefined values in that entity. I would need the dxf file to verify it.
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 three-dxf-viewer
and it is located on my package.json file. How can i solve this?