-
Notifications
You must be signed in to change notification settings - Fork 98
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
Could not load ShapePath imported by node_modules textRenderer.js #77
Comments
Hi, import {ShapePath} from "three/src/extras/core/ShapePath.js"
import {ShapeUtils} from "three/src/extras/ShapeUtils.js" I will fix it in the mainline, you can now fix it locally as a workaround. |
The fix is in "dxf-viewer": "github:vagran/dxf-viewer#master"
No, the library is just a renderer. Any tools are a subject for implementation in applications built on top of the library. For measuring distance between two points you can use some spatial 2D index for indexing all vertices received in rendering batches, then use it to lookup nearest vertex to snap to. However, currently all information about vertex semantic is lost, so it is not possible to filter out, e.g. vertices of text glyphs or tesselated arcs. |
Dear @vagran However, now I'm facing the following issue: here is the repo: Best regards, |
Here is the link to the original repo: https://github.com/MiguelG97/dxfViewer Something going on at line 30850 apparently |
Dear developer,
I'm struggling with bundling the project. I've installed the libraries and somehow the node_modules is having problems to import files form three js library.
Would you mind helping me with this one, here is the repo. Literally no code, just setting up the rollup bundle:
https://github.com/MiguelG97/dxfViewer
All the best
Miguel G
The text was updated successfully, but these errors were encountered: