-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to load dxf with image in it #64
Comments
Is the image an xref? It doesn't support xref yet. |
NOT XREF. Just the IMAGE entity. It is highly appreciated if you could support IMAGE entity. My CAD drawings have a lot of IMAGE entity. As I expressed before, I would love to spend time making contribution to the gemini-viewer-threejs if you folks can add me into your development team. Based on the following discussion, it is safe to say that implementing this feature should not be a rocket science. https://stackoverflow.com/questions/60200623/how-can-i-load-a-local-image-in-three-js |
Could you share the dxf file with image? Loading images in dxf is supported, there maybe a bug for your case. We beleive that is the direction to open it source, and there is still no decision yet. And, even if we decided, we should spend some time to refine, cleanup current code. |
Here you go. |
When you mentioned, as quoted, "Loading images in dxf is supported", what did you mean exactly? Is there another way of inserting image in dxf? |
Sorry, what I said is wrong. I checked again and image is not supported yet! Let's talk with my colleagues for how it is possible to support images. The major trouble is that an image is another file rather than embeded into dxf. |
We can load image as x-ref now, but there are some limitations. The problem is that, as a web page, we cannot read any file from local disk, so we need to use file explorer to select the dxf and image files. It support the case when your dxf and images are under the same folder (the are under the same folder when you create the x-ref in AutoCAD), and you upload these files via file explorer. You can try it with https://pattern-x.github.io/gemini-viewer-examples/#/Upload_your_local_dxf |
When loading a DXF file with linked image in it, the viewer gets stuck at "Loading 45.00%". Please help. The console output is below
The same issue happens when loading a DXF file with OLE image in it.
The text was updated successfully, but these errors were encountered: