www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/09/25/09:23:07

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=subject:from:to:references:message-id:date:user-agent:mime-version
:in-reply-to:content-language;
bh=dYvRMvVV9IPWtx8Ka/xgy6Zro392yddeY6T7TupGOVI=;
b=XKQNChz1/a0Vv1+t4OVriXyW6zuTYkRgScVLCDUu0hdFzxLyM45l2UPKldM9DF5Aam
5+NGb6bi8hmhTQk+ggJvEReUeRvXjOy8P9ag5Kha5u1aL2PuLqXk1EefSR6p783ZK8pd
TAbLY5+iOUNkoCM9J/YSnE25x2g1R2xPasYY0WkY3zCFALISQdZtRV+e+S4ZKuR9jBZe
38Ojs4taGvnOrq2K39rbwLTzHKcm1JkpF9nIdTI8IfxCvVsDhAGEEuZ9NnYud1ciR1fY
Iht3PpSuGz7hCYC/bFrmmkf4MK7MjbVfXKr4xSCOAS92Ue1H3RKV8kVGEbZs3x10h4QE
btsA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:from:to:references:message-id:date
:user-agent:mime-version:in-reply-to:content-language;
bh=dYvRMvVV9IPWtx8Ka/xgy6Zro392yddeY6T7TupGOVI=;
b=h3P57f/+tqColk/iqMpm/S/do/RF/2d64cRv18rmbzyeXTvo1pHg4jOGw1Uugl7D9y
BUzoj4lwegM2eOlDbABDBni5LZDfoPz+IXd6hhCrcwfGDoXgtGCnLEtpbQOXgUhzi0jW
60DzmSLCKmHFu0GYBMh0myvnKJRCRU71XQa3MA9GRuYJbMb79eNAjA18Cse5/9vShSnQ
bB7fIs01aPRWVLZPlRIgaU+J1SvWf/mjK0vDLuEntWceBTrj6f3j4m1EsUzeDWFDkYKT
MpPgVcbeeeLVOgcEi2jAX/XsSwWJBvbcZ1VIc16bTG2mWz6TZVm8cGFet74JBcCxcBbm
95ug==
X-Gm-Message-State: AOAM531WD0eHT4ScTfH2p2mDi8zogCE/+iTMPvgCtYKkJuRnYi7TDh5R
bGSe9t/Ty5kIGov8d8e/r5eyhL3HFBE=
X-Google-Smtp-Source: ABdhPJw6QJeDzTfv2xATHU2VpkrY0tTqrdqDTTDJRU2L77RXdJRJJtjCP03fh69CqQaR4p24HFifrQ==
X-Received: by 2002:ac8:19a6:: with SMTP id u35mr4105644qtj.315.1601038997194;
Fri, 25 Sep 2020 06:03:17 -0700 (PDT)
Subject: Re: [geda-user] generate complex outline in pcb?
From: "Dr M C Nelson (drmcnelson AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
References: <ad8a00e4-d929-5ce7-5f71-917f61765a0d AT neurotica DOT com>
<1d59efe9-8101-6352-1046-212bdec41824 AT gmail DOT com>
<CAJZxidDw_D69M9ZzerM=PCdog+r+i88Ct51wK_N_VUxwuj3ZGg AT mail DOT gmail DOT com>
<9a50f043-5254-9ae6-b2af-87ac6195eb53 AT gmail DOT com>
Message-ID: <09db772d-360c-4990-19dc-4786396cb17a@gmail.com>
Date: Fri, 25 Sep 2020 09:03:16 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <9a50f043-5254-9ae6-b2af-87ac6195eb53@gmail.com>
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

This is a multi-part message in MIME format.
--------------66E69AE4C926660BFC7B88A8
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

P/S   For me, being able to edit the pcb as a text file, is one of its 
best features.

If there is something you can't do in the pcb editor,  just do it in a 
text editor.

I've also written a lot of python programs to create and manipulate 
boards, including routing.    In one project i wrote a script to do 
layouts and routing for minimum redundancy MIMO arrays.


But, of course, I cringed a little when I saw the note about a new PCB 
file format.




On 9/25/20 8:53 AM, Dr M C Nelson wrote:
> Here is another simple way to do it.
>
> As I understand it, he has the outline in the silk layer.
>
> So,  open the pcb file in a text editor.
>
> Copy the lines from the silk layer to the paste buffer, and then paste 
> it back as an extra copy.
>
> Then, simply edit the extra copy to appear in the outline layer.
>
>
>
>
>
> On 9/25/20 8:08 AM, Chad Parker (parker DOT charles AT gmail DOT com) [via 
> geda-user AT delorie DOT com] wrote:
>> As far as I'm aware, there isn't currently a way to do this *in* pcb. 
>> I think your best bet is inkscape, but I could also see someone 
>> writing a short python script to accomplish it pretty easily.
>>
>> --Chad
>>
>> On Fri, Sep 25, 2020, 02:08 Dr M C Nelson (drmcnelson AT gmail DOT com 
>> <mailto:drmcnelson AT gmail DOT com>) [via geda-user AT delorie DOT com 
>> <mailto:geda-user AT delorie DOT com>] <geda-user AT delorie DOT com 
>> <mailto:geda-user AT delorie DOT com>> wrote:
>>
>>     Perhaps copy and paste from one layer to the other?
>>
>>
>>     On 9/24/20 11:24 PM, Dave McGuire (mcguire AT neurotica DOT com
>>     <mailto:mcguire AT neurotica DOT com>) [via
>>     geda-user AT delorie DOT com <mailto:geda-user AT delorie DOT com>] wrote:
>>     >
>>     >   Hey folks.  I'm designing a board that needs to have a very
>>     complex
>>     > outline.  Starting from an image file, I've gotten what I need
>>     into
>>     > the silkscreen layer, but now I'd like to essentially take the
>>     shape
>>     > that's there and draw a line 1mm or so around the outside of the
>>     > entire shape, for the outline.
>>     >
>>     >   Can anyone suggest an automated way to do this?  I'd just
>>     trace it,
>>     > but the outline is, as I said, very complex.
>>     >
>>     >               Thanks,
>>     >               -Dave
>>     >
>>
>


--------------66E69AE4C926660BFC7B88A8
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    P/S   For me, being able to edit the pcb as a text file, is one of
    its best features.<br>
    <br>
    If there is something you can't do in the pcb editor,  just do it in
    a text editor. <br>
    <br>
    I've also written a lot of python programs to create and manipulate
    boards, including routing.    In one project i wrote a script to do 
    layouts and routing for minimum redundancy MIMO arrays.<br>
    <br>
    <br>
    But, of course, I cringed a little when I saw the note about a new
    PCB file format.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/25/20 8:53 AM, Dr M C Nelson
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9a50f043-5254-9ae6-b2af-87ac6195eb53 AT gmail DOT com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Here is another simple way to do it.<br>
      <br>
      As I understand it, he has the outline in the silk layer.<br>
      <br>
      So,  open the pcb file in a text editor.  <br>
      <br>
      Copy the lines from the silk layer to the paste buffer, and then
      paste it back as an extra copy.<br>
      <br>
      Then, simply edit the extra copy to appear in the outline layer.<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <div class="moz-cite-prefix">On 9/25/20 8:08 AM, Chad Parker (<a
          class="moz-txt-link-abbreviated"
          href="mailto:parker DOT charles AT gmail DOT com" moz-do-not-send="true">parker DOT charles AT gmail DOT com</a>)
        [via <a class="moz-txt-link-abbreviated"
          href="mailto:geda-user AT delorie DOT com" moz-do-not-send="true">geda-user AT delorie DOT com</a>]
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAJZxidDw_D69M9ZzerM=PCdog+r+i88Ct51wK_N_VUxwuj3ZGg AT mail DOT gmail DOT com">
        <meta http-equiv="content-type" content="text/html;
          charset=windows-1252">
        <div dir="auto">As far as I'm aware, there isn't currently a way
          to do this *in* pcb. I think your best bet is inkscape, but I
          could also see someone writing a short python script to
          accomplish it pretty easily.
          <div dir="auto"><br>
          </div>
          <div dir="auto">--Chad</div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Fri, Sep 25, 2020, 02:08
            Dr M C Nelson (<a href="mailto:drmcnelson AT gmail DOT com"
              moz-do-not-send="true">drmcnelson AT gmail DOT com</a>) [via <a
              href="mailto:geda-user AT delorie DOT com" moz-do-not-send="true">geda-user AT delorie DOT com</a>]
            &lt;<a href="mailto:geda-user AT delorie DOT com"
              moz-do-not-send="true">geda-user AT delorie DOT com</a>&gt;
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Perhaps
            copy and paste from one layer to the other?<br>
            <br>
            <br>
            On 9/24/20 11:24 PM, Dave McGuire (<a
              href="mailto:mcguire AT neurotica DOT com" target="_blank"
              rel="noreferrer" moz-do-not-send="true">mcguire AT neurotica DOT com</a>)
            [via <br>
            <a href="mailto:geda-user AT delorie DOT com" target="_blank"
              rel="noreferrer" moz-do-not-send="true">geda-user AT delorie DOT com</a>]
            wrote:<br>
            &gt;<br>
            &gt;   Hey folks.  I'm designing a board that needs to have
            a very complex <br>
            &gt; outline.  Starting from an image file, I've gotten what
            I need into <br>
            &gt; the silkscreen layer, but now I'd like to essentially
            take the shape <br>
            &gt; that's there and draw a line 1mm or so around the
            outside of the <br>
            &gt; entire shape, for the outline.<br>
            &gt;<br>
            &gt;   Can anyone suggest an automated way to do this?  I'd
            just trace it, <br>
            &gt; but the outline is, as I said, very complex.<br>
            &gt;<br>
            &gt;               Thanks,<br>
            &gt;               -Dave<br>
            &gt;<br>
            <br>
          </blockquote>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>

--------------66E69AE4C926660BFC7B88A8--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019