summaryrefslogtreecommitdiff
path: root/gerber
AgeCommit message (Collapse)AuthorFilesLines
2015-04-23Fix Gerber generation for coord blocks with implicit op codePaulo Henrique Silva1-0/+3
2015-04-14Fix AM statement testPaulo Henrique Silva1-2/+2
2015-04-14AMStatement are used as is when gerbers are generatedPaulo Henrique Silva1-2/+2
2015-04-13Fix issue where D01 and D03 are implicit.Paulo Henrique Silva1-4/+7
Based on code from @rdprescott.
2015-04-07(really) Fix parsing for AM macros with zero modifiersPaulo Henrique Silva1-1/+1
2015-04-07Fix CoordStmt with missing i/j offsetsPaulo Henrique Silva1-2/+4
2015-04-07Fix CommentStmt for multi-line commentsPaulo Henrique Silva1-1/+5
2015-04-07Add some deprecated but still found statementsPaulo Henrique Silva2-6/+57
2015-04-07Small change on __str__ for SF StatementPaulo Henrique Silva2-2/+2
2015-04-07Fix parsing for AM macros with zero modifiersPaulo Henrique Silva1-2/+2
2015-04-07Add unspecified FS D leading zeros formatPaulo Henrique Silva3-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.
2015-04-07Fix Excellon repeat commandPaulo Henrique Silva3-14/+23
2015-04-07Allowance for weird case modifier with no zero after periodPaulo Henrique Silva1-1/+3
2015-03-06fix testsHamilton Kibbe1-9/+13
2015-03-06add rest of altium-supported ipc-d-356 statementsHamilton Kibbe1-25/+109
2015-03-06Add support for unary minus operator on macro parsingPaulo Henrique Silva1-1/+15
2015-03-05Fix parsing for multiline ipc-d-356 recordsHamilton Kibbe8-55/+218
2015-03-05Merge pull request #23 from curtacircuitos/macro-parse-evalHamilton Kibbe6-47/+418
Add aperture macro parsing and evaluation.
2015-03-05More py3 fixesPaulo Henrique Silva1-3/+3
2015-03-05Fix for py3Paulo Henrique Silva2-2/+2
2015-03-05Fix tests for macros with no variables.Paulo Henrique Silva5-33/+45
All AM*Primitive classes now handles float for all but the code modifiers. This simplifies the reading/parsing.
2015-03-03Add aperture macro parsing and evaluation.Paulo Henrique Silva5-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 Klaus1-1/+1
2015-02-25Convert py3k's map object to tuple explicitly.hbc1-1/+1
2015-02-21Merge pull request #20 from curtacircuitos/ipc-d-356Paulo Henrique Silva4-2/+559
Add IPC-D-356 Netlist Parsing
2015-02-20Add IPC-D-356 Netlist ParsingHamilton Kibbe4-2/+559
2015-02-20Fix floating point equality testPaulo Henrique Silva1-2/+2
2015-02-20Fix size test, board is slight out of origin, so size does change now that ↵Paulo Henrique Silva1-2/+2
we properly handle non-zero origins
2015-02-20Fix GerberFile.bounds when board origin is negativePaulo Henrique Silva1-13/+10
2015-02-20Fix arc width per comment in #12Hamilton Kibbe2-2/+2
2015-02-18Doc updateHamilton Kibbe1-10/+10
2015-02-18Add offset operationHamilton Kibbe9-67/+348
2015-02-18Python 3 tests passingHamilton Kibbe7-15/+14
2015-02-18accidentially changed import order in 7ace94bPhilipp Klaus1-1/+1
2015-02-18Fixing more relative import statementsPhilipp Klaus2-5/+5
2015-02-18Make gerber.render a package & fix more relative import statementsPhilipp Klaus5-6/+6
2015-02-18Python3 needs print()Philipp Klaus1-1/+1
2015-02-18Get unit conversion working for Gerber/Excellon filesHamilton Kibbe16-94/+859
Started operations module for file operations/transforms
2015-02-15Fix cairo image sizeHamilton Kibbe1-1/+8
2015-02-15Add cairo example code, and use example-generated image in readmeHamilton Kibbe4-8/+17
2015-02-15Tests and bugfixesHamilton Kibbe10-63/+393
2015-02-13Fix rendering for line with rectangular aperture per #12. Still need to do ↵Hamilton Kibbe5-27/+108
the same for arcs.
2015-02-12Update line primitive to take aperture parameterHamilton Kibbe5-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-09Tests and bugfixesHamilton Kibbe4-30/+202
2015-02-09Add aperture macro statement testsHamilton Kibbe3-88/+393
2015-02-08Fix write_gerber_value bugHamilton Kibbe2-0/+8
2015-02-08add rest of aperture macro primitivesHamilton Kibbe2-77/+1
2015-02-08Add rest of Aperture Macro PrimitivesHamilton Kibbe1-134/+571
2015-02-08Fix copy-paste error on ASParamStmtPaulo Henrique Silva1-1/+1
2015-02-08Remove unused filePaulo Henrique Silva1-76/+0