Skip to content
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

the dxf graphics are separated #26

Open
Huai-Dc opened this issue Feb 22, 2019 · 4 comments
Open

the dxf graphics are separated #26

Huai-Dc opened this issue Feb 22, 2019 · 4 comments

Comments

@Huai-Dc
Copy link

Huai-Dc commented Feb 22, 2019

image

@bzuillsmith
Copy link
Member

Hmmmm do you have a sample I can use to reproduce the problem or can you provide this document? It could be a problem with scale and positioning of blocks. I'll have to experiment with it a bit though

@Huai-Dc
Copy link
Author

Huai-Dc commented Feb 22, 2019

thanks for you reply This is the link to the file. https://github.com/Huai-Dc/dxfFile/blob/master/20180912-file.dxf

@bzuillsmith
Copy link
Member

Thanks for the file, I will look at it when I have time. actually taking a second glance at this, it looks like it's probably a rotation issue. I don't believe I programmed that into this module yet

@bzuillsmith
Copy link
Member

I'm starting to wonder if this is due to some kind of rounding error. I see that all the blocks that are scaled by 1000 and rotated. All those are on the right. Anything that is not scaled/rotated, is to the left. The coordinates are quite large and I know WebGL only works with floating-point numbers which means reduced accuracy with large numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants