Discussion:
[kicad-users] How do you create a footprint using text copy and paste to a folder in current project? [1 Attachment]
alberta_1905@yahoo.ca [kicad-users]
2017-03-26 02:47:44 UTC
Permalink
How do you circumvent the GitHub cloud and download a single footprint to your version 4.0 project?

I copied this from the GitHiub repository and pasted it as a txt file '0my_74HC595' using the .pretty suffix in a folder '0my_74HC595'. The '0my_' is used to place the library at the top list of libraries for this project. When the library folder is highlighted, the 'next>' box stays dark. I got the same results without '0my_' in the folder name, enclosed file name, and the first line of the text. This used to work in a previous version. You could also rename the module by changing the five occurrences of the file name within the file.

(module 0my_74HC595 (layer F.Cu) (tedit 552EF95F)
(descr "Module CMS SOJ 16 pins etroit")
(tags "CMS SOJ")
(attr smd)
(fp_text reference REF** (at -6 0 90) (layer F.SilkS)
(effects (font (size 0.75 0.75) (thickness 0.15)))
)
(fp_text value VAL** (at 6 0 90) (layer F.SilkS)
(effects (font (size 0.75 0.75) (thickness 0.15)))
)
(fp_line (start -4.95046 -1.95072) (end 4.95046 -1.95072) (layer F.SilkS) (width 0.2032))
(fp_line (start 4.95046 -1.95072) (end 4.95046 1.95072) (layer F.SilkS) (width 0.2032))
(fp_line (start 4.95046 1.95072) (end -4.95046 1.95072) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.95046 1.95072) (end -4.95046 -1.95072) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.95046 -0.508) (end -4.0005 -0.508) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.0005 -0.508) (end -4.0005 0.508) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.0005 0.508) (end -4.95046 0.508) (layer F.SilkS) (width 0.2032))
(pad 1 smd rect (at -4.445 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -3.175 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at -1.905 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at -0.635 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 5 smd rect (at 0.635 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at 1.905 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 7 smd rect (at 3.175 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 8 smd rect (at 4.445 2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 9 smd rect (at 4.445 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 10 smd rect (at 3.175 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 11 smd rect (at 1.905 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 12 smd rect (at 0.635 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 13 smd rect (at -0.635 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 14 smd rect (at -1.905 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 15 smd rect (at -3.175 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(pad 16 smd rect (at -4.445 -2.4003) (size 0.59944 1.99898) (layers F.Cu F.Paste F.Mask))
(model smd/cms_so16.wrl
(at (xyz 0 0 0))
(scale (xyz 0.5 0.3 0.5))
(rotate (xyz 0 0 0))
)
)
bobcousins42@googlemail.com [kicad-users]
2017-03-26 10:23:04 UTC
Permalink
The folder must be called "0my_74HC595.pretty"

The file in the folder must be called "0my_74HC595.kicad_mod".
TK Boyd ng10066504jan@yahoo.co.uk [kicad-users]
2017-03-26 11:41:35 UTC
Permalink
 To reply offlist: Get eddress from sheepdogsoftware.co.uk

From: "***@googlemail.com [kicad-users]" <kicad-***@yahoogroups.com>
To: kicad-***@yahoogroups.com
Sent: Sunday, 26 March 2017, 11:23
Subject: [kicad-users] Re: How do you create a footprint using text copy and paste to a folder in current project?

<!--#yiv1341135329 #yiv1341135329 .yiv1341135329ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv1341135329 div.yiv1341135329ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}#yiv1341135329 div.yiv1341135329photo-title a, #yiv1341135329 div.yiv1341135329photo-title a:active, #yiv1341135329 div.yiv1341135329photo-title a:hover, #yiv1341135329 div.yiv1341135329photo-title a:visited {text-decoration:none;}#yiv1341135329 div.yiv1341135329attach-table div.yiv1341135329attach-row {clear:both;}#yiv1341135329 div.yiv1341135329attach-table div.yiv1341135329attach-row div {float:left;}#yiv1341135329 p {clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv1341135329 div.yiv1341135329ygrp-file {width:30px;}#yiv1341135329 div.yiv1341135329attach-table div.yiv1341135329attach-row div div a {text-decoration:none;}#yiv1341135329 div.yiv1341135329attach-table div.yiv1341135329attach-row div div span {font-weight:normal;}#yiv1341135329 div.yiv1341135329ygrp-file-title {font-weight:bold;}#yiv1341135329 --> <!--#yiv1341135329 #yiv1341135329ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1341135329 #yiv1341135329ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1341135329 #yiv1341135329ygrp-mkp #yiv1341135329hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv1341135329 #yiv1341135329ygrp-mkp #yiv1341135329ads {margin-bottom:10px;}#yiv1341135329 #yiv1341135329ygrp-mkp .yiv1341135329ad {padding:0 0;}#yiv1341135329 #yiv1341135329ygrp-mkp .yiv1341135329ad p {margin:0;}#yiv1341135329 #yiv1341135329ygrp-mkp .yiv1341135329ad a {color:#0000ff;text-decoration:none;}-->I think that the following MAY be misleading. I certainly hope so! Comments from people who KNOW the fact would be welcome!

Someone said...
The folder must be called "0my_74HC595.pretty"> The file in the folder must be called "0my_74HC595.kicad_mod".
Now... akaik, ANY collection of Kicad 4.x modules must be in a folder with a name ending ".pretty" (Windows users: That ".pretty" is part of the FOLDER name, not an extension. At least not in the usual way. (Dotty names unusual in Windows... except at the end of a FILES's name, where the .xx means something special to the system, is "an extension".))And each footprint is held in a file, one footprint to a file, and the file name must end (have as "extension") ".kicad_mod"Just don't "take away" from earlier post that a .pretty folder can only hold one footprint!===The earlier advice may not have meant to imply that. There may be something INSIDE each footprint file that has consequences for the name the file needs to have.Happily, Kicad being so brilliantly designed (!), it is easy to investigate such things. You can examine (and edit, if you are feeling brave (reckless, I would say, but that's a different discussion!)) what's in Kicad files with an ordinary text editor (which is different, novices, from a word processor. For Windows I love Textpad.com.)
A quick glance at a .kicad_mod file, let's say it was my_footprint.kicad_mod, turned up a strong candidate. The file opened with....(module my_footprint.kicad_mod....----
NOTE: While I would welcome further observations on all of this, I can confidently tell you that a single .pretty file can contain many .kicad_mod files. And so, obviously, the file doesn't have to share a name-root with the folder name. There doesn't even have to be ONE file sharing thus. In the case of the file just mentioned, it was in a file called my_2017_jan_footprints.pretty

Please read the Kicad FAQ in the group files section before posting your question.
Please post your bug reports here. They will be picked up by the creator of Kicad.
Please visit http://www.kicadlib.org for details of how to contribute your symbols/modules to the kicad library.
For building Kicad from source and other development questions visit the kicad-devel group at http://groups.yahoo.com/group/kicad-devel



Visit Your Group
- New Members 2
• Privacy • Unsubscribe • Terms of Use
'info@drukknop.nl' info@drukknop.nl [kicad-users]
2017-03-26 12:46:06 UTC
Permalink
i hve several .pretty folders: untested.pretty, tested.pretty and some
with all the kicad_mod files for a specific project. you can copy them
over in the file browser/finder/explorer and/or use a text editor to
change them. very transparent and easy as all is just text.

Simon
Post by TK Boyd ***@yahoo.co.uk [kicad-users]
To reply offlist: Get eddress from sheepdogsoftware.co.uk
------------------------------------------------------------------------
*Sent:* Sunday, 26 March 2017, 11:23
*Subject:* [kicad-users] Re: How do you create a footprint using text
copy and paste to a folder in current project?
I think that the following MAY be misleading. I certainly hope so!
Comments from people who KNOW the fact would be welcome!
Someone said...
Post by ***@googlemail.com [kicad-users]
The folder must be called "0my_74HC595.pretty"
The file in the folder must be called "0my_74HC595.kicad_mod".
Now... akaik, ANY collection of Kicad 4.x modules must be in a folder
with a name ending ".pretty" (Windows users: That ".pretty" is part of
the FOLDER name, not an extension. At least not in the usual way. (Dotty
names unusual in Windows... except at the end of a FILES's name, where
the .xx means something special to the system, is "an extension".))
And each footprint is held in a file, one footprint to a file, and the
file name must end (have as "extension") ".kicad_mod"
Just don't "take away" from earlier post that a .pretty folder can only
hold one footprint!
===
The earlier advice may not have meant to imply that. There may be
something INSIDE each footprint file that has consequences for the name
the file needs to have.
Happily, Kicad being so brilliantly designed (!), it is easy to
investigate such things. You can examine (and edit, if you are feeling
brave (reckless, I would say, but that's a different discussion!))
what's in Kicad files with an ordinary text editor (which is different,
novices, from a word processor. For Windows I love Textpad.com.)
A quick glance at a .kicad_mod file, let's say it was
my_footprint.kicad_mod, turned up a strong candidate. The file opened
with....
(module my_footprint.kicad_mod....
----
NOTE: While I would welcome further observations on all of this, I can
confidently tell you that a single .pretty file can contain many
.kicad_mod files. And so, obviously, the file doesn't have to share a
name-root with the folder name. There doesn't even have to be ONE file
sharing thus. In the case of the file just mentioned, it was in a file
called my_2017_jan_footprints.pretty
Please read the Kicad FAQ in the group files section before posting your question.
Please post your bug reports here. They will be picked up by the creator of Kicad.
Please visit http://www.kicadlib.org <http://www.kicadlib.org/> for
details of how to contribute your symbols/modules to the kicad library.
For building Kicad from source and other development questions visit the
kicad-devel group at http://groups.yahoo.com/group/kicad-devel
<http://groups.yahoo.com/group/kicad-devel?soc_src=mail&soc_trk=ma>
Visit Your Group
<https://groups.yahoo.com/neo/groups/kicad-users/info;_ylc=X3oDMTJmbDNxZzBmBF9TAzk3MzU5NzE0BGdycElkAzE2MDI3Njk4BGdycHNwSWQDMTcwNzI4MTk0MgRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzE0OTA1MjM3ODU-?soc_src=mail&soc_trk=ma>
* New Members
<https://groups.yahoo.com/neo/groups/kicad-users/members/all;_ylc=X3oDMTJnc2h0ZTN1BF9TAzk3MzU5NzE0BGdycElkAzE2MDI3Njk4BGdycHNwSWQDMTcwNzI4MTk0MgRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxNDkwNTIzNzg1?soc_src=mail&soc_trk=ma>
2
Yahoo! Groups
<https://groups.yahoo.com/neo;_ylc=X3oDMTJlaGpua2tqBF9TAzk3NDc2NTkwBGdycElkAzE2MDI3Njk4BGdycHNwSWQDMTcwNzI4MTk0MgRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTQ5MDUyMzc4NQ--?soc_src=mail&soc_trk=ma>
• Privacy
<https://info.yahoo.com/privacy/us/yahoo/groups/details.html?soc_src=mail&soc_trk=ma>
• Unsubscribe
Terms of Use
<https://info.yahoo.com/legal/us/yahoo/utos/terms/?soc_src=mail&soc_trk=ma>
--
Met vriendelijke Groet,

Simon Claessen
drukknop.nl
bobcousins42@googlemail.com [kicad-users]
2017-03-26 14:04:40 UTC
Permalink
Post by TK Boyd ***@yahoo.co.uk [kicad-users]
While I would welcome further observations on all of this, I can confidently tell you that a single .pretty file can contain many .kicad_mod files. And so, obviously, the file doesn't have to share a name-root with the folder name. There doesn't even have to be ONE file sharing thus
Yes, I thought that was so obvious I did not mention it, I was replying using the names the OP provided. Sorry if that was misleading.

In general, the library folder should be called "library name.pretty"

The folder must contain one or files named "file name.kicad_mod", and not other types of file.

BTW Your signature is misleading in all important respects :)
Kicad FAQ is here https://en.wikibooks.org/wiki/Kicad/FAQ https://en.wikibooks.org/wiki/Kicad/FAQ. Bugs should be reported on launchpad https://bugs.launchpad.net/kicad/+filebug https://bugs.launchpad.net/kicad/+filebug. The two URLs you cite are invalid.
TK Boyd ng10066504jan@yahoo.co.uk [kicad-users]
2017-03-26 16:42:55 UTC
Permalink
Post by ***@googlemail.com [kicad-users]
The folder must contain one or files named "file name.kicad_mod", and not other types of file.
Is it not okay to have, say, a .txt file with notes on what's in the folder? I appreciate that it will not be accessible from KiCad.Thank you for...
Post by ***@googlemail.com [kicad-users]
BTW Your signature is misleading in all important respects :)
I will look into it!
Please read the Kicad FAQ in the group files section before posting your question.
Please post your bug reports here. They will be picked up by the creator of Kicad.
Please visit http://www.kicadlib.org for details of how to contribute your symbols/modules to the kicad library.
For building Kicad from source and other development questions visit the kicad-devel group at http://groups.yahoo.com/group/kicad-devel



Visit Your Group
- New Members 2
• Privacy • Unsubscribe • Terms of Use
TK Boyd ng10066504jan@yahoo.co.uk [kicad-users]
2017-03-26 17:01:45 UTC
Permalink
 To reply offlist: Get eddress from sheepdogsoftware.co.uk

To: kicad-***@yahoogroups.com


BTW Your signature is misleading in all important respects :)

I was recent told what you see above. One of the reasons I participate in the group in only a very limited way is that I find Yahoo groups a dog's dinner. I didn't think **I** HAD a signature associated with my posting. And about 20 minutes of digging through menus and "community support" (i.e. we'd better fix it ourselves, because Yahoo isn't going to!) pages left me no wiser. It is possible that what appeared earlier was NOT added by Yahoo, but was merely a residue of poor snipping my me. What I typed in THIS post will end with a row of equals signs. Sorry folks. I wish I could find a proper FORUM for KiCad discussions!
Like, for instance, the Arduino forum (http://forum.arduino.cc/index.php)
=================================
'info@drukknop.nl' info@drukknop.nl [kicad-users]
2017-03-27 08:12:32 UTC
Permalink
why do you use yahoo? I get all my yahoogroup mails in my thunderbird
mail reader and they behave as normal mail in every respect, using my
own signature system i set up on this machine.
Post by TK Boyd ***@yahoo.co.uk [kicad-users]
To reply offlist: Get eddress from sheepdogsoftware.co.uk
------------------------------------------------------------------------
**
BTW Your signature is misleading in all important respects :)
I was recent told what you see above. One of the reasons I participate
in the group in only a very limited way is that I find Yahoo groups a
dog's dinner. I didn't think **I** HAD a signature associated with my
posting. And about 20 minutes of digging through menus and "community
support" (i.e. we'd better fix it ourselves, because Yahoo isn't going
to!) pages left me no wiser. It is possible that what appeared earlier
was NOT added by Yahoo, but was merely a residue of poor snipping my me.
What I typed in THIS post will end with a row of equals signs. Sorry
folks. I wish I could find a proper FORUM for KiCad discussions!
Like, for instance, the Arduino forum (http://forum.arduino.cc/index.php)
=================================
--
Met vriendelijke Groet,

Simon Claessen
drukknop.nl
bobcousins42@googlemail.com [kicad-users]
2017-03-27 09:29:00 UTC
Permalink
Post by TK Boyd ***@yahoo.co.uk [kicad-users]
I wish I could find a proper FORUM for KiCad discussions!
There is : https://forum.kicad.info/ https://forum.kicad.info/

I don't really know why this yahoo group lingers on.

Loading...