Mail Archives: geda-user/2020/09/25/10:06:05
--00000000000041c53205b0238a20
Content-Type: text/plain; charset="UTF-8"
I use pstoedit a lot:
pstoedit -xscale 0.5 -yscale 0.5 -ssp -flat .01 -f pcb $(whatever).pdf
$(whatever).pcb
Can you get your silkscreen outline into pdf (or ps)? Maybe you could then
just play with the scaling in pstoedit to make a bigger version of the
outline. You'll then have to bring the output into PCB and "move selected
to current layer" after making the outline layer current.
On Fri, Sep 25, 2020 at 6:36 AM Dr M C Nelson (drmcnelson AT gmail DOT com) [via
geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> 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) [via
> geda-user AT delorie DOT com] <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) [via
>> 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
>> >
>>
>>
>
>
--00000000000041c53205b0238a20
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">I use pstoedit a lot:<div><br></div><div>pstoedit -xscale =
0.5 -yscale 0.5 -ssp -flat .01 -f pcb $(whatever).pdf $(whatever).pcb<br></=
div><div><br></div><div>Can you get your silkscreen outline into pdf (or ps=
)?=C2=A0 Maybe you could then just play with the scaling in pstoedit to mak=
e a bigger version of the outline.=C2=A0 You'll then have to bring the =
output into PCB and "move selected to current layer" after making=
the outline layer current.</div></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 25, 2020 at 6:36 AM Dr M C Nel=
son (<a href=3D"mailto:drmcnelson AT gmail DOT com">drmcnelson AT gmail DOT com</a>) [via=
<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] <<a=
href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>> wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
=20
=20
=20
<div>
P/S=C2=A0=C2=A0 For me, being able to edit the pcb as a text file, is o=
ne of
its best features.<br>
<br>
If there is something you can't do in the pcb editor,=C2=A0 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. =C2=A0=C2=A0 In one project i wrote a script=
to do=C2=A0
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>On 9/25/20 8:53 AM, Dr M C Nelson
wrote:<br>
</div>
<blockquote type=3D"cite">
=20
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,=C2=A0 open the pcb file in a text editor.=C2=A0 <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>On 9/25/20 8:08 AM, Chad Parker (<a href=3D"mailto:parker.charle=
s AT gmail DOT com" target=3D"_blank">parker DOT charles AT gmail DOT com</a>)
[via <a href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">ged=
a-user AT delorie DOT com</a>]
wrote:<br>
</div>
<blockquote type=3D"cite">
=20
<div dir=3D"auto">As far as I'm aware, there isn't currentl=
y 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=3D"auto"><br>
</div>
<div dir=3D"auto">--Chad</div>
</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 25, 2020, 02:08
Dr M C Nelson (<a href=3D"mailto:drmcnelson AT gmail DOT com" target=
=3D"_blank">drmcnelson AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delo=
rie.com" target=3D"_blank">geda-user AT delorie DOT com</a>]
<<a href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">=
geda-user AT delorie DOT com</a>>
wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);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=3D"mailto:mcguire AT ne=
urotica.com" rel=3D"noreferrer" target=3D"_blank">mcguire AT neurotica DOT com</a>=
)
[via <br>
<a href=3D"mailto:geda-user AT delorie DOT com" rel=3D"noreferrer" tar=
get=3D"_blank">geda-user AT delorie DOT com</a>]
wrote:<br>
><br>
> =C2=A0 Hey folks.=C2=A0 I'm designing a board that nee=
ds to have
a very complex <br>
> outline.=C2=A0 Starting from an image file, I've gotte=
n what
I need into <br>
> the silkscreen layer, but now I'd like to essentially
take the shape <br>
> that's there and draw a line 1mm or so around the
outside of the <br>
> entire shape, for the outline.<br>
><br>
> =C2=A0 Can anyone suggest an automated way to do this?=C2=
=A0 I'd
just trace it, <br>
> but the outline is, as I said, very complex.<br>
><br>
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 Thanks,<br>
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 -Dave<br>
><br>
<br>
</blockquote>
</div>
</blockquote>
<br>
</blockquote>
<br>
</div>
</blockquote></div>
--00000000000041c53205b0238a20--
- Raw text -