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

Various fixes #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from sdxf import *
5 changes: 2 additions & 3 deletions sdxf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ def __init__(self, entities=None):
BASELINE, BOTTOM, MIDDLE, TOP = 0, 1, 2, 3

####3) Classes
#---entitities

#---entities

class Arc(_Entity):
"""Arc, angles in degrees."""
Expand Down Expand Up @@ -550,7 +549,7 @@ def ViewByWindow(name, leftBottom=(0, 0), rightTop=(1, 1), **options):
class Drawing(_Collection):
"""Dxf drawing. Use append or any other list methods to add objects."""
def __init__(self, insbase=(0.0, 0.0, 0.0), extmin=(0.0, 0.0),
extmax=(0.0, 0.0), layers=[Layer()], linetypes=[LineType()],
extmax=(0.0, 0.0), layers=[], linetypes=[LineType()],
styles=[Style()], blocks=[], views=[], entities=None,
fileName='test.dxf'):
# TODO: replace list with None,arial
Expand Down