3D new library for Mechanical CAD exporting and enclosure design

added support for concave pins on QFN packages, this should hopefully be sufficient for these models


Ill add all the parameters tomorrow :slight_smile:

anybody feels like making the 3 missing footprints? :stuck_out_tongue:

1 Like

finished the Diodes_SMD 3d models and added the D_2010, D_2114 and D_3220 footprints

3 Likes

With those new concave pins … would you be willing to make the 3D symbols for LCC-packages?
http://www.ti.com/lit/an/snoa023/snoa023.pdf

I can then make the footprints …

Best,
JAN

Sure thing, but I think I’ll add the different pintypes to the molded QFN generator and use that one instead

the SOT library is coming along quite nice with the new models :slight_smile:

4 Likes

hey Peeps

added a few extra things to my place-all-components-within-a-library-to-a-board scipt
pretty_to_kicadpcb.py (3.7 KB)
the input folder needs to end with .pretty
it will add the library name to each component so you can use the “update footprints” option in PCBnew
if this is useable for other purposes it might make sense to add to the kicad-library-utils repo? (@SchrodingersGat)

5 Likes

Hey everybody I got in touch with Freecad main librarian and he agreed to relicense all his models to be compatible with the KiCad library. Also he is going to discuss with the rest of their team regarding relicensing the complete FreeCAD-library.
I have started to pick out which models are useful for us and are aligning and scaling them :slight_smile: This one of from FreeCAD-library (I changed the length of the button to make the 3 variations) A PR to our lib has been made :slight_smile:

Also a PR has been made for the new scripted radial capacitor models

8 Likes

Nice to see that also FC library will have the same license for 3D models! Thx @Shack for your great work!
Maurice :smile:

1 Like

indeed :smiley: you welcome and you too :slight_smile:

Hey guys :slight_smile: the last part of the Capacitors_THT library has now been ported to CQ and a PR has been made for the offical libs. in case some are not aware a new 3D model repo has been made which is gonna replace the old one. The new repo only accepts correctly scaled WRL/STEP pairs, and with the proper material properties for WRL. This means we have the biggest baddest library out there for both realistic renderings and mechanical integration! how awesome is that.
amongst other these libraries has already been fully ported to the new library:

  • Resistors_SMD (single and arrays)
  • Capacitors_SMD
  • Capacitors_Tantalum_SMD
  • Capacitors_THT
  • Displays
  • Housings_BGA
  • Housings_DFN_QFN
  • Housings_DIP
  • Housings_QFP
  • Housings_SOIC
  • Housings_SON
  • Housings_SSOP
  • Pin_Headers
  • TO_SOT_Packages_SMD

please note these one were only the ones FULLY ported, alot more models have been made (almost 2000)

Thank you everyone for this great accomplishment!
and a huge thanks to @maui for the generator framework and Stepup tool, which made this change possible :slight_smile:

5 Likes


Very nice models … CQ script Kudos :smiley:

3 Likes

@maui @Shack

First off, thanks for the awesome work you have done so far!

I’ve been looking for TSOP2-50 model, but I’ve been unable to locate one. Since you seem proceduraly generate your models, and the similarities between TSOP and TSOP2, is there any chance you could generate one (or the whole 24,28,32,40,44,50,54,66 series) ?

I’m sure that requesting models isn’t appreciated (trust me, I’m very grateful for the work you have put in already), and I wouldn’t do it if I didn’t think it would be quite quick for you to do.

@slowcoder glad to know it’s being used :smiley: do you have a datasheet link? and are the footprints in the official library? If you can add the footprints Ill happily make all the models.
Or in case you would like to learn how to generate them I can help you along :slight_smile:

3 Likes

Thank you for getting back!

I’d love to be able to generate them myself, but I (and I know this sounds like a cop-out) simply don’t have the time. Heck, I don’t even have time to upstream the around 100 components and footprints I’ve made…

The datasheet for the component I’m using (TSOP2-50 package) can be found here: http://www.mouser.com/ds/2/198/42-45S16100H-837970.pdf
(Mechanical info on page 82)

The footprints are not in the official library, but I’ve made them and uploaded them here:
https://drive.google.com/drive/folders/0B1AbzHECibC4dlB0THFmUHZwU1k?usp=sharing
( TSOP2-44 and TSOP2-50 )

If you want to use the footprints and add them to the official library, you have my blessing.

here you go :slight_smile:
TSOP2-50.FCStd (115.4 KB)
TSOP2-50.wrl (334.5 KB)
TSOP2-50.step (1.3 MB)
in case you find time I think you should consider adding them to the official library :slight_smile:
BTW I dont mind requests for stuff I know how to make. I do it all the time (but mainly for features), worst case you get a no. But most people here are really helpful :slight_smile:

I finally got to try out Maui’s StepUp tool for FreeCad and I must say it works very well - thanks so much for the efforts! I have been testing the nightly release in a VM, and found that KiCad’s native STEP file export of a board requires that the .STEP/.STP file, not the wrl file must be specified as 3D model in KiCad, if wrl model is specified as in the repository it will not look for the step model with the same base name, and a blank board export is the result. It should have been as in StepUp which will substitute the wrl model for the STEP model. (I have made a note on Lauchpad about this). I do think the installation instructions for StepUp could be better - specify exactly which files at minimum are required to go in which folder. I found this information in a comment to a StepUp video tutorial. I was also a little confused about which program Stepup was installed for… Once known it is very simple though. Stepup also works with the 4.06 version which is another advantage although I am getting more and more tempted to use a nightly for my main installation…

@shack, thank you so much!

The models worked perfectly, and now every component on my board have a corresponding 3D model. This is largely you guys hard work that made it possible (several of your other models on there as well).

If I get some down-time, I’ll try to add my stuff to the official libraries as well. What’s the procedure? PR on Github is all that I need to do? Do all footprints need a 3D model, or is it okay with component+footprint ?

Glad it worked out :slight_smile:
The slightly tricky part of adding the footprint is it needs to follow the Kicad Library Convention or KLC


It might seen overwhelming when you try to read it but if you make a PR the automated script will guide you a bit and also the librarians will help you :slight_smile:
All footprints must reference a 3D model by the same name, but you dont need to add a model at the same time :slight_smile:

thx :smiley:

cause your not alone there, it seems I have not done a good job in documenting :stuck_out_tongue:
Would you mind to write down few simple line to explain the process from a user point of view?
I would be very glad to add those to the StepUp help :smiley:
Thx for your collaboration
Maurice

I do not think I am qualified for that yet, as I am just started trying to learn FreeCad and also only installed the essential StepUp tool, not the other routines. As I am on Windows I have no idea where files are going if you are using a Linux flavor etc.

It is essential to state that the KiCad Stepup tool actually is installed for FreeCad and will import footprints, align 3D model to footprints, export STEP and WRL models and reimport freecad PCB files and allow creation of STEP models of the Pcbnew file, all from the same Stepup tool within FreeCad. (It was the latter part that I missed to begin with and was looking for a file/script that would install in KiCad).

With windows 7 only the kicad-StepUp-tools.FCMacro file is needed and copied into the …\AppData\Roaming\FreeCAD\Macro folder under the user’s home folder. Also I copied the kicad-StepUp-icon.png and kicadStepUp-starter-Guide.pdf to the same folder although strictly not needed. I used the icon for a toolbar shortcut. The manual for KiCad Stepup provides a link to the description on how to do that.

I have not even begun to look at the scripting stuff, so that is still a mystery to me.

It seems to me that FreeCad is a lot more developed than the version no. would indicate, it is already quite impressive. Against advice on the FreeCad help pages I went straight for the devloper version, 0.17. Although documentation is for ver. 0.16, some of the routines for positioning and rotating objects seem to have been radically improved, although sometimes a bit glitchy. There is also much more structure in tre-view/combo view under ver. 0.17. No need to learn old routines just to soon have to relearn it.

Regarding the theme of this thread, as I understand only the nightlies will download the STEP files to a local store. I found a lot, but it is a bit unclear to me how much of the models are now in the official repository, and how much one would need to download from separate githubs/links earlier in this thread?