diff --git a/python/frep.py b/python/frep.py index 0ac053c6ce1b82cb3febed5ed4cd9cffa1c2d256..d2d67a114e911cd30c9ebdd05db7254e6c15aa84 100755 --- a/python/frep.py +++ b/python/frep.py @@ -68,14 +68,14 @@ X = outer(ones(y.size),x) Y = outer(y,ones(x.size)) if (len(frep['layers']) == 1): Z = frep['layers'][0] - print " z =",Z + print(" z =",Z) f = eval(frep['function']).astype(uint32) else: f = zeros((y.size,x.size),dtype=uint32) zmin = min(frep['layers']) zmax = max(frep['layers']) for Z in frep['layers']: - print " z =",Z + print(" z =",Z) i = int(255*(Z-zmin)/(zmax-zmin)) | (255 << 8) | (255 << 16) flayer = i & (eval(frep['function'])).astype(uint32) f = f + flayer diff --git a/python/pcb.py b/python/pcb.py index 6444c2f0c041a487a780a910708e19e0228ef19c..666eefdb2393a9c51405cc67f3a1d3f981e2ae17 100755 --- a/python/pcb.py +++ b/python/pcb.py @@ -20,10 +20,10 @@ # uncomment for desired output: # -output = "top, labels, and exterior" +#output = "top, labels, and exterior" #output = "top, labels, holes, and exterior" #output = "top, bottom, labels, and exterior" -#output = "top, bottom, labels, holes, and exterior" +output = "top, bottom, labels, holes, and exterior" #output = "top traces" #output = "top traces and exterior" #output = "bottom traces reversed"