diff options
author | opiopan <opiopan@gmail.com> | 2019-04-07 22:22:33 +0900 |
---|---|---|
committer | opiopan <opiopan@gmail.com> | 2019-04-07 22:22:33 +0900 |
commit | e3c59e39cf9bc64ce9d76c324b82956a65515f16 (patch) | |
tree | 96a87bab252420c14d955ad4c1d59a5101b77cf4 /README.md | |
parent | d53293a609a83aa945af6864285b90d36bcbdd69 (diff) | |
download | gerbonara-e3c59e39cf9bc64ce9d76c324b82956a65515f16.tar.gz gerbonara-e3c59e39cf9bc64ce9d76c324b82956a65515f16.tar.bz2 gerbonara-e3c59e39cf9bc64ce9d76c324b82956a65515f16.zip |
expand test and fix many issues
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |