X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=o1+lC66wwOhFyUObWzmRhGoiirsMkBGACq+1Z2QtnL4=; b=cuCWUEbKs1mujes+CgQkcuhcOe7WP01hsdIkWGvCyn/EsSHE39lia1Yqy5igSAn1C5 czOWQM4LLWgLK8ez7F71C2n6L5vuFgGYQ3NHu7NO5wS2vHUZ1MwcjO5lPun8qLtkcSBu kKwG6Eb3lX7ohPlhNmwBp2CAmaV2bPOV/Gv9c= MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 1 Oct 2011 19:54:22 -0400 Message-ID: Subject: [geda-user] Anyone recognize this package for creating PCB elements? From: Bob Paddock To: geda-user AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p91NsPkT011613 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I came across some old PCB code for making elements, circa 2004, in my archives. I'd like to know who wrote it as there is no attribution or licenses information. Package consists of library.c library.h and a 'C' file for each produced element, which includes library.h. library.c starts off: #include #include #include #include "library.h" #define PIN     0 #define PAD     1 #define BORE    2 #define MILS    1 #define MM      2 #define FACTOR 39.37 static int      l_conversion = MILS;    // Conversion factor, start in mils static int      l_pad_width = 60;       // Pad width, in mils ... An example, diode.c, looks like: #define DIMC 6.8 #define DIMZ DIMC + DIMY #define DIMY 2.0 #define DIMX 3.0 #define WIDTH 7.0 #define HEIGHT 9.5 void make_element(void) {        set_mm();        header("Big Diode", "D1", "diode", 0, 0, RIGHT);        set_pad(DIMZ - DIMC, DIMX, .2, DIMX + .2);        up(DIMC / 2.0);        pads_down(DIMC, 2, 1, -1);        up(DIMC / 2.0 + HEIGHT / 2.0);        left(WIDTH / 2.0);        pen_on();        right(WIDTH);        down(HEIGHT);        left(WIDTH);        up(HEIGHT + 1);        right(WIDTH);        down(1); } Anyone recognize this package? I want to update it, and want to know who to attribute the work to.