summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a2c309d..f992edf 100644
--- a/README.md
+++ b/README.md
@@ -98,7 +98,7 @@ In order to fill closed shape, ```DM_FILL``` has to be set to ```draw_mode``` pr
import gerberex
dxf = gerberex.read('outline.dxf')
-dxf.draw_mode = gerberex.DxfFile.DM_FILL
+dxf.draw_mode = dxf.DM_FILL
dxf.write('outline.gml')
```
@@ -127,7 +127,7 @@ drill = gerberex.read('drill.txt')
ctx.merge(drill)
dxf = gerberex.read('mousebites.dxf')
-dxf.draw_mode = gerberex.DxfFile.DM_MOUSE_BITES
+dxf.draw_mode = dxf.DM_MOUSE_BITES
dxf.to_metric()
dxf.width = 0.5
dxf.pitch = 1