diff options
author | opiopan <opiopan@gmail.com> | 2019-03-31 18:16:34 +0900 |
---|---|---|
committer | opiopan <opiopan@gmail.com> | 2019-03-31 18:16:34 +0900 |
commit | 53816574a986722d7af26c5597248d9c96f31bd3 (patch) | |
tree | a2c5f2dc6f1da8f081eb173191ab456abb919b44 /README.md | |
parent | 900d992fa3af05f93ac7a4cf717f28598e1a868d (diff) | |
download | gerbonara-53816574a986722d7af26c5597248d9c96f31bd3.tar.gz gerbonara-53816574a986722d7af26c5597248d9c96f31bd3.tar.bz2 gerbonara-53816574a986722d7af26c5597248d9c96f31bd3.zip |
fix a minor issue
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -6,7 +6,7 @@ This library is designed based on [pcb-tools](https://github.com/curtacircuitos/ pcb-tools-extension adds following function to pcb-tools. - Rotate PCB data -- Write back loded PCB data (original PCB tools does not work completely) +- Write back loaded PCB data (original pcb-tools does not work in some condition) - Merge multiple PCB data - Translate DXF file to gerber data @@ -39,7 +39,7 @@ ctx.merge(metal2) ctx.dump('panelized-board.gtl') ``` -```rotate()``` method can be used to rotate PCB data counterclockwise. you have to specify angle in degree<br> +```rotate()``` method can be used to rotate PCB data counterclockwise. you have to specify angle in degree.<br> ```offset()``` method can be used to move PCB data. Specified offset values are interpreted according to unit setting of PCB data. In case of the above code, ```board2.gtl``` move to 30mm left since ```to_metric()``` is called. In case of Excellon drill data, you have to use ```DrillCompositon``` instead of ```GerberComposition```. @@ -88,7 +88,11 @@ dxf.write('outline.gml') ``` You can also translate DXF closed shape such as circle to RX-274x polygon fill sequence.<br> -In order to fill closed shape, ```DM_FILL``` has to be set to ```drawing_mode``` property. In this mode, All object except circle and closed polyline will be ignored.<br> +In order to fill closed shape, ```DM_FILL``` has to be set to ```drawing_mode``` property. In this mode, All object except closed shapes listed below are ignored. + +- circle +- closed polyline +- closed path which consist of lines and arcs ```python import gerberex |