/* * Copyright © 2020 Bdale Garbee * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ load "footprint.5c" import Footprint; real width = 1.2; real height = 1.0; real hgap = 1.7 - width; real vgap = 1.3 - height; real hpos = hgap/2 + width/2; real vpos = vgap/2 + height/2; element_start("ABM12"); pad_mm(-hpos, vpos,width,height,"1","1"); pad_mm( hpos, vpos,width,height,"2","2"); pad_mm( hpos,-vpos,width,height,"3","3"); pad_mm(-hpos,-vpos,width,height,"4","4"); element_end();