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

bug while reading dxf files #11

Open
coder432 opened this issue Mar 14, 2019 · 0 comments
Open

bug while reading dxf files #11

coder432 opened this issue Mar 14, 2019 · 0 comments

Comments

@coder432
Copy link

coder432 commented Mar 14, 2019

`from Goulib.drawing import *

d = Drawing("house design.dxf")`
Results in error
/.local/lib/python3.6/site-packages/Goulib/drawing.py in from_dxf(self, dxf, layers, only, ignore, trans, flatten)
682 t2 = trans*Trans(e.scale[:2], e.insert[:2], e.rotation)
683 if flatten:
--> 684 self.from_dxf(self.block[e.name].dxf, layers=None, ignore=ignore, only=None, trans=t2, flatten=flatten)
685 else:
686 self.append(Instance.from_dxf(e, self.block, t2))

AttributeError: 'Group' object has no attribute 'block'

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

1 participant