Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-02-16 | Handle multiple commands on a single line | Garret Fick | 1 | -3/+22 | |
2016-02-14 | Fix convertion of units for apertures and regions | Garret Fick | 1 | -4/+4 | |
2016-01-31 | Keep track of quadrant mode so we can draw full circles | Garret Fick | 1 | -3/+3 | |
2016-01-08 | More stability fixes for poorly constructed files | Garret Fick | 1 | -2/+4 | |
2015-12-30 | Work with Diptrace that calls things D3 not D03 | Garret Fick | 1 | -3/+3 | |
2015-12-03 | Move the coordinate matching to the beginning since most of the items are ↵ | Garret Fick | 1 | -9/+8 | |
coordinates. For large files, this decreases total time by 10-20% | |||||
2015-11-18 | Regions with arcs would crash if they occured before any command to set the ↵ | Garret Fick | 1 | -2/+2 | |
aperture | |||||
2015-11-15 | Use Python's universal newlines to open files | Paulo Henrique Silva | 1 | -1/+1 | |
2015-11-13 | Fix issue when a region is created as the first graphical object in a file | Paulo Henrique Silva | 1 | -2/+5 | |
When regions were the first thing draw there is no current aperture defined, as regions do not require an aperture, so we use an zeroed Circle as aperture in this case. Gerber spec says that apertures have no graphical meaning for regions, so this should be enough. | |||||
2015-10-10 | Python 3 fix | Hamilton Kibbe | 1 | -1/+5 | |
2015-10-10 | Allow files to be read from strings per #37 | Hamilton Kibbe | 1 | -10/+14 | |
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string | |||||
2015-08-09 | Add support for arcs in regions. | Hamilton Kibbe | 1 | -12/+19 | |
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-05-21 | G70/G71 are now interpreted as MOParamStmt. | Paulo Henrique Silva | 1 | -2/+4 | |
Got a bunch of metric files with no MOMM but only G71, this should be pretty mush harmless. | |||||
2015-05-21 | Fix multiline read of mixed statements (%XXX*% followed by DNN*) | Paulo Henrique Silva | 1 | -1/+3 | |
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 | -6/+6 | |
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-16 | Add checks to ensure statement unit conversions are idempotent | Hamilton Kibbe | 1 | -0/+4 | |
2015-04-24 | Fix for #25. Checking was happening at the gerber/excellon file level, but I ↵ | Hamilton Kibbe | 1 | -2/+3 | |
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-23 | Fix Gerber generation for coord blocks with implicit op code | Paulo Henrique Silva | 1 | -0/+3 | |
2015-04-13 | Fix issue where D01 and D03 are implicit. | Paulo Henrique Silva | 1 | -4/+7 | |
Based on code from @rdprescott. | |||||
2015-04-07 | Fix CoordStmt with missing i/j offsets | Paulo Henrique Silva | 1 | -2/+4 | |
2015-04-07 | Add some deprecated but still found statements | Paulo Henrique Silva | 1 | -6/+26 | |
2015-04-07 | Add unspecified FS D leading zeros format | Paulo Henrique Silva | 1 | -5/+2 | |
FS D leading zero format (probably form Direct) is an unspecified coordinate format where all numbers are specified with both leading and trailing zeros. | |||||
2015-03-05 | Fix for py3 | Paulo Henrique Silva | 1 | -1/+1 | |
2015-03-05 | Fix tests for macros with no variables. | Paulo Henrique Silva | 1 | -1/+1 | |
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 | 1 | -3/+17 | |
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-20 | Fix GerberFile.bounds when board origin is negative | Paulo Henrique Silva | 1 | -13/+10 | |
2015-02-18 | Add offset operation | Hamilton Kibbe | 1 | -0/+6 | |
2015-02-18 | Get unit conversion working for Gerber/Excellon files | Hamilton Kibbe | 1 | -1/+17 | |
Started operations module for file operations/transforms | |||||
2015-02-12 | Update line primitive to take aperture parameter | Hamilton Kibbe | 1 | -3/+3 | |
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-01-26 | merge upstream changes | Hamilton Kibbe | 1 | -0/+2 | |
2015-01-14 | Refactor AM aperture handling and add unit conversion support | Paulo Henrique Silva | 1 | -5/+5 | |
* 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 | 1 | -17/+30 | |
* 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-05 | add ipc2581 primitives | Hamilton Kibbe | 1 | -2/+2 | |
2014-11-10 | Bunch of small fixes to improve Gerber read/write. | Paulo Henrique Silva | 1 | -2/+2 | |
2014-10-26 | style change | Paulo Henrique Silva | 1 | -2/+3 | |
2014-10-26 | Add simple hack to allow evaluation when gerber have macros and polygon | Paulo Henrique Silva | 1 | -3/+5 | |
2014-10-26 | Fix parsing for AM macros and support for zero sized circle primitives | Paulo Henrique Silva | 1 | -3/+3 | |
2014-10-26 | Fix parsing of Unknown commands | Paulo Henrique Silva | 1 | -0/+4 | |
2014-10-26 | Merge aperture fixses from upstream | Hamilton Kibbe | 1 | -4/+4 | |
2014-10-19 | Test update | Hamilton Kibbe | 1 | -7/+5 | |
2014-10-18 | Refactor rendering | Hamilton Kibbe | 1 | -40/+149 | |
2014-10-12 | update docs and example images | Hamilton Kibbe | 1 | -0/+327 | |