summaryrefslogtreecommitdiff
path: root/gerber/tests/test_primitives.py
AgeCommit message (Collapse)AuthorFilesLines
2015-08-09Add support for arcs in regions.Hamilton Kibbe1-20/+14
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-24/+310
2015-04-24Fix for #25. Checking was happening at the gerber/excellon file level, but I ↵Hamilton Kibbe1-38/+77
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-2/+2
2015-02-18Add offset operationHamilton Kibbe1-21/+145
2015-02-18Make gerber.render a package & fix more relative import statementsPhilipp Klaus1-1/+1
2015-02-18Get unit conversion working for Gerber/Excellon filesHamilton Kibbe1-12/+223
Started operations module for file operations/transforms
2015-02-15Tests and bugfixesHamilton Kibbe1-12/+13
2015-02-13Fix rendering for line with rectangular aperture per #12. Still need to do ↵Hamilton Kibbe1-11/+24
the same for arcs.
2015-02-12Update line primitive to take aperture parameterHamilton Kibbe1-22/+22
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-0/+119
2015-02-02More tests and bugfixesHamilton Kibbe1-4/+75
2015-02-01Added primitives and testsHamilton Kibbe1-5/+129
2014-10-28Add arc rendering and testsHamilton Kibbe1-0/+85