summaryrefslogtreecommitdiff
path: root/gerber/tests/test_primitives.py
AgeCommit message (Collapse)AuthorFilesLines
2016-11-06Merge upstream changesHamilton Kibbe1-4/+4
2016-11-05Finish Merge, most tests passingHamilton Kibbe1-14/+14
2016-09-24Commit partial merge so I can work on the planeHamilton Kibbe1-5/+13
2016-08-06Fix multiple problems with the merge. There are still errors, but I will ↵Garret Fick1-3/+1
intentionally leave them because future merges might resolve them
2016-08-06Manually mere rendering changesHamilton Kibbe1-167/+249
2016-07-24Add more tests for rendering to PNG. Start adding tests for rendering to ↵Garret Fick1-9/+9
Gerber format. Changed definition of no hole to use None instead of 0 so we can differentiate when writing to Gerber format. Makde polygon use hole diameter instead of hole radius to match other primitives
2016-07-24Add many render tests based on the Umaco gerger specification. Fix multiple ↵Garret Fick1-0/+106
rendering bugs, especially related to holes in flashed apertures
2016-07-17Create first test that renders and validates the the rendered PNG is correct.Garret Fick1-2/+10
2016-07-16Fix most broken tests so that I can safely merge into changes with known ↵Garret Fick1-27/+28
expected test result
2016-01-21Fix a bunch of rendering bugs.Hamilton Kibbe1-173/+254
- '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
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