Closed tatyanade closed 4 years ago
I haven't changed repeatEnd. And I just tested, it is working correctly for me. Did you pass in the correct parameter for the length of the repeat? Could you see it in E.visualize()? What shape were you trying to run it on?
btw, see https://github.com/CreativeInquiry/PEmbroider/issues/52 for new API
Had been trying with a single line and i wasnt showing up regardless of value; Added two more lines with different values and it shows up for all but the last line
1 line has no repeat
three lines has repeats on the first two called lines
two lines only does repeats on one line
Will update my PEmbroider lib to test the new API
I think its skipping one? so if i do line; repeatEnd(12); line; repeatEnd(3); the first line repeats but with len 3 not 12 and the 2nd doesnt repeat
Actually I think maybe the whole issue here is I thought it was a function you call in the beginning but you call it at the end
Yes it should be called at the end.
But nevermind because I just added a new API beginRepeatEnd(x)
and endRepeatEnd
. see #52
E.repeatEnd(); seems like it is not working anymore and does nothing