Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-02-03 | Make primitives with unset level polarity inherit from region | jaseg | 1 | -2/+4 | |
This fixes region rendering with programatically generated primitives such that clear level polarity works in an intuitive way. This is useful for e.g. cutouts in regions. Before, the renderer would set level polarity twice, both when starting the region and then again once for each region primitive (line or arc). The problem was that the primitives in a region with "clear" polarity would when constructed with unset polarity default to "dark". Thus the renderer would emit something like LPC (clear polarity) -> G36 (start region) -> LPD (dark polarity) -> {lines...} instead of LPC -> G36 -> {lines...}. After this commit, Line and Arc will retain None as level polarity when created with unset level polarity, and region rendering will override None with the region's polarity. Outside regions, the old dark default remains unchanged. Note on verification: Somehow, gEDA gerbv would still render the broken regions the way one would have intended, but other viewers (KiCAD gerbview, the online EasyEDA one and whatever JLC uses to make their silkscreens) would not. | |||||
2017-11-14 | Fix bounding box calculation for Slot primitives per #77 | Hamilton Kibbe | 1 | -3/+6 | |
2017-11-01 | Fix error in slot rendering from #77 | Hamilton Kibbe | 1 | -0/+1 | |
2016-11-18 | Finish adding square hole support, fix some primitive calculations, etc. | Hamilton Kibbe | 1 | -97/+135 | |
2016-11-06 | Merge upstream changes | Hamilton Kibbe | 1 | -20/+38 | |
2016-11-05 | Finish Merge, most tests passing | Hamilton Kibbe | 1 | -183/+183 | |
2016-09-24 | Commit partial merge so I can work on the plane | Hamilton Kibbe | 1 | -78/+94 | |
2016-08-06 | Fix multiple problems with the merge. There are still errors, but I will ↵ | Garret Fick | 1 | -4/+7 | |
intentionally leave them because future merges might resolve them | |||||
2016-08-06 | Manually mere rendering changes | Hamilton Kibbe | 1 | -378/+781 | |
2016-07-24 | Add more tests for rendering to PNG. Start adding tests for rendering to ↵ | Garret Fick | 1 | -9/+21 | |
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-24 | Add many render tests based on the Umaco gerger specification. Fix multiple ↵ | Garret Fick | 1 | -9/+26 | |
rendering bugs, especially related to holes in flashed apertures | |||||
2016-07-16 | Fix most broken tests so that I can safely merge into changes with known ↵ | Garret Fick | 1 | -2/+5 | |
expected test result | |||||
2016-06-25 | Add support for polygon apertures | Garret Fick | 1 | -3/+4 | |
2016-06-19 | Offsetting amgroup was doubly offseting | Garret Fick | 1 | -1/+1 | |
2016-05-28 | Fix converting amgroup units | Garret Fick | 1 | -1/+18 | |
2016-05-28 | Fix units statement. Keep track of original macro statement in the AMGroup | Garret Fick | 1 | -3/+8 | |
2016-03-26 | Support for the G85 slot statement | Garret Fick | 1 | -0/+36 | |
2016-03-05 | More robust writing, even for bad files. Remove accidentally added imports | Garret Fick | 1 | -2/+0 | |
2016-03-05 | AM group hasn't implemented offset | Garret Fick | 1 | -4/+7 | |
2016-03-05 | Write polygons to macros | Garret Fick | 1 | -0/+18 | |
2016-03-01 | More rendering of AMGroup to statements | Garret Fick | 1 | -0/+32 | |
2016-02-27 | Fix critical issue with rotatin points (when the angle is zero the y would ↵ | Garret Fick | 1 | -1/+1 | |
be flipped). Render AM with outline to gerber | |||||
2016-02-27 | RS274X backend for rendering. Incompelte still | Garret Fick | 1 | -2/+44 | |
2016-02-02 | Draw thermal aperture macros (as approximation) | Garret Fick | 1 | -1/+4 | |
2016-01-31 | Keep track of quadrant mode so we can draw full circles | Garret Fick | 1 | -1/+2 | |
2016-01-31 | Add support for more excellon formats. Dont consider line width when ↵ | Garret Fick | 1 | -1/+1 | |
determinging region bounding box | |||||
2016-01-28 | Cleanup, rendering fixes. | Hamilton Kibbe | 1 | -9/+38 | |
fixed rendering of tented vias fixed rendering of semi-transparent layers fixed file type detection issues added some examples | |||||
2016-01-21 | Fix a bunch of rendering bugs. | Hamilton Kibbe | 1 | -354/+723 | |
- '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-12-30 | Render polygon flashes | Garret Fick | 1 | -1/+14 | |
2015-12-30 | Render primitives for some aperture macros | Garret Fick | 1 | -0/+41 | |
2015-12-30 | First time any macro renders | Garret Fick | 1 | -0/+56 | |
2015-12-25 | Identify flashes and bounding box without aperture | Garret Fick | 1 | -3/+133 | |
2015-12-19 | Parse misc nc drill files | Garret Fick | 1 | -1/+1 | |
2015-12-16 | Fix drawing arcs. Dont crash for arcs with rectangular apertures. Fix crash ↵ | Garret Fick | 1 | -4/+13 | |
with board size of zero for only one drill | |||||
2015-12-02 | Make the hit accessible from the drawable Hit, fix crash with cario drawing rect | Garret Fick | 1 | -1/+2 | |
2015-09-10 | Merge pull request #40 from curtacircuitos/cairo-render-unification | Hamilton Kibbe | 1 | -12/+20 | |
Cairo render unification | |||||
2015-08-09 | Add support for arcs in regions. | Hamilton Kibbe | 1 | -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-11 | Add keys to statements for linking to primitives. Add some API features to ↵ | Hamilton Kibbe | 1 | -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-26 | Refactor primitive unit conversion and add regression coverage to tests | Hamilton Kibbe | 1 | -256/+104 | |
2015-04-24 | Fix indentation after PR #26 | Paulo Henrique Silva | 1 | -2/+2 | |
2015-04-24 | Fix for #25. Checking was happening at the gerber/excellon file level, but I ↵ | Hamilton Kibbe | 1 | -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-05 | Fix parsing for multiline ipc-d-356 records | Hamilton Kibbe | 1 | -7/+56 | |
2015-02-18 | Add offset operation | Hamilton Kibbe | 1 | -1/+69 | |
2015-02-18 | Get unit conversion working for Gerber/Excellon files | Hamilton Kibbe | 1 | -25/+161 | |
Started operations module for file operations/transforms | |||||
2015-02-15 | Tests and bugfixes | Hamilton Kibbe | 1 | -4/+4 | |
2015-02-13 | Fix rendering for line with rectangular aperture per #12. Still need to do ↵ | Hamilton Kibbe | 1 | -8/+64 | |
the same for arcs. | |||||
2015-02-12 | Update line primitive to take aperture parameter | Hamilton Kibbe | 1 | -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-02 | tests | Hamilton Kibbe | 1 | -1/+20 | |
2015-02-02 | More tests and bugfixes | Hamilton Kibbe | 1 | -9/+14 | |
2015-02-01 | Added primitives and tests | Hamilton Kibbe | 1 | -21/+182 | |