Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlining example issues #180

Open
themindfactory opened this issue Jul 14, 2022 · 0 comments
Open

Outlining example issues #180

themindfactory opened this issue Jul 14, 2022 · 0 comments

Comments

@themindfactory
Copy link

themindfactory commented Jul 14, 2022

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')

output-example-3

Below is the outline using a positive and negative offset to outline on both sides, both leave weird artifacts.

output-example-2

output-example-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant