Trying to run the example to outline am SVG path, I have one of a letter M, hope someone can help, I can sort of see why it does it but would like to add code to circumvent the issue....
Here is the code that created the example:
paths, attributes = svg2paths('output2.svg')
p1 = offset(paths[1], -30, 1000)
p2 = offset(paths[1], +30, 1000)
wsvg([p1],filename='output-example-1.svg')
wsvg([p2],filename='output-example-2.svg')
wsvg([paths[1]],filename='output-example-3.svg')
Below is the outline using a positive and negative offset to outline on both sides, both leave weird artifacts.
Trying to run the example to outline am SVG path, I have one of a letter M, hope someone can help, I can sort of see why it does it but would like to add code to circumvent the issue....
Here is the code that created the example: paths, attributes = svg2paths('output2.svg') p1 = offset(paths[1], -30, 1000) p2 = offset(paths[1], +30, 1000) wsvg([p1],filename='output-example-1.svg') wsvg([p2],filename='output-example-2.svg') wsvg([paths[1]],filename='output-example-3.svg')
Below is the outline using a positive and negative offset to outline on both sides, both leave weird artifacts.