-
Notifications
You must be signed in to change notification settings - Fork 144
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
How to extract mesh geometry from polylines? #46
Comments
I don't think there's enough information to help here, can you provide a stackblitz with a basic sample of the problem? |
@Serthys https://stackblitz.com/edit/js-csuc78?file=index.js |
The scene data on that editor is stored on your browser, I can't see it. |
You can load any dxf file |
I have added scene.json to project |
Ok, I didn't understand you before. I thought you were trying to load the scene file. |
I just uploaded the scene.json to project successfully https://stackblitz.com/edit/js-csuc78?file=scene.json |
DXF file cannot be uploaded due to |
Upload it on other place like pastebin for example. |
DXF is too large (about 3MB) |
I've checked the dxf source and the zeros are already there, it doesn't look like an error from the parsing. About how to extract the data and display it in threejs, I've never used the 3D features of dxf some I'm kinda lost there. If you manage to do it feel free to submit a pull request on /gdsestimating/three-dxf. |
How should I create faces and vertices from 3D points list? (dxf.entities -> type = 'POLYLINE')
I have tried this:
But several polygons are missed. Moreover, I see a few points with a zero coordinates
![Kazam_screenshot_00003](https://user-images.githubusercontent.com/8259641/56377358-eb697080-6212-11e9-96b4-c1b213cb7841.png)
The text was updated successfully, but these errors were encountered: