Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-24 | Add more tests for rendering to PNG. Start adding tests for rendering to ↵ | Garret Fick | 1 | -5/+5 | |
Gerber format. Changed definition of no hole to use None instead of 0 so we can differentiate when writing to Gerber format. Makde polygon use hole diameter instead of hole radius to match other primitives | |||||
2016-07-24 | Add many render tests based on the Umaco gerger specification. Fix multiple ↵ | Garret Fick | 1 | -3/+21 | |
rendering bugs, especially related to holes in flashed apertures | |||||
2016-07-17 | Manually merge af5541ac93b222c05229ee05c9def8dbae5f6e25 | Garret Fick | 1 | -3/+0 | |
2016-07-17 | Merge in negative soldermask. Still required further changes to support ↵ | Garret Fick | 1 | -28/+40 | |
negatives for shapes that dont exist in the merge source | |||||
2016-06-28 | Don't flash G03-only commands | Garret Fick | 1 | -0/+6 | |
2016-06-25 | Add support for polygon apertures | Garret Fick | 1 | -2/+12 | |
2016-06-03 | compliant fs format as FS<L or T><A or I>[Nn][Gn]<Xn><Yn>[Dn][Mn] | visualgui823@live.com | 1 | -1/+1 | |
2016-05-28 | Fix converting amgroup units | Garret Fick | 1 | -1/+3 | |
2016-04-23 | Correctly find the center for single quadrant arcs | Garret Fick | 1 | -1/+32 | |
2016-03-27 | Merge pull request #2 from qaulau/master | Garret Fick | 1 | -2/+2 | |
Update rs274x.py | |||||
2016-03-26 | D02 in the middle of a region starts a new region | Garret Fick | 1 | -1/+7 | |
2016-03-22 | Update rs274x.py | Qau Lau | 1 | -2/+2 | |
python 2.6 bug re incompatibility in sre, see https://bugs.python.org/issue214033 | |||||
2016-03-19 | Correctly handle empty command statements | Garret Fick | 1 | -0/+6 | |
2016-02-21 | Additional bounding box calcuation that considers only actual positions, not ↵ | Garret Fick | 1 | -0/+15 | |
the movement of the machine | |||||
2016-02-16 | Keep aperature macros as single statement. Don't generate regions with no points | Garret Fick | 1 | -3/+16 | |
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-20 | Allow renderer to write to memory per #38 | Hamilton Kibbe | 1 | -3/+0 | |
Some updates to rendering colors/themes | |||||
2015-12-19 | Allow negative render of soldermask per #50 | Hamilton Kibbe | 1 | -27/+39 | |
Update example code and rendering to show change | |||||
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. |