Compare commits

..

No commits in common. "fc79b41509a7f645f037e57bcc063e3276e4ad4f" and "ca2915735d241556c4e86564ef23522d531a4522" have entirely different histories.

5 changed files with 12 additions and 116 deletions

View file

@ -1,5 +1,5 @@
PROJ = updi232 PROJ = atfuses
VERSION = v01 VERSION = v01
GERBERS=$(PROJ).plated-drill.cnc GERBERS=$(PROJ).plated-drill.cnc

View file

@ -1,4 +1,5 @@
#!/usr/bin/python3 #!/usr/bin/python2
# coding=utf-8
# $Id: gvp2make.py 8411 2022-02-28 11:50:10Z stephan $ # $Id: gvp2make.py 8411 2022-02-28 11:50:10Z stephan $
# This script is free software (c) 2010 Stephan I. Böttcher # This script is free software (c) 2010 Stephan I. Böttcher
@ -75,7 +76,7 @@ from getopt import gnu_getopt as getopt
oo,ifile = getopt(sys.argv[1:], "hg:x:o:w:D:XMA:") oo,ifile = getopt(sys.argv[1:], "hg:x:o:w:D:XMA:")
for o,v in oo: for o,v in oo:
if o=="-h": if o=="-h":
print("Synopsis:", sys.argv[0], "<options> gerbv-project-file", usage) print "Synopsis:", sys.argv[0], "<options> gerbv-project-file", usage
sys.exit() sys.exit()
if o=="-g": if o=="-g":
options[0]=v options[0]=v
@ -122,7 +123,7 @@ for l in input(ifile):
LL="" LL=""
files=[] files=[]
lnumbers = list(layers.keys()) lnumbers = layers.keys()
lnumbers.sort() lnumbers.sort()
for n in lnumbers: for n in lnumbers:
ll = layers[n] ll = layers[n]
@ -137,8 +138,6 @@ for n in lnumbers:
except: except:
opacity = opacities["DEFAULT"] opacity = opacities["DEFAULT"]
color = [int(c)/65536. for c in ll["color"].split()] color = [int(c)/65536. for c in ll["color"].split()]
if "alpha" in ll:
opacity = int(ll["alpha"])/65536
if len(color)<4: if len(color)<4:
color.append(opacity) color.append(opacity)
options.append("--foreground=#%02x%02x%02x%02x" % tuple( options.append("--foreground=#%02x%02x%02x%02x" % tuple(
@ -146,14 +145,14 @@ for n in lnumbers:
if makefile: if makefile:
target = options[2].split("=")[1] target = options[2].split("=")[1]
print ("GERBV="+options[0]) print "GERBV="+options[0]
print ("FORMAT="+options[1].split("=")[1]) print "FORMAT="+options[1].split("=")[1]
print ("DPI="+options[3].split("=")[1]) print "DPI="+options[3].split("=")[1]
print (target+": \\\n\t "+" \\\n\t ".join(files)) print target+": \\\n\t "+" \\\n\t ".join(files)
print ("\t$(GERBV) --output=$@ --export=$(FORMAT) --dpi=$(DPI) \\") print "\t$(GERBV) --output=$@ --export=$(FORMAT) --dpi=$(DPI) \\"
print ("\t "+" \\\n\t ".join(options[4:])+" \\\n\t $<") print "\t "+" \\\n\t ".join(options[4:])+" \\\n\t $<"
else: else:
cmd = " ".join(options+files) cmd = " ".join(options+files)
print (cmd) print cmd
if execcmd: if execcmd:
os.system(cmd) os.system(cmd)

View file

@ -1,19 +0,0 @@
Project updi232 version v01
Two layer rigid PCB, 8mil/8mil rules, 0.4mm vias, 10mil annular
Size: 50x51 mm²
Thickness: 1.55 mm.
With soldermask, no silk.
Layer order:
1c: updi232.top.gbr top side copper
2c: updi232.bottom.gbr bottom side copper
d: updi232.plated-drill.cnc drill file
o: updi232.outline.gbr board outline
1m: updi232.topmask.gbr soldermask top
2m: updi232.bottommask.gbr soldermask bottom

View file

@ -1,56 +0,0 @@
(gerbv-file-version! "2.0A")
(define-layer! 8 (cons 'filename "updi232.bottommask.gbr")
(cons 'inverted #t)
(cons 'visible #f)
(cons 'color #(0 57568 6070))
(cons 'alpha #(21588))
)
(define-layer! 7 (cons 'filename "updi232.bottom.gbr")
(cons 'visible #t)
(cons 'color #(45177 46748 64893))
)
(define-layer! 6 (cons 'filename "updi232.top.gbr")
(cons 'visible #t)
(cons 'color #(65535 29244 28836))
(cons 'alpha #(42662))
)
(define-layer! 5 (cons 'filename "updi232.toppaste.gbr")
(cons 'visible #t)
(cons 'color #(65535 0 6760))
)
(define-layer! 4 (cons 'filename "updi232.topmask.gbr")
(cons 'inverted #t)
(cons 'visible #f)
(cons 'color #(0 64984 7760))
(cons 'alpha #(13364))
)
(define-layer! 3 (cons 'filename "updi232.plated-drill.cnc")
(cons 'visible #t)
(cons 'color #(61307 61307 61307))
(cons 'alpha #(65535))
(cons 'attribs (list
(list 'autodetect 'Boolean 1)
(list 'zero_suppression 'Enum 0)
(list 'units 'Enum 0)
(list 'digits 'Integer 4)
))
)
(define-layer! 2 (cons 'filename "updi232.topsilk.gbr")
(cons 'visible #t)
(cons 'color #(0 0 0))
(cons 'alpha #(55512))
)
(define-layer! 1 (cons 'filename "updi232.outline.gbr")
(cons 'visible #t)
(cons 'color #(0 0 0))
(cons 'alpha #(65535))
)
(define-layer! 0 (cons 'filename "updi232.fab.gbr")
(cons 'visible #f)
(cons 'color #(0 0 0))
(cons 'alpha #(65535))
)
(define-layer! -1 (cons 'filename "/home/blaulicht/stephan/eda/updi232/gerber")
(cons 'color #(65535 65535 65535))
)
(set-render-type! 3)

View file

@ -1,28 +0,0 @@
# PcbBOM Version 1.0
# Date: Di 23 Jan 2024 21:54:16 GMT UTC
# Author:
# Title: UPDI232 - PCB BOM
# Quantity, Description, Value, RefDes
# --------------------------------------------
C0603 -BYP_100nF 1/1 C30
C0603 -SD:_10kΩ 1/1 R30
C0603 0Ω 1/1 R21
C0603 100kΩ 5/5 R1 R12 R15 R17 R18
C0603 100nF 9/9 C1 C11 C12 C2 C3 C4 C5 C6 C7
C0603 100Ω 1/1 R33
C0603 10kΩ 9/9 R10 R11 R14 R2 R3 R4 R5 R6 R7
C0603 120kΩ 1/1 R32
C0603 1MΩ 2/2 R13 R16
C0603 270kΩ 1/1 R31
C0603 ∞Ω 1/1 R20
HE_100mil_2_2 unknown 2/2 J2 J30
HE_100mil_6_2 unknown 1/1 J1
P1206 10µF 3/3 C13 C31 C8
SC70_6 BC847S 3/3 Q2 Q3 Q4
SOD123 12V 1/1 D8
SOD523 1N4148 7/7 D1 D2 D3 D4 D5 D6 D7
SOIC_150_16 MAX3232EIDR 1/1 U1
SOT23_3 BSS84 1/1 Q1
SOT23_5 LT1761-SD_/_-BYP 1/1 U30
SUBD9_F D9_fem_90°_backs 1/1 CONN1
gseboard unknown 1/1 BOARD