aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src
AgeCommit message (Collapse)AuthorFilesLines
2021-06-05Throw out a bunch of test stuff, hopefully fix CI buildjaseg1-2/+2
2021-06-05Fix binary contours vectorizerjaseg5-13/+91
Replace teh-chin with ramer-douglas-peucker
2021-06-04Enable (shitty) contour simplificationjaseg1-2/+2
I think my implementation of this algorithm is broken. It does something, but the output looks bad.
2021-06-04Update comment on join discrepanciesjaseg1-1/+1
2021-06-04Add & fix vectorizer testsjaseg7-36/+98
2021-06-04Add larger contour tracing test imagejaseg1-16/+22
2021-06-04Fix handling of dashes and joins, all tests run through nowjaseg4-27/+72
2021-06-04Add support for stroke-dashoffsetjaseg1-2/+3
2021-06-03Add svg-flatten SVG feature testsjaseg2-1/+76
2021-06-02Port svg-flatten to nopencvjaseg5-123/+171
2021-06-02Fix small logical error in testsjaseg1-1/+1
2021-06-02Fix testsjaseg2-20/+25
2021-06-02Add polygon area function & tests. These tests catch a single-px bug.jaseg3-0/+83
2021-06-02Prettify test casesjaseg3-56/+95
2021-06-02Finish chain approximation testsjaseg2-102/+186
2021-06-02Chain approximation approximately workingjaseg3-13/+34
2021-06-01Work on chain approxjaseg3-26/+251
2021-05-30Contour finding tests run throughjaseg3-21/+72
2021-05-30Add beginnings of minimalist contour tracing codejaseg3-0/+453
2021-04-25Fix pattern rendering and some xform bugsjaseg3-12/+20
2021-04-25svg-flatten: Add support for patterned strokes on outline layersjaseg1-35/+33
2021-04-25svg-flatten: Add support for line thickness to board outline exporterjaseg2-5/+24
2021-04-25svg-flatten: Add outline/edge layer modejaseg3-55/+100
2021-04-25Remove cairo dependencywip-nocairojaseg13-342/+157
We initially used Cairo for its bezier flattening algorithm. That algorithm turned out to be a bit too imprecise at the scales we're working at here (#17), so I ended up porting over some code from Antigrain Graphics. The only other thing we used Cairo for was debug output and coordinate transforms, so I just wrote the relevant vector math in a small header file, deleted all debug output code and thus eliminated the cairo dependency. This is a step towards Windows builds.
2021-04-24Replace cairo curve flattener from Anitgrain Graphicsjaseg5-35/+268
This also fixes an issue where non-closed curves were not dilated properly.
2021-04-05Add -f/--flip-gerber-polarity optionjaseg2-6/+10
2021-02-17svg-flatten: add curve flattening tolerance command line paramjaseg4-12/+17
2021-02-17svg-flatten: Fix fill-rule handling for filled open pathsjaseg3-30/+47
2021-02-11Fix handling of stroke width under transformationsjaseg1-1/+6
2021-02-07Make inital test run on debian, ubuntu, arch, fedorajaseg1-5/+5
2021-02-06Make svg-flatten always clean up its temporary filesjaseg1-4/+2
2021-02-06svg-flatten: Fix invalid export of negative gerber coordinatesjaseg1-4/+4
2021-02-06Add workaround to clipper zero-height path bugjaseg2-6/+35
2021-02-06Small fixes, find svg-flatten in user pip installjaseg1-3/+9
2021-02-06Work on fedora/debian compatibilityjaseg2-4/+4
2021-02-04svg-flatten: Be even smarter locating usvgjaseg1-8/+15
2021-02-04svg-flatten: Be a bit smarter locating usvgjaseg1-16/+47
2021-02-01Update READMEjaseg1-12/+2
2021-01-31Advanced svg/gerber composition workingjaseg3-16/+27
2021-01-30Reorg: move svg-flatten files into subdirjaseg23-0/+3327