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

Compound path problem #14

Open
juanproton opened this issue Jul 28, 2023 · 1 comment
Open

Compound path problem #14

juanproton opened this issue Jul 28, 2023 · 1 comment

Comments

@juanproton
Copy link

juanproton commented Jul 28, 2023

IDK why i cant get this work. I assume im doing something wrong, but maybe this is not supported by the library.

this is what im trying to get>

Captura de Pantalla 2023-07-28 a la(s) 13 01 49

that is in illustrator

this is my code

    let rrr = this.r / 20
    let result = rect.exclude(circle)
    result.strokeColor = 0

    for(let i = 1;i<5;i+=0.5){
       let pp = paperOffset.offset(result,-i*rrr)
    }

and this is what i get>

Captura de Pantalla 2023-07-28 a la(s) 13 01 43

any ideas?

@xiaoboelse
Copy link

In the offset field, it seems that complex paths are not easy to handle, and no teacher is maintaining this project.

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

2 participants