ps1 = SD.get_RegPoly_xy((0,0), wfsize-2*mlength1, 3) ps2 = SD.get_RegPoly_xy((0,0), wfsize-2*mlength1-5*mlength2, 3) # add outer markers MARKERS = [] marker = MEBL1 POINTS = zip(ps1[0],ps1[1]) for p in POINTS: M = SD.translate(marker, p[0],p[1]) MARKERS += [M] # add inner markers marker = MEBL2 POINTS = zip(ps2[0], ps2[1]) for p in POINTS: M = SD.translate(marker, p[0], p[1]) MARKERS += [M] EBLMARKERS = SD.BRAND_NEW_STRUCTURE(MARKERS, [SD.empty()])