Home › Forums › Nazca › Questions and Answers › Structure or loop too big? plus why can't I re-run same script? › Reply To: Structure or loop too big? plus why can't I re-run same script?
You should check your program: the area you are trying to write is over 3 meters high, which exceeds the GDS capabilities when using 1 nm precision. So what you see is an integer overflow.
Your for loop multiplies by j twice, e.g. in calculating ypos and in the put() statement ypos is again multiplied by j. Same for i. This is probably not what you want.
For the font, if you want to use “cousine”, you have to use f.text() in stead of nd.text().
And for running multiple times in spyder, you could try to clear some parameters after loading nazca. E.g. this may help:
import nazca as nd nd.clear_layout() nd.clear_layers() nd.clear_xsections()