summaryrefslogtreecommitdiff
path: root/gerber
AgeCommit message (Collapse)AuthorFilesLines
2015-02-15Add cairo example code, and use example-generated image in readmeHamilton Kibbe4-8/+17
2015-02-15Tests and bugfixesHamilton Kibbe10-63/+393
2015-02-13Fix rendering for line with rectangular aperture per #12. Still need to do ↵Hamilton Kibbe5-27/+108
the same for arcs.
2015-02-12Update line primitive to take aperture parameterHamilton Kibbe5-51/+63
This fixes the exception referenced in #12. Still need to add rendering code for rectangle aperture lines and arcs. Rectangle strokes will be drawn as polygons by the rendering backends.
2015-02-09Tests and bugfixesHamilton Kibbe4-30/+202
2015-02-09Add aperture macro statement testsHamilton Kibbe3-88/+393
2015-02-08Fix write_gerber_value bugHamilton Kibbe2-0/+8
2015-02-08add rest of aperture macro primitivesHamilton Kibbe2-77/+1
2015-02-08Add rest of Aperture Macro PrimitivesHamilton Kibbe1-134/+571
2015-02-08Fix copy-paste error on ASParamStmtPaulo Henrique Silva1-1/+1
2015-02-08Remove unused filePaulo Henrique Silva1-76/+0
2015-02-02Added some Aperture Macro Primitives. Moved AM primitives to seperate fileHamilton Kibbe3-75/+426
2015-02-02testsHamilton Kibbe7-46/+240
2015-02-02More tests and bugfixesHamilton Kibbe9-110/+235
2015-02-01Added primitives and testsHamilton Kibbe3-28/+318
2015-01-26merge upstream changesHamilton Kibbe3-2/+4
2015-01-26Added some testsHamilton Kibbe4-2/+126
2015-01-25...oopsHamilton Kibbe1-1/+0
2015-01-25Changed zeros/zero suppression conventions to match file format specsHamilton Kibbe6-39/+141
2015-01-23Fix tests for leading zero suppressionHamilton Kibbe1-6/+6
2015-01-15Add Repeat Hole Stmt and fix UnitStmt parsingPaulo Henrique Silva2-3/+25
* Repeat hole support (with no real parsing, just a copy) * Fix UnitStmt to works even when a ,TZ or ,LZ information is not provided.
2015-01-14Many additions to Excellon parsing/creation.Paulo Henrique Silva3-56/+144
CAUTION: the original code used zero_suppression flags in the opposite sense as Gerber functions. This patch changes it to behave just like Gerber code. * Add metric/inch conversion support * Add settings context variable to to_gerber just like Gerber code. * Add some missing Excellon values. Tests are not entirely updated.
2015-01-14Fix for cases whee the coordinate precision is decreased.Paulo Henrique Silva1-2/+5
If we parse a file with 5.5 INCH format and ask to write it back as 2.4 INCH we are going to loose precision and write_gerber_value was not handling these cases write.
2015-01-14Fix Mirror (deprecated) param generationPaulo Henrique Silva1-1/+1
2015-01-14Refactor AM aperture handling and add unit conversion supportPaulo Henrique Silva2-9/+129
* Add support to convert between metric/impertial * AM primitives are now properly created and can be converted between metric/imperial. (only Outline primitive is supported, no rendering yet)
2015-01-13Fix region primitive creationPaulo Henrique Silva1-1/+1
2014-12-15Fix parsing for OrCAD.Paulo Henrique Silva2-154/+327
* Modify the way we parse parameters to allow more than one parameter in a single line as in the following example: %FSLAX55Y55*MOIN*% %IR0*IPPOS*OFA0.00000B0.00000*MIA0B0*SFA1.00000B1.00000*% (this is from OrCAD 16 default output) * Add missing deprecated parameters. * Change API to use given FileSettings on output. This allows us to use pcb-tools to convert between FS formats.
2014-12-15Fix parsing for very short (less 20 lines) files.Paulo Henrique Silva1-2/+7
2014-12-05add ipc2581 primitivesHamilton Kibbe3-20/+94
2014-11-10Bunch of small fixes to improve Gerber read/write.Paulo Henrique Silva6-42/+53
2014-10-28Add arc rendering and testsHamilton Kibbe5-8/+179
2014-10-27Fix rendering of 0-width lines (e.g. board outlines) in SVG and Cairo rendererHamilton Kibbe2-63/+13
2014-10-26removed dead codeHamilton Kibbe1-60/+4
2014-10-26cairo workingHamilton Kibbe4-115/+123
2014-10-26style changePaulo Henrique Silva1-2/+3
2014-10-26Add simple hack to allow evaluation when gerber have macros and polygonPaulo Henrique Silva1-3/+5
2014-10-26Fix parsing for AM macros and support for zero sized circle primitivesPaulo Henrique Silva1-3/+3
2014-10-26Fix ValueError, missing self.Paulo Henrique Silva1-1/+1
2014-10-26Fix parsing of Unknown commandsPaulo Henrique Silva1-0/+4
2014-10-26cairo supportHamilton Kibbe1-0/+156
2014-10-26Merge aperture fixses from upstreamHamilton Kibbe2-8/+8
2014-10-26Merge changes from upstreamHamilton Kibbe2-203/+218
2014-10-25Support for zero size C apertures and fix parsing of ADDNN<macro-name>Paulo Henrique Silva1-5/+8
2014-10-22Fix coordinate computation when x or y is 0 in non standard wayPaulo Henrique Silva1-1/+1
2014-10-21Fix parsing when x or y coordinate is missing on COORD statementPaulo Henrique Silva1-2/+2
2014-10-19Test updateHamilton Kibbe21-70/+14344
2014-10-18Refactor renderingHamilton Kibbe8-650/+408
2014-10-17Fix parsing of COORD with +000 styled numbersPaulo Henrique Silva1-2/+2
2014-10-17Fix parsing of Unknown statementsPaulo Henrique Silva1-3/+7
2014-10-16Add primitive definitions and bounding box calcs for DRCHamilton Kibbe1-0/+193