260 lines
6.4 KiB
Plaintext
260 lines
6.4 KiB
Plaintext
# **************************New Pattern starts here************************
|
|
Version 14#
|
|
setwindow pcb
|
|
new
|
|
newdrawfillin "CAPC2012X100N.dra" "Package Symbol"
|
|
prmed
|
|
setwindow Form.prmedit
|
|
FORM prmedit design
|
|
FORM prmedit type Package
|
|
FORM prmedit units Millimeter
|
|
FORM prmedit size Other
|
|
FORM prmedit accuracy 2
|
|
FORM prmedit width 2711
|
|
FORM prmedit height 2436
|
|
FORM prmedit apply
|
|
FORM prmedit x -1095.5
|
|
FORM prmedit y -1245.5
|
|
FORM prmedit apply
|
|
FORM prmedit lock_mode Line
|
|
FORM prmedit lock_direction Off
|
|
FORM prmedit apply
|
|
FORM prmedit done
|
|
setwindow pcb
|
|
Status
|
|
setwindow Form.Status
|
|
FORM status lock_direction Off
|
|
FORM status lock_mode line
|
|
FORM status symbol_mirror NO
|
|
FORM status drawing_size
|
|
FORM status done
|
|
setwindow pcb
|
|
window center; pick 0.0 0.0
|
|
define subclass
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name ASSEMBLY_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name SILKSCREEN_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PIN pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name PASTEMASK_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PIN pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name SOLDERMASK_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name PLACE_BOUND_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name PLACE_BOUND_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass PIN pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name SOLDERMASK_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass PIN pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name PASTEMASK_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name SILKSCREEN_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name ASSEMBLY_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass BOARD_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name DIMENSION
|
|
setwindow Form.subclass
|
|
FORM subclass BOARD_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name OUTLINE
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name ASSEMBLY_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name PLACE_BOUND_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name PLACE_BOUND_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass MANUFACTURING pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name NO_PROBE_TOP
|
|
setwindow Form.subclass
|
|
FORM subclass MANUFACTURING pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name NO_PROBE_BOTTOM
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name CONTACT_AREA
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name CUTOUTSLOTS
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name DIEBONDPADS
|
|
setwindow Form.subclass
|
|
FORM subclass PACKAGE_GEOMETRY pick
|
|
setwindow Form.subclass_nonetch
|
|
FORM subclass_nonetch name WIREBONDS
|
|
FORM subclass done
|
|
Add Pin
|
|
setwindow Form.mini
|
|
FORM mini offsetx 0.00
|
|
FORM mini offsety 0.00
|
|
FORM mini rotate_pin 180
|
|
Add Pin
|
|
setwindow Form.mini
|
|
FORM mini pad_name r147_102
|
|
setwindow Form.mini
|
|
FORM mini next_pin_number 1
|
|
setwindow pcb
|
|
pick -0.8 0
|
|
done
|
|
Add Pin
|
|
setwindow Form.mini
|
|
FORM mini offsetx 0.00
|
|
FORM mini offsety 0.00
|
|
FORM mini rotate_pin 180
|
|
Add Pin
|
|
setwindow Form.mini
|
|
FORM mini pad_name r147_102
|
|
setwindow Form.mini
|
|
FORM mini next_pin_number 2
|
|
setwindow pcb
|
|
pick 0.8 0
|
|
done
|
|
setwindow pcb
|
|
Label refdes
|
|
setwindow Form.mini
|
|
FORM mini class REF DES
|
|
FORM mini subclass SILKSCREEN_TOP
|
|
FORM mini text_block 3
|
|
FORM mini text_justification Center
|
|
FORM mini angle 0
|
|
FORM mini mirror NO
|
|
setwindow pcb
|
|
pick 0 0
|
|
Text C*
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass PLACE_BOUND_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.05
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick -1.46 0.89
|
|
pick 1.46 0.89
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass PLACE_BOUND_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.05
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick 1.46 0.89
|
|
pick 1.46 -0.89
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass PLACE_BOUND_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.05
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick 1.46 -0.89
|
|
pick -1.46 -0.89
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass PLACE_BOUND_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.05
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick -1.46 -0.89
|
|
pick -1.46 0.89
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass ASSEMBLY_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.1
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick -1 0.625
|
|
pick 1 0.625
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass ASSEMBLY_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.1
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick 1 0.625
|
|
pick 1 -0.625
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass ASSEMBLY_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.1
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick 1 -0.625
|
|
pick -1 -0.625
|
|
done
|
|
Add Line
|
|
setwindow FORM.mini
|
|
FORM mini class PACKAGE GEOMETRY
|
|
FORM mini subclass ASSEMBLY_TOP
|
|
setwindow FORM.mini
|
|
FORM mini line_width 0.1
|
|
FORM mini lock_direction Off
|
|
setwindow pcb
|
|
pick -1 -0.625
|
|
pick -1 0.625
|
|
done
|
|
Create Symbol
|
|
fillin "CAPC2012X100N"
|
|
setwindow pcb
|
|
trapsize 503
|
|
dbdoctor
|
|
setwindow Form.dbdoctor_allegro
|
|
FORM dbdoctor_allegro drc YES
|
|
FORM dbdoctor_allegro shapes YES
|
|
FORM dbdoctor_allegro execute
|
|
setwindow pcb
|
|
save_as
|
|
fillin "CAPC2012X100N"
|
|
setwindow pcb
|
|
#exit
|