Hamilton Kibbe
cb2fa34e88
Add support for arcs in regions.
...
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-08-09 15:11:13 -04:00
Hamilton Kibbe
e34e1078b6
Refactor primitive unit conversion and add regression coverage to tests
2015-04-26 02:58:12 -04:00
Hamilton Kibbe
390838fc8b
Fix for #25 . Checking was happening at the gerber/excellon file level, but I 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-04-24 10:54:13 -04:00
Hamilton Kibbe
68619d4d5a
Fix parsing for multiline ipc-d-356 records
2015-03-05 22:42:42 -05:00
Hamilton Kibbe
5966d7830b
Add offset operation
2015-02-18 23:13:23 -05:00
Philipp Klaus
7ace94b023
Make gerber.render a package & fix more relative import statements
2015-02-18 15:44:57 +01:00
Hamilton Kibbe
288ac27084
Get unit conversion working for Gerber/Excellon files
...
Started operations module for file operations/transforms
2015-02-18 04:31:23 -05:00
Hamilton Kibbe
5cf1fa74b4
Tests and bugfixes
2015-02-15 02:20:02 -05:00
Hamilton Kibbe
5e23d07bcb
Fix rendering for line with rectangular aperture per #12 . Still need to do the same for arcs.
2015-02-13 09:37:27 -05:00
Hamilton Kibbe
8f69c1dfa2
Update line primitive to take aperture parameter
...
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-12 11:28:50 -05:00
Hamilton Kibbe
1cc20b351c
tests
2015-02-02 11:42:47 -05:00
Hamilton Kibbe
d98d23f8b5
More tests and bugfixes
2015-02-02 00:43:08 -05:00
Hamilton Kibbe
360eddc3c4
Added primitives and tests
2015-02-01 13:40:08 -05:00
Hamilton Kibbe
f5abd5b0bd
Add arc rendering and tests
2014-10-28 22:11:43 -04:00