X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FIP65zWOpaHJwRBG3LbyXWsoyFGS6swPpeV+SF3CJPM=; b=isf6hw1J6MXtm5emiynO/utqwBDOo7N8Hmj+DC/BCNc//YiPhThkqarmMLMnUdu+6f 91zQLzlqAS8cmFe16JUhbPaYt2kAOYtrDquGLje17HWagpgV3S9zM/cduGpOYg2YarU0 cqS4/pKf8KdxdmnemGKkpCAMNER7FrxYjMBuMSePkoS/4LSdj6lU+Yr+//bhX118sB4G h2Ci6HCNEkax5zXEiYDTYmNQEQxB1qm4mV9AqNTl5MAnruEBGEJqtrkmmc7jmdjmGSwA j2/VZNI7qheeBw3cuFyeJEHHymhEuFA6TbBMms/tgpK6Cyhjdy8rmAlvKBO4bSf9zPIJ junA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FIP65zWOpaHJwRBG3LbyXWsoyFGS6swPpeV+SF3CJPM=; b=BVDZnhSD2gJAx9EJp2TBnIvbAhNQzv6aj8EA81KaRXmt3Uw4Z9y+MoIeegRqbhsGNc T1BDL2oXFt9lybfXFdhmTtPB5dcf1hU+w8DkkYTOQSUInn01DbpDaM797Y0lN/G8Gt16 +HI7VOOt6oHQ08IOHcMxPNn08FgmUHmIeLBFkLvRX6Y3kqPJrH6SlQEA31X2kBO0LWsi WnZ3KnpW1kiffX84kxX9/Wn6AzRL6Sk2xyxsnwxTbDefGs2vDKb5QBLrJsjiByluseHQ 9XKJH3nBFyAzTqwKU6Q3yjLxs4HqfB4QpY9c3ylFV0Ngt3Dkf+OU8UiKbm8ELw0Z1h2I BPjQ== X-Gm-Message-State: AOAM533r5d5Yer423D3TH0wgK9qkUJReliXfE8aDHdZew7vWgi5uAjhd 3my3ed7G72kyJq/eK+X/JeOnhznvFdTBilpwVj915qjF6b0= X-Google-Smtp-Source: ABdhPJziiulk5xOJBzzdwAQ3G1W0pLRGSr4GyNXjMhr8aumGXGVckrduGWnrO2VePWZPF6z7Zzsz1KIZc9hzF+S2yes= X-Received: by 2002:a25:4f83:: with SMTP id d125mr1299744ybb.388.1607026373008; Thu, 03 Dec 2020 12:12:53 -0800 (PST) MIME-Version: 1.0 From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Thu, 3 Dec 2020 11:12:41 -0900 Message-ID: Subject: [geda-user] automatically create a .sch file containing a single component? To: geda-user AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: geda-user AT delorie DOT com Another small thing I'd like to automate is my setup for validating footprints of symbols. I use heavy symbols with footprints associated with each part. To check a symbol I first create a .sym and .fpt, then create a file checkfpt.sch which contains just the .sym, then use gsh2pcb to create a pcb file containing the symbol, and launch pcb to take a look at it. The part that's pointlessly interactive is the creation of the .sch file. I have to have gschem launched and manually add the symbol. I'd like to do one of these instead: * create an sch containing just the sch using some batch mode op * just create the sch by script. but I don't get why some text elements (refdes=, device=) end up repeated in the .sch file and other stay in the element. what distinguishes these elements? * create the pcb file directly. sort of a hassle but probably what I'll do unless there's a better way, a little weird in my case since I have a lot of footprints using a text library of my own * view the footprint file in a way that shows the refdes. I know it possible to view footprints directly with pcb, the only problem with this is it doesn't show the refdes. Is there some way to make it do so? Britton