From d53293a609a83aa945af6864285b90d36bcbdd69 Mon Sep 17 00:00:00 2001 From: opiopan Date: Wed, 3 Apr 2019 19:05:20 +0900 Subject: add move and rotation capability to DxfFile object --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9a9100b..a2c309d 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,15 @@ dxf.draw_mode = gerberex.DxfFile.DM_FILL dxf.write('outline.gml') ``` +If you want to arrange simple rectangle for PCB outline, ```gerberex.rectangle()``` is better solution. This generate a object representing a rectangle compatible with DXF file object.
+ +```python +import gerberex + +outline = gerberex.rectangle(width=100, height=100, units='metric') +outline.write('outline.gml') +``` + ### Mouse bites mouse bites -- cgit