Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-03-05 | Fix for py3 | Paulo Henrique Silva | 2 | -2/+2 | |
2015-03-05 | Fix tests for macros with no variables. | Paulo Henrique Silva | 5 | -33/+45 | |
All AM*Primitive classes now handles float for all but the code modifiers. This simplifies the reading/parsing. | |||||
2015-03-03 | Add aperture macro parsing and evaluation. | Paulo Henrique Silva | 5 | -31/+390 | |
Aperture macros can get complex with arithmetical operations, variables and variables substitution. Current pcb-tools code just read each macro block as an independent unit, this cannot deal with variables that get changed after used. This patch splits the task in two: first we parse all macro content and creates a bytecode representation of all operations. This bytecode representation will be executed when an AD command is issues passing the required parameters. Parsing is heavily based on gerbv using a Shunting Yard approach to math parsing. Integration with rs274x.py code is not finished as I need to figure out how to integrate the final macro primitives with the graphical primitives already in use. | |||||
2015-02-28 | `sys.stderr.write()` instead of `print >> sys.stderr, "..."` | Philipp Klaus | 1 | -1/+1 | |
2015-02-25 | Convert py3k's map object to tuple explicitly. | hbc | 1 | -1/+1 | |
2015-02-21 | Merge pull request #20 from curtacircuitos/ipc-d-356 | Paulo Henrique Silva | 4 | -2/+559 | |
Add IPC-D-356 Netlist Parsing | |||||
2015-02-20 | Add IPC-D-356 Netlist Parsing | Hamilton Kibbe | 4 | -2/+559 | |
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-20 | Fix GerberFile.bounds when board origin is negative | Paulo Henrique Silva | 1 | -13/+10 | |
2015-02-20 | Fix arc width per comment in #12 | Hamilton Kibbe | 2 | -2/+2 | |
2015-02-18 | Doc update | Hamilton Kibbe | 1 | -10/+10 | |
2015-02-18 | Add offset operation | Hamilton Kibbe | 9 | -67/+348 | |
2015-02-18 | Python 3 tests passing | Hamilton Kibbe | 7 | -15/+14 | |
2015-02-18 | accidentially changed import order in 7ace94b | Philipp Klaus | 1 | -1/+1 | |
2015-02-18 | Fixing more relative import statements | Philipp Klaus | 2 | -5/+5 | |
2015-02-18 | Make gerber.render a package & fix more relative import statements | Philipp Klaus | 5 | -6/+6 | |
2015-02-18 | Python3 needs print() | Philipp Klaus | 1 | -1/+1 | |
2015-02-18 | Get unit conversion working for Gerber/Excellon files | Hamilton Kibbe | 16 | -94/+859 | |
Started operations module for file operations/transforms | |||||
2015-02-15 | Fix cairo image size | Hamilton Kibbe | 1 | -1/+8 | |
2015-02-15 | Add cairo example code, and use example-generated image in readme | Hamilton Kibbe | 4 | -8/+17 | |
2015-02-15 | Tests and bugfixes | Hamilton Kibbe | 10 | -63/+393 | |
2015-02-13 | Fix rendering for line with rectangular aperture per #12. Still need to do ↵ | Hamilton Kibbe | 5 | -27/+108 | |
the same for arcs. | |||||
2015-02-12 | Update line primitive to take aperture parameter | Hamilton Kibbe | 5 | -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-09 | Tests and bugfixes | Hamilton Kibbe | 4 | -30/+202 | |
2015-02-09 | Add aperture macro statement tests | Hamilton Kibbe | 3 | -88/+393 | |
2015-02-08 | Fix write_gerber_value bug | Hamilton Kibbe | 2 | -0/+8 | |
2015-02-08 | add rest of aperture macro primitives | Hamilton Kibbe | 2 | -77/+1 | |
2015-02-08 | Add rest of Aperture Macro Primitives | Hamilton Kibbe | 1 | -134/+571 | |
2015-02-08 | Fix copy-paste error on ASParamStmt | Paulo Henrique Silva | 1 | -1/+1 | |
2015-02-08 | Remove unused file | Paulo Henrique Silva | 1 | -76/+0 | |
2015-02-02 | Added some Aperture Macro Primitives. Moved AM primitives to seperate file | Hamilton Kibbe | 3 | -75/+426 | |
2015-02-02 | tests | Hamilton Kibbe | 7 | -46/+240 | |
2015-02-02 | More tests and bugfixes | Hamilton Kibbe | 9 | -110/+235 | |
2015-02-01 | Added primitives and tests | Hamilton Kibbe | 3 | -28/+318 | |
2015-01-26 | merge upstream changes | Hamilton Kibbe | 3 | -2/+4 | |
2015-01-26 | Added some tests | Hamilton Kibbe | 4 | -2/+126 | |
2015-01-25 | ...oops | Hamilton Kibbe | 1 | -1/+0 | |
2015-01-25 | Changed zeros/zero suppression conventions to match file format specs | Hamilton Kibbe | 6 | -39/+141 | |
2015-01-23 | Fix tests for leading zero suppression | Hamilton Kibbe | 1 | -6/+6 | |
2015-01-15 | Add Repeat Hole Stmt and fix UnitStmt parsing | Paulo Henrique Silva | 2 | -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-14 | Many additions to Excellon parsing/creation. | Paulo Henrique Silva | 3 | -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-14 | Fix for cases whee the coordinate precision is decreased. | Paulo Henrique Silva | 1 | -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-14 | Fix Mirror (deprecated) param generation | Paulo Henrique Silva | 1 | -1/+1 | |
2015-01-14 | Refactor AM aperture handling and add unit conversion support | Paulo Henrique Silva | 2 | -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-13 | Fix region primitive creation | Paulo Henrique Silva | 1 | -1/+1 | |
2014-12-15 | Fix parsing for OrCAD. | Paulo Henrique Silva | 2 | -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-15 | Fix parsing for very short (less 20 lines) files. | Paulo Henrique Silva | 1 | -2/+7 | |
2014-12-05 | add ipc2581 primitives | Hamilton Kibbe | 3 | -20/+94 | |
2014-11-10 | Bunch of small fixes to improve Gerber read/write. | Paulo Henrique Silva | 6 | -42/+53 | |