paper.js-offsets icon indicating copy to clipboard operation
paper.js-offsets copied to clipboard

Compound Path issue / subtract

Open juanproton opened this issue 1 year ago • 0 comments

Hello! Thanks for the work you did in this library. Im trying to get this type of offset> Captura de Pantalla 2023-07-28 a la(s) 13 01 49

I made that w illustrator

my code is this>

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


    for(let i = 1;i<5;i+=0.5){

      let pp = OffsetPath(result,-i*rrr,-i*rrr,1,0.01,5);
      
    }

and i get this

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

I assume im doing something wrong, but maybe this is not supported by the library. I see the examples with (holes?) but i cant find the code. Any ideas? Thanks again.

juanproton avatar Jul 28 '23 16:07 juanproton