Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-01-21 | Fix a bunch of rendering bugs. | Hamilton Kibbe | 12 | -324/+598 | |
- 'clear' polarity primitives no longer erase background - Added aperture macro support for polygons - Added aperture macro rendring support - Renderer now creates a new surface for each layer and merges them instead of working directly on a single surface - Updated examples accordingly | |||||
2015-12-22 | Add PCB interface | Hamilton Kibbe | 1 | -0/+33 | |
this incorporates some of @chintal's layers.py changes PCB.from_directory() simplifies loading of multiple gerbers the PCB() class should be pretty helpful going forward... the context classes could use some cleaning up, although I'd like to wait until the freecad stuff gets merged, that way we can try to refactor the context base to support more use cases | |||||
2015-12-19 | Allow negative render of soldermask per #50 | Hamilton Kibbe | 2 | -23/+24 | |
Update example code and rendering to show change | |||||
2015-11-23 | Fix AMParamStmt to_gerber to write changes back. | Paulo Henrique Silva | 1 | -2/+2 | |
AMParamStmt was not calling to_gerber on each of its primitives on his own to_gerber method. That way primitives that changes after reading, such as when you call to_inch/to_metric was failing because it was writing only the original macro back. | |||||
2015-11-15 | Use Python's universal newlines to open files | Paulo Henrique Silva | 2 | -5/+5 | |
2015-11-13 | Improve Excellon parsing coverage | Paulo Henrique Silva | 1 | -0/+50 | |
Add some not so used codes that were generating unknown stmt. | |||||
2015-10-10 | Allow files to be read from strings per #37 | Hamilton Kibbe | 2 | -9/+42 | |
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string | |||||
2015-09-10 | Merge pull request #40 from curtacircuitos/cairo-render-unification | Hamilton Kibbe | 1 | -20/+14 | |
Cairo render unification | |||||
2015-08-09 | Add support for arcs in regions. | Hamilton Kibbe | 1 | -20/+14 | |
This fixes the circular cutout issue described in #32. Regions were previously stored as a collection of points, now they are stored as a collection of line and arc primitives. | |||||
2015-06-11 | Add keys to statements for linking to primitives. Add some API features to ↵ | Hamilton Kibbe | 1 | -2/+15 | |
ExcellonFile, such as getting a tool path length and changing tool parameters. Excellonfiles write method generates statements based on the drill hits in the hits member, so drill hits in a generated file can be re-ordered by re-ordering the drill hits in ExcellonFile.hits. see #30 | |||||
2015-06-01 | Fix IPC-D-356 parser. Handle too-long reference designators exported by ↵ | Hamilton Kibbe | 1 | -0/+10 | |
eagle per #28. | |||||
2015-05-21 | Fix multiline read of mixed statements (%XXX*% followed by DNN*) | Paulo Henrique Silva | 2 | -0/+17 | |
We now check if there is a %XXX*% command inside the line before considering it a multiline statement. | |||||
2015-05-21 | Fix ADD statement parsing for concatened statements. | Paulo Henrique Silva | 1 | -3458/+1 | |
ADDxxx param statements were too greedy on the mofidiers and were matching more than it should in cases where there are no newlines after the statement like: '%ADD12C,0.305*%%LPD*%', in a single line. The '%' was not exluded form modifiers so it got confused with the %LPD*% concatened. top_copper.GTL example was changed to be in a single line now with no spaces at all and it works well. | |||||
2015-05-20 | Add support for PCBmodE generated files. | Paulo Henrique Silva | 1 | -0/+18 | |
PCBmodE uses a standard but probably undefined behaviour issue on Gerber where it defines circle apertures with a single modifier but leaves a trilling 'X' after it. 'X' is modifiers separator but when there is only one modifier the behaviour is undefined. For parsing we are just ignoring blank modifiers. Test updated to catch this case. | |||||
2015-05-16 | Add checks to ensure statement unit conversions are idempotent | Hamilton Kibbe | 2 | -14/+254 | |
2015-04-27 | Allow 3 digits on Excellon tool selection | Paulo Henrique Silva | 1 | -0/+3 | |
Fritzing uses more than 2 digits for tool in their Excellons. To comply with that, I check specifically for 3 or less digits and use as tool number, more than that we treat as the standard (2 for tool and 2 for compensation index) | |||||
2015-04-26 | Refactor primitive unit conversion and add regression coverage to tests | Hamilton Kibbe | 1 | -24/+310 | |
2015-04-24 | Fix for #25. Checking was happening at the gerber/excellon file level, but I ↵ | Hamilton Kibbe | 1 | -38/+77 | |
added units checking at the primitive level so the use case shown in the example is covered. Might want to throw a bunch more assertions in the test code (i started doing a few) to cover multiple calls to unit conversion functions | |||||
2015-04-14 | Fix AM statement test | Paulo Henrique Silva | 1 | -2/+2 | |
2015-04-07 | Small change on __str__ for SF Statement | Paulo Henrique Silva | 1 | -1/+1 | |
2015-04-07 | Fix Excellon repeat command | Paulo Henrique Silva | 1 | -1/+1 | |
2015-03-06 | fix tests | Hamilton Kibbe | 1 | -9/+13 | |
2015-03-05 | Fix parsing for multiline ipc-d-356 records | Hamilton Kibbe | 3 | -3/+4 | |
2015-03-05 | Fix tests for macros with no variables. | Paulo Henrique Silva | 1 | -5/+11 | |
All AM*Primitive classes now handles float for all but the code modifiers. This simplifies the reading/parsing. | |||||
2015-02-21 | Merge pull request #20 from curtacircuitos/ipc-d-356 | Paulo Henrique Silva | 2 | -0/+230 | |
Add IPC-D-356 Netlist Parsing | |||||
2015-02-20 | Add IPC-D-356 Netlist Parsing | Hamilton Kibbe | 2 | -0/+230 | |
2015-02-20 | Fix floating point equality test | Paulo Henrique Silva | 1 | -2/+2 | |
2015-02-20 | Fix size test, board is slight out of origin, so size does change now that ↵ | Paulo Henrique Silva | 1 | -2/+2 | |
we properly handle non-zero origins | |||||
2015-02-18 | Add offset operation | Hamilton Kibbe | 3 | -64/+216 | |
2015-02-18 | Python 3 tests passing | Hamilton Kibbe | 3 | -5/+6 | |
2015-02-18 | Make gerber.render a package & fix more relative import statements | Philipp Klaus | 4 | -4/+4 | |
2015-02-18 | Get unit conversion working for Gerber/Excellon files | Hamilton Kibbe | 7 | -21/+388 | |
Started operations module for file operations/transforms | |||||
2015-02-15 | Add cairo example code, and use example-generated image in readme | Hamilton Kibbe | 1 | -0/+2 | |
2015-02-15 | Tests and bugfixes | Hamilton Kibbe | 4 | -25/+314 | |
2015-02-13 | Fix rendering for line with rectangular aperture per #12. Still need to do ↵ | Hamilton Kibbe | 1 | -11/+24 | |
the same for arcs. | |||||
2015-02-12 | Update line primitive to take aperture parameter | Hamilton Kibbe | 1 | -22/+22 | |
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-09 | Tests and bugfixes | Hamilton Kibbe | 2 | -14/+165 | |
2015-02-09 | Add aperture macro statement tests | Hamilton Kibbe | 2 | -2/+261 | |
2015-02-08 | Fix write_gerber_value bug | Hamilton Kibbe | 1 | -0/+3 | |
2015-02-02 | Added some Aperture Macro Primitives. Moved AM primitives to seperate file | Hamilton Kibbe | 1 | -0/+77 | |
2015-02-02 | tests | Hamilton Kibbe | 4 | -38/+201 | |
2015-02-02 | More tests and bugfixes | Hamilton Kibbe | 4 | -19/+144 | |
2015-02-01 | Added primitives and tests | Hamilton Kibbe | 2 | -7/+136 | |
2015-01-26 | merge upstream changes | Hamilton Kibbe | 1 | -1/+1 | |
2015-01-26 | Added some tests | Hamilton Kibbe | 3 | -0/+123 | |
2015-01-25 | Changed zeros/zero suppression conventions to match file format specs | Hamilton Kibbe | 3 | -13/+41 | |
2015-01-23 | Fix tests for leading zero suppression | Hamilton Kibbe | 1 | -6/+6 | |
2015-01-14 | Many additions to Excellon parsing/creation. | Paulo Henrique Silva | 1 | -9/+26 | |
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. | |||||
2014-11-10 | Bunch of small fixes to improve Gerber read/write. | Paulo Henrique Silva | 3 | -11/+18 | |
2014-10-28 | Add arc rendering and tests | Hamilton Kibbe | 2 | -2/+88 | |