summaryrefslogtreecommitdiff
path: root/gerber/am_statements.py
AgeCommit message (Collapse)AuthorFilesLines
2021-06-13Repo re-org, make gerberex tests runjaseg1-1046/+0
2016-11-06Merge upstream changesHamilton Kibbe1-28/+13
2016-11-05Finish Merge, most tests passingHamilton Kibbe1-56/+57
2016-09-24Commit partial merge so I can work on the planeHamilton Kibbe1-0/+3
2016-08-06Fix multiple problems with the merge. There are still errors, but I will ↵Garret Fick1-3/+2
intentionally leave them because future merges might resolve them
2016-08-06Manually mere rendering changesHamilton Kibbe1-48/+65
2016-07-02Fix crash with polygon aperture macrosGarret Fick1-1/+1
2016-06-30Rotate vector lineGarret Fick1-1/+14
2016-06-30Fix rotation of center lineGarret Fick1-1/+22
2016-06-28Don't flash G03-only commandsGarret Fick1-2/+2
2016-06-25Add support for polygon aperturesGarret Fick1-2/+2
2016-06-25Missing * in writing aperture macroGarret Fick1-1/+1
2016-06-25Render aperture macros with clear regionsGarret Fick1-6/+12
2016-05-28Use the known macro statement to render. Fix thermal not setting rotationGarret Fick1-1/+2
2016-03-05Write polygons to macrosGarret Fick1-0/+5
2016-03-01More rendering of AMGroup to statementsGarret Fick1-0/+22
2016-02-27Fix critical issue with rotatin points (when the angle is zero the y would ↵Garret Fick1-5/+19
be flipped). Render AM with outline to gerber
2016-02-02Draw thermal aperture macros (as approximation)Garret Fick1-3/+80
2016-01-22Fix NameError on Polygon primitive renderingPaulo Henrique Silva1-1/+1
2016-01-21Fix a bunch of rendering bugs.Hamilton Kibbe1-41/+84
- 'clear' polarity primitives no longer erase background - Added aperture macro support for polygons - Added aperture macro rendring support - Renderer now creates a new surface for each layer and merges them instead of working directly on a single surface - Updated examples accordingly
2016-01-16Fix converting polygons to outlines for macrosGarret Fick1-1/+3
2015-12-30Render polygon flashesGarret Fick1-2/+2
2015-12-30Render primitives for some aperture macrosGarret Fick1-5/+13
2015-12-30First time any macro rendersGarret Fick1-0/+41
2015-03-05Fix tests for macros with no variables.Paulo Henrique Silva1-8/+8
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 Silva1-2/+6
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-18Get unit conversion working for Gerber/Excellon filesHamilton Kibbe1-9/+6
Started operations module for file operations/transforms
2015-02-09Tests and bugfixesHamilton Kibbe1-0/+6
2015-02-09Add aperture macro statement testsHamilton Kibbe1-86/+132
2015-02-08Add rest of Aperture Macro PrimitivesHamilton Kibbe1-134/+571
2015-02-02Added some Aperture Macro Primitives. Moved AM primitives to seperate fileHamilton Kibbe1-0/+341