delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2019/02/05/14:12:53

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=fastmail.com; h=
reply-to:subject:to:references:from:message-id:date:mime-version
:in-reply-to:content-type; s=fm2; bh=NBmgZLZyxItOFHDseawhUCCNWGO
wjLPS+y52NLPI9YU=; b=xayDHJHdT+IHdaPSJBVi8HmDFzP3J0hJnvFRlaDHlUT
4hiX2Qm7x4EGL8fCZyi+6Q6lHbSqKjTVkxrBABEybqICrAlLL8xo6bW0v8YfQPo2
oa7djyD3d7BC5iYY6vwvQKwQnzlSirRy5H6TypPHvq6Axvuj8pnfVd4oxRjYgnlO
FCVvYDbT0xWzs5j3ai3Ucwow40KIJ8eYTquSqF2aPHrM00WCBwspkFKYDuuIpdpb
qG0M3Bscwle/a68F0wTompeFZVi6VS0PzZW4D4mXOzPxP2rNY+IUdBUQ7SL++af9
9RS9Lz5X1cm3mGpFMhL6Tm8/Rwo/M9+Mb5YUjZcN3SQ==
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=content-type:date:from:in-reply-to
:message-id:mime-version:references:reply-to:subject:to
:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
fm1; bh=NBmgZLZyxItOFHDseawhUCCNWGOwjLPS+y52NLPI9YU=; b=rS0RYQHP
9KjSZRQqq5syOAD7zxmQvNyJi25WY1qyUJ9iwXNc1coihqsduDnM1bbEoQezR129
u6kQXhQFx5sgGZitkgzgj0KA5ya6JIBy3INzd6IHaMKtwS++Bu6FdD9hUIWP8Dp3
YRU/X4f/Eok73QoQhYTWbxz7JznLSVewZAurl3PgGX3NP5vb79tX68UQYIDrBNSW
AJj5qWSJXXlPCR9APtxkN1fU62uUlKAkFCKsVLfiOc5e1LfEIy5stoMO8lvnUQRB
97gFhQKB9JLzWEQ36zb3WtS62si+mShtV6BOvmo7a4ncjm5SqY0zBqUREdBjktQm
ksHY0jDhecJy6g==
X-ME-Sender: <xms:ct9ZXAZexlGhJHDZ9KhWeA-5ttSDzwaaIBGIe6wdAZoL8jtqtAsdbw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrkeeigdduudelucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef
tddtnecunecujfgurheprhfuvfhfhffkffgfgggjtgesrgdtreertdefjeenucfhrhhomh
epifhirhhvihhnucfjvghrrhcuoehghhgvrhhrlhesfhgrshhtmhgrihhlrdgtohhmqeen
ucffohhmrghinheplhgruhhntghhphgrugdrnhgvthenucfkphepuddtkedrvdduhedrud
elhedrvddtheenucfrrghrrghmpehmrghilhhfrhhomhepghhhvghrrhhlsehfrghsthhm
rghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:ct9ZXOUCBclT6_0XhzIli-vzsqk9eTbeJag75-k-rN3DUuvCF_bkWg>
<xmx:ct9ZXPLE2XAr2IsMopXVPhFxvaZymMt750yOuNFweflHKfaaOqyXbw>
<xmx:ct9ZXH3Kcj7oJkV2WLID-rJo1UHbuQmd6Q5hbdMlxPu2PxUnITyfmg>
<xmx:ct9ZXKEmBEqo-oKvc0H4uPIElS8xygffuUIRlGuxddNGLTKIra7jEA>
Subject: Re: [geda-user] PCB 4.1.3 png export acting weird
To: geda-user AT delorie DOT com
References: <34d4880c-3aa0-26a2-0d02-ab740ccda6be AT fastmail DOT com>
<xnva2714ug DOT fsf AT envy DOT delorie DOT com>
<CAJZxidCAe321UxZB4tDwamsSfa7VJTsdF6ucMGXYw2UA7LmGdQ AT mail DOT gmail DOT com>
<df1194d5-1347-3eb3-7a8a-f0de19b9e407 AT fastmail DOT com>
<CAJZxidDS71EmH9vb1=DHscAB5c=CkiRv+7YpJuxNVqAV7jQPvQ AT mail DOT gmail DOT com>
<1993f267-eaba-d065-2a84-11d33a165b8e AT fastmail DOT com>
<CAJZxidCU-w=PLqAjXvT6Vvx42XQ4NAxdPi9LWH+4sj42tZMyjg AT mail DOT gmail DOT com>
From: "Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <02221dee-bb68-95bd-c28f-93db1f85043a@fastmail.com>
Date: Tue, 5 Feb 2019 11:11:08 -0800
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101
Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <CAJZxidCU-w=PLqAjXvT6Vvx42XQ4NAxdPi9LWH+4sj42tZMyjg@mail.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.
--------------A65545185CC029E36DA52D0B
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Chad,

Just an update to let you know what I discovered since my last message. 
I discovered that LibreCad (LC) does not handle PNG imports very well. 
It imports the file, but it is huge. When I tried to "scale" it down by 
a reasonable amount, the image disappeared! I later read that LC prefers 
vector graphics to raster bit-maps, of which PNG is, and suggests 
converting the raster file to DXF using inkscape. I have tried that in 
the past, but with less than successful results.

However, I tried exporting the PCB layers I want using the EPS option 
instead of the PNG option, and then running the EPS file through 
pstoedit, which converts it to DXF, which is LC's native file format for 
"blocks". I then imported the DXF file as a block into my LC drawing and 
it worked fine. I was then able to make my assembly drawing using the 
PCB exported design without re-drawing it. Slick.

BTW: For another "data point", I was going to try to export my design as 
EPS without the work-around you suggested (no copper layers selected), 
but DJ mentioned in a previous message in this thread that the EPS 
option also has the same problem. So, I will not bother testing it.

BTW2: I discovered the "PS" PCB export option produces the same output 
as File > Print - all board layers on separate pages - which is not the 
same format as the other export options. That was not expected but may 
be by design for some reason. It may be more intuitive to "Print" to a 
file using PostScript and let the PS export have the same result as the 
other export options.

Girvin


On 1/29/19 4:31 PM, Chad Parker (parker DOT charles AT gmail DOT com) [via 
geda-user AT delorie DOT com] wrote:
> Great! I'm glad we have a working solution for now.
>
> Since you have something that works, I'll look into it some more this 
> weekend.
>
> Cheers,
> --Chad
>
> On Tue, Jan 29, 2019 at 7:08 PM Girvin Herr (gherrl AT fastmail DOT com 
> <mailto:gherrl AT fastmail 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:
>
>     Chad,
>
>     Okay, here's what I did. As you suggested, I used the unused
>     "signal2" layer to create a box around the board edge and kept it
>     turned on with the "component" and "solder" layers turned off. In
>     the PNG dialog, I checked the "screen-layout-order" option and
>     that gave me what I want - silkscreen, pins, and outline. If I
>     leave the "screen-layout-order" option unchecked and nothing else
>     changed, then I get everything again - traces from both sides and all.
>
>     So, I thank you for your work-around and I can continue my work
>     wile you get it sorted out. I will look into posting a bug report
>     ASAP.
>
>     Thanks Again.
>     Girvin
>
>
>     On 1/29/19 3:35 PM, Chad Parker (parker DOT charles AT gmail DOT com
>     <mailto:parker DOT charles AT gmail DOT com>) [via geda-user AT delorie DOT com
>     <mailto:geda-user AT delorie DOT com>] wrote:
>>     Okay, so, it's not a recent thing. That means I didn't break
>>     anything (that I don't already know about) :)
>>
>>     As a temporary workaround, do you have a spare copper layer?
>>     Maybe you could draw the outline on the spare layer and enable
>>     it. Perhaps that would trick the pads into being drawn while we
>>     get this sorted out.
>>
>>     LaunchPad is the bug tracker that we use:
>>     https://launchpad.net/pcb
>>
>>     Generally common sense applies. Provide enough info so that the
>>     devs can reproduce the problem. The easier you make it for us and
>>     the more specific you can be, the easier it is for us to help you.
>>
>>     Thanks,
>>     --Chad
>>
>>
>>     On Tue, Jan 29, 2019 at 6:30 PM Girvin Herr (gherrl AT fastmail DOT com
>>     <mailto:gherrl AT fastmail 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:
>>
>>         Chad & DJ,
>>
>>         Thanks for your prompt response.
>>
>>         Yes, I have "Only-visible" checked in the PNG dialog. That
>>         was the first thing I did, since the prompt specifically said
>>         "...visible items...", which implies visible on the screen.
>>
>>         I thought I did this before, but my notes from then say to
>>         enable "Component" side to get pads. Otherwise will only get
>>         silkscreen. Sounds familiar. However, that board was a
>>         single-sided board, so it didn't matter, since there were no
>>         traces on the Component side. This new board is a
>>         double-sided board. I just checked and exporting with
>>         "Component" layer turned on will produce the top silk, pins
>>         and both component and solder layer traces, which still is
>>         not what I want. I don't want the traces for this export.
>>         According to the PNG file date on that single-sided board, it
>>         was February of 2015. So, this process was giving me problems
>>         that far back at least.
>>
>>         I have never used LaunchPad before or filed a bug report. How
>>         do I do that? Is there a process document I can read to do
>>         it? If so, where can I find it?
>>
>>         Thanks again.
>>         Girvin
>>
>>
>>         On 1/29/19 2:39 PM, Chad Parker (parker DOT charles AT gmail DOT com
>>         <mailto:parker DOT charles AT gmail DOT com>) [via geda-user AT delorie DOT com
>>         <mailto:geda-user AT delorie DOT com>] wrote:
>>>         It does appear that the pins and pads not being drawn. Did
>>>         this ever work for you? Did it break recently?
>>>
>>>         Could you please file a bug report on LaunchPad? I'll take a
>>>         look.
>>>
>>>         On Tue, Jan 29, 2019 at 5:29 PM DJ Delorie <dj AT delorie DOT com
>>>         <mailto:dj AT delorie DOT com>> wrote:
>>>
>>>
>>>             Please make sure you have also checked the
>>>             "only-visible" option in the
>>>             png exporter dialog.
>>>

--------------A65545185CC029E36DA52D0B
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Chad,</p>
    <p>Just an update to let you know what I discovered since my last
      message. I discovered that LibreCad (LC) does not handle PNG
      imports very well. It imports the file, but it is huge. When I
      tried to "scale" it down by a reasonable amount, the image
      disappeared! I later read that LC prefers vector graphics to
      raster bit-maps, of which PNG is, and suggests converting the
      raster file to DXF using inkscape. I have tried that in the past,
      but with less than successful results.<br>
    </p>
    <p>However, I tried exporting the PCB layers I want using the EPS
      option instead of the PNG option, and then running the EPS file
      through pstoedit, which converts it to DXF, which is LC's native
      file format for "blocks". I then imported the DXF file as a block
      into my LC drawing and it worked fine. I was then able to make my
      assembly drawing using the PCB exported design without re-drawing
      it. Slick.</p>
    <p>BTW: For another "data point", I was going to try to export my
      design as EPS without the work-around you suggested (no copper
      layers selected), but DJ mentioned in a previous message in this
      thread that the EPS option also has the same problem. So, I will
      not bother testing it.</p>
    <p>BTW2: I discovered the "PS" PCB export option produces the same
      output as File &gt; Print - all board layers on separate pages -
      which is not the same format as the other export options. That was
      not expected but may be by design for some reason. It may be more
      intuitive to "Print" to a file using PostScript and let the PS
      export have the same result as the other export options.<br>
    </p>
    <p>Girvin</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/29/19 4:31 PM, Chad Parker
      (<a class="moz-txt-link-abbreviated" href="mailto:parker DOT charles AT gmail DOT com">parker DOT charles AT gmail DOT com</a>) [via <a class="moz-txt-link-abbreviated" href="mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJZxidCU-w=PLqAjXvT6Vvx42XQ4NAxdPi9LWH+4sj42tZMyjg AT mail DOT gmail DOT com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Great! I'm glad we have a working solution for now. <br>
        </div>
        <div><br>
        </div>
        <div>Since you have something that works, I'll look into it some
          more this weekend.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>--Chad<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Jan 29, 2019 at 7:08
          PM Girvin Herr (<a href="mailto:gherrl AT fastmail DOT com"
            moz-do-not-send="true">gherrl AT fastmail 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:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF">
            <p>Chad,</p>
            <p>Okay, here's what I did. As you suggested, I used the
              unused "signal2" layer to create a box around the board
              edge and kept it turned on with the "component" and
              "solder" layers turned off. In the PNG dialog, I checked
              the "screen-layout-order" option and that gave me what I
              want - silkscreen, pins, and outline. If I leave the
              "screen-layout-order" option unchecked and nothing else
              changed, then I get everything again - traces from both
              sides and all.<br>
            </p>
            <p>So, I thank you for your work-around and I can continue
              my work wile you get it sorted out. I will look into
              posting a bug report ASAP.</p>
            <p>Thanks Again.<br>
              Girvin</p>
            <p><br>
            </p>
            <div class="gmail-m_8606545683239727187moz-cite-prefix">On
              1/29/19 3:35 PM, Chad Parker (<a
                class="gmail-m_8606545683239727187moz-txt-link-abbreviated"
                href="mailto:parker DOT charles AT gmail DOT com" target="_blank"
                moz-do-not-send="true">parker DOT charles AT gmail DOT com</a>)
              [via <a
                class="gmail-m_8606545683239727187moz-txt-link-abbreviated"
                href="mailto:geda-user AT delorie DOT com" target="_blank"
                moz-do-not-send="true">geda-user AT delorie DOT com</a>] wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div>Okay, so, it's not a recent thing. That means I
                  didn't break anything (that I don't already know
                  about) :)<br>
                </div>
                <div><br>
                </div>
                <div>As a temporary workaround, do you have a spare
                  copper layer? Maybe you could draw the outline on the
                  spare layer and enable it. Perhaps that would trick
                  the pads into being drawn while we get this sorted
                  out.<br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div>LaunchPad is the bug tracker that we use:<br>
                </div>
                <div dir="ltr"><a href="https://launchpad.net/pcb"
                    target="_blank" moz-do-not-send="true">https://launchpad.net/pcb</a><br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div>Generally common sense applies. Provide enough info
                  so that the devs can reproduce the problem. The easier
                  you make it for us and the more specific you can be,
                  the easier it is for us to help you.</div>
                <div><br>
                </div>
                <div>Thanks,</div>
                <div>--Chad<br>
                </div>
                <div><br>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Tue, Jan 29, 2019
                  at 6:30 PM Girvin Herr (<a
                    href="mailto:gherrl AT fastmail DOT com" target="_blank"
                    moz-do-not-send="true">gherrl AT fastmail DOT com</a>) [via
                  <a href="mailto:geda-user AT delorie DOT com" target="_blank"
                    moz-do-not-send="true">geda-user AT delorie DOT com</a>]
                  &lt;<a href="mailto:geda-user AT delorie DOT com"
                    target="_blank" moz-do-not-send="true">geda-user AT delorie DOT com</a>&gt;
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF">
                    <p>Chad &amp; DJ,</p>
                    <p>Thanks for your prompt response.<br>
                    </p>
                    <p>Yes, I have "Only-visible" checked in the PNG
                      dialog. That was the first thing I did, since the
                      prompt specifically said "...visible items...",
                      which implies visible on the screen.<br>
                    </p>
                    <p>I thought I did this before, but my notes from
                      then say to enable "Component" side to get pads.
                      Otherwise will only get silkscreen. Sounds
                      familiar. However, that board was a single-sided
                      board, so it didn't matter, since there were no
                      traces on the Component side. This new board is a
                      double-sided board. I just checked and exporting
                      with "Component" layer turned on will produce the
                      top silk, pins and both component and solder layer
                      traces, which still is not what I want. I don't
                      want the traces for this export. According to the
                      PNG file date on that single-sided board, it was
                      February of 2015. So, this process was giving me
                      problems that far back at least.<br>
                    </p>
                    <p>I have never used LaunchPad before or filed a bug
                      report. How do I do that? Is there a process
                      document I can read to do it? If so, where can I
                      find it?</p>
                    <p>Thanks again.<br>
                      Girvin<br>
                    </p>
                    <p><br>
                    </p>
                    <div
class="gmail-m_8606545683239727187gmail-m_1362729497396179040moz-cite-prefix">On
                      1/29/19 2:39 PM, Chad Parker (<a
class="gmail-m_8606545683239727187gmail-m_1362729497396179040moz-txt-link-abbreviated"
                        href="mailto:parker DOT charles AT gmail DOT com"
                        target="_blank" moz-do-not-send="true">parker DOT charles AT gmail DOT com</a>)
                      [via <a
class="gmail-m_8606545683239727187gmail-m_1362729497396179040moz-txt-link-abbreviated"
                        href="mailto:geda-user AT delorie DOT com"
                        target="_blank" moz-do-not-send="true">geda-user AT delorie DOT com</a>]
                      wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div>It does appear that the pins and pads not
                          being drawn. Did this ever work for you? Did
                          it break recently?<br>
                        </div>
                        <div><br>
                        </div>
                        <div>Could you please file a bug report on
                          LaunchPad? I'll take a look.<br>
                        </div>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">On Tue, Jan
                          29, 2019 at 5:29 PM DJ Delorie &lt;<a
                            href="mailto:dj AT delorie DOT com" target="_blank"
                            moz-do-not-send="true">dj AT delorie DOT com</a>&gt;
                          wrote:<br>
                        </div>
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex"><br>
                          Please make sure you have also checked the
                          "only-visible" option in the<br>
                          png exporter dialog.<br>
                        </blockquote>
                      </div>
                    </blockquote>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>

--------------A65545185CC029E36DA52D0B--

- Raw text -


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