summaryrefslogtreecommitdiff
path: root/gerber/primitives.py
AgeCommit message (Collapse)AuthorFilesLines
2016-06-19Offsetting amgroup was doubly offsetingGarret Fick1-1/+1
2016-05-28Fix converting amgroup unitsGarret Fick1-1/+18
2016-05-28Fix units statement. Keep track of original macro statement in the AMGroupGarret Fick1-3/+8
2016-03-26Support for the G85 slot statementGarret Fick1-0/+36
2016-03-05More robust writing, even for bad files. Remove accidentally added importsGarret Fick1-2/+0
2016-03-05AM group hasn't implemented offsetGarret Fick1-4/+7
2016-03-05Write polygons to macrosGarret Fick1-0/+18
2016-03-01More rendering of AMGroup to statementsGarret Fick1-0/+32
2016-02-27Fix critical issue with rotatin points (when the angle is zero the y would ↵Garret Fick1-1/+1
be flipped). Render AM with outline to gerber
2016-02-27RS274X backend for rendering. Incompelte stillGarret Fick1-2/+44
2016-02-02Draw thermal aperture macros (as approximation)Garret Fick1-1/+4
2016-01-31Keep track of quadrant mode so we can draw full circlesGarret Fick1-1/+2
2016-01-31Add support for more excellon formats. Dont consider line width when ↵Garret Fick1-1/+1
determinging region bounding box
2015-12-30Render polygon flashesGarret Fick1-1/+14
2015-12-30Render primitives for some aperture macrosGarret Fick1-0/+41
2015-12-30First time any macro rendersGarret Fick1-0/+56
2015-12-25Identify flashes and bounding box without apertureGarret Fick1-3/+133
2015-12-19Parse misc nc drill filesGarret Fick1-1/+1
2015-12-16Fix drawing arcs. Dont crash for arcs with rectangular apertures. Fix crash ↵Garret Fick1-4/+13
with board size of zero for only one drill
2015-12-02Make the hit accessible from the drawable Hit, fix crash with cario drawing rectGarret Fick1-1/+2
2015-09-10Merge pull request #40 from curtacircuitos/cairo-render-unificationHamilton Kibbe1-12/+20
Cairo render unification
2015-08-09Add support for arcs in regions.Hamilton Kibbe1-12/+20
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-06-11Add keys to statements for linking to primitives. Add some API features to ↵Hamilton Kibbe1-1/+3
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-04-26Refactor primitive unit conversion and add regression coverage to testsHamilton Kibbe1-256/+104
2015-04-24Fix indentation after PR #26Paulo Henrique Silva1-2/+2
2015-04-24Fix for #25. Checking was happening at the gerber/excellon file level, but I ↵Hamilton Kibbe1-95/+160
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-03-05Fix parsing for multiline ipc-d-356 recordsHamilton Kibbe1-7/+56
2015-02-18Add offset operationHamilton Kibbe1-1/+69
2015-02-18Get unit conversion working for Gerber/Excellon filesHamilton Kibbe1-25/+161
Started operations module for file operations/transforms
2015-02-15Tests and bugfixesHamilton Kibbe1-4/+4
2015-02-13Fix rendering for line with rectangular aperture per #12. Still need to do ↵Hamilton Kibbe1-8/+64
the same for arcs.
2015-02-12Update line primitive to take aperture parameterHamilton Kibbe1-12/+12
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-02testsHamilton Kibbe1-1/+20
2015-02-02More tests and bugfixesHamilton Kibbe1-9/+14
2015-02-01Added primitives and testsHamilton Kibbe1-21/+182
2014-12-05add ipc2581 primitivesHamilton Kibbe1-17/+77
2014-10-28Add arc rendering and testsHamilton Kibbe1-5/+58
2014-10-26cairo workingHamilton Kibbe1-0/+17
2014-10-18Refactor renderingHamilton Kibbe1-16/+51
2014-10-16Add primitive definitions and bounding box calcs for DRCHamilton Kibbe1-0/+193