Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-20 | Merge pull request #52 from curtacircuitos/negative_soldermask | Paulo Henrique Silva | 13 | -120/+283 | |
Allow negative solder mask rendering per #50. | |||||
2015-12-20 | Merge branch 'negative_soldermask' of github.com:curtacircuitos/pcb-tools ↵ | Hamilton Kibbe | 1 | -0/+1 | |
into negative_soldermask | |||||
2015-12-20 | Clean up negative render code | Hamilton Kibbe | 1 | -76/+69 | |
2015-12-19 | Update Readme | Hamilton Kibbe | 1 | -0/+1 | |
2015-12-19 | Allow negative render of soldermask per #50 | Hamilton Kibbe | 12 | -106/+275 | |
Update example code and rendering to show change | |||||
2015-11-23 | Fix AMParamStmt to_gerber to write changes back. | Paulo Henrique Silva | 2 | -3/+3 | |
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 | Merge pull request #45 from curtacircuitos/remove-svgwrite-backend | Hamilton Kibbe | 5 | -137/+4 | |
Remove svgwrite backend | |||||
2015-11-15 | Remove svgwrite backend | Paulo Henrique Silva | 5 | -137/+4 | |
We moved the functionality to cairo backend, it can write png and svg and maybe more (pdfs?) | |||||
2015-11-15 | Use Python's universal newlines to open files | Paulo Henrique Silva | 6 | -11/+11 | |
2015-11-13 | Merge pull request #43 from curtacircuitos/excellon-with-no-tool-definition | Hamilton Kibbe | 1 | -1/+18 | |
Add fix to work with excellon with no tool definition. | |||||
2015-11-13 | Add fix to work with excellon with no tool definition. | Paulo Henrique Silva | 1 | -1/+18 | |
I found out that Proteus generate some strange Excellon without any tool definition. Gerbv renders it correctly and after digging in I found the heuristic that they use to "guess" the tool diameter. This change replicates this behavior on pcb-tools. | |||||
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-11-13 | Merge pull request #42 from curtacircuitos/add-some-missing-excellon-stmts | Paulo Henrique Silva | 3 | -16/+226 | |
Improve Excellon parsing coverage | |||||
2015-11-13 | Improve Excellon parsing coverage | Paulo Henrique Silva | 3 | -16/+226 | |
Add some not so used codes that were generating unknown stmt. | |||||
2015-10-14 | Merge pull request #41 from curtacircuitos/read_from_memory | Paulo Henrique Silva | 10 | -53/+148 | |
Read from memory | |||||
2015-10-10 | Python 3 fix | Hamilton Kibbe | 2 | -2/+10 | |
2015-10-10 | Allow files to be read from strings per #37 | Hamilton Kibbe | 10 | -53/+140 | |
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 | 7 | -86/+141 | |
Cairo render unification | |||||
2015-08-09 | Add support for arcs in regions. | Hamilton Kibbe | 4 | -49/+70 | |
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-07-25 | Fix windows permission error | Hamilton Kibbe | 1 | -1/+3 | |
per #33 the issue was trying to re-open the temporary file. it works on everything but windows. I've changed it to seek to the beginning and read from the file without re-opening, which should fix the issue. | |||||
2015-07-22 | Fix multiple layer issue in cairo-unification branch (see #33) | Hamilton Kibbe | 3 | -11/+14 | |
2015-07-14 | Merge pull request #31 from curtacircuitos/statement_link | Paulo Henrique Silva | 9 | -83/+647 | |
Add support for tool reordering and drill path optimization example. | |||||
2015-07-09 | Fix arcs and ackground painting | Paulo Henrique Silva | 2 | -2/+8 | |
2015-07-09 | Initial patch to unify our render towards cairo | Paulo Henrique Silva | 3 | -39/+62 | |
This branch allows a pure cairo based render for both PNG and SVG. Cairo backend is mostly the same but with improved support for configurable scale, orientation and inverted color drawing. API is not yet final. | |||||
2015-07-06 | Add tool path optimization example | Hamilton Kibbe | 5 | -10/+469 | |
Add example demonstrating use of tsp-solver with pcb-tools to optimize tool paths in an excellon file. This is based on @koppi's script in #30 | |||||
2015-06-11 | Python 3 fix | Hamilton Kibbe | 1 | -3/+3 | |
remove dict itervalues() calls | |||||
2015-06-11 | Add keys to statements for linking to primitives. Add some API features to ↵ | Hamilton Kibbe | 5 | -80/+185 | |
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-02 | Merge pull request #29 from curtacircuitos/eagle_netlist_fix | Paulo Henrique Silva | 2 | -33/+47 | |
Fix IPC-D-356 parser. Handle too-long reference designators exported … | |||||
2015-06-01 | Fix IPC-D-356 parser. Handle too-long reference designators exported by ↵ | Hamilton Kibbe | 2 | -33/+47 | |
eagle per #28. | |||||
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 | 3 | -1/+20 | |
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 | 2 | -3464/+7 | |
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 | 2 | -1/+19 | |
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 | 6 | -89/+379 | |
2015-04-27 | Allow 3 digits on Excellon tool selection | Paulo Henrique Silva | 2 | -2/+10 | |
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 | 2 | -280/+414 | |
2015-04-24 | Fix indentation after PR #26 | Paulo Henrique Silva | 1 | -2/+2 | |
2015-04-24 | Merge pull request #26 from curtacircuitos/unit_conversion_fix | Paulo Henrique Silva | 4 | -136/+241 | |
Fix for #25. Check units at the primitive level | |||||
2015-04-24 | Fix for #25. Checking was happening at the gerber/excellon file level, but I ↵ | Hamilton Kibbe | 4 | -136/+241 | |
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-14 | Fix AM statement test | Paulo Henrique Silva | 1 | -2/+2 | |
2015-04-14 | AMStatement are used as is when gerbers are generated | Paulo Henrique Silva | 1 | -2/+2 | |
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 | (really) Fix parsing for AM macros with zero modifiers | Paulo Henrique Silva | 1 | -1/+1 | |
2015-04-07 | Fix CoordStmt with missing i/j offsets | Paulo Henrique Silva | 1 | -2/+4 | |
2015-04-07 | Fix CommentStmt for multi-line comments | Paulo Henrique Silva | 1 | -1/+5 | |
2015-04-07 | Add some deprecated but still found statements | Paulo Henrique Silva | 2 | -6/+57 | |
2015-04-07 | Small change on __str__ for SF Statement | Paulo Henrique Silva | 2 | -2/+2 | |
2015-04-07 | Fix parsing for AM macros with zero modifiers | Paulo Henrique Silva | 1 | -2/+2 | |
2015-04-07 | Add unspecified FS D leading zeros format | Paulo Henrique Silva | 3 | -14/+21 | |
FS D leading zero format (probably form Direct) is an unspecified coordinate format where all numbers are specified with both leading and trailing zeros. |