summaryrefslogtreecommitdiff
path: root/gerber/primitives.py
AgeCommit message (Collapse)AuthorFilesLines
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-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