kicad / kicad-packages3d Goto Github PK
View Code? Open in Web Editor NEWOfficial KiCad 3D model libraries for rendering and MCAD integration
Home Page: https://kicad.github.io/packages3d
License: Other
Official KiCad 3D model libraries for rendering and MCAD integration
Home Page: https://kicad.github.io/packages3d
License: Other
@DASFrank @Shackmeister @easyw @jkriege2
The new footprints repository is well under way and we have now split this repository off from the legacy 3D models in the kicad-library repo.
To this end, the amazing models that you 3D wizards have scripted need to be re-jigged to match the new directory and naming structure.
The first example I can think of is the PinHeaders. Two major changes:
_Px.xxmm
instead of _Pitchx.xxmm
Can you please rebuild these models if that needs to be done, or simple shuffle them around and rename them :)
Our new libs are going to be great! The 3D models are especially awesome!
I have made a FreeCAD/CadQuery script for generating turned pin DIP-socket models but are somewhat confused of how to contribute since there are currently two folders for them. One is "Sockets_DIP.3dshapes" - this contains 3d models for the chip housings not sockets - all obsolete? The second is "Housings_DIP.3dshapes", the corresponding footprints already has a model filename added but no corresponding model file. Which is the correct one to update?
I have used drawings from TE Connectivity as a rough basis for the models, there are many variants available so should the maufacturer name be added to the model name? Or should I just keep the models for myself? They add up to 40MB+ (FCStd, WRL and step files), this likely because I am a beginner in 3D design and FreeCAD makes my brain hurt...
Attached is my script as it is currently - it needs some tuning but I have got the one socket I wanted so I do not want to spend more time until I know if the models are of use.
Finally a thought crossing my mind, should only the scripts be published for some of the more esoteric models so that end users must generate them themselves?
For example: KiCad/kicad-library#908
@jkriege2 are those models script generated? (looks like so) I think it would be a good idea to also add those models into this Repo.
I'm wondering how support for 3D models in KiCad 4 will be accomplished after v5 hits. There is a new monolithic footprints repo that it will use instead, and the individual repos used by v4 have been frozen. But, this repository appears to be planned for use in v5 as well.
The new KLC defines a new naming convention for many footprints, so the filenames between the old and new footprints may not be the same. As the filenames for the 3D models are required to match the footprints, they will have to be renamed here as well. But then, many of them will no longer show up in v4!
Admittedly, 3D models are more of a "nice thing to have" rather than something more critical like the footprints themselves, but still, they are a nice thing to have, and I'm sure there are many people out there who won't/can't upgrade for whatever reason.
@poeschlr
I don't see a corresponding PR here to match with KiCad/kicad-footprints#546. Am I missing it?
The Hirose parts in Connectors_FPC-FFC.pretty reference models which seem to be missing from this repository.
Eg.
https://github.com/KiCad/kicad-footprints/blob/master/Connector_FFC-FPC.pretty/Hirose_FH12-10S-0.5SH_1x10-1MP_P0.50mm_Horizontal.kicad_mod
Specifies
${KISYS3DMOD}/Connector_FFC-FPC.3dshapes/Hirose_FH12-10S-0.5SH_1x10-1MP_P0.50mm_Horizontal.wrl
which is nowhere to be found!
The old package contained 3D models of USB_A, USB_B and etc
Should we (until this repo is used by kicad) add the 3d models also to the normal kicad library repo?
They are in the old repo, any reason why they are not here?
Request for full size USB A and B connectors please :)
I could only find Micro and Mini B connectors.
This symbol should be placed 1mm backward.
In many Organizations, internet is accessed via a proxy server, which have a download limit on file size.
The Kicad-pacakges3D library package is very large in size, an so it fails to download through a proxy internet connection.
I had to download the package manually and install it.
To avoid the above problem, the Kicad-pacakges3D library package can be split into multiple files of 100MB and put into the repository.
Kindly advise.
Naming convention on exposed pads has changed. This has broken many models in the DFN QFN folder.
Hi,
The 3D shape of Capacitor_SMD needs to be Z rotated by 180° to get correct orientation.
Daniel
Footprints from the TerminalBlock_Phoenix lib are missing their 3D models.
questions for anybody with a knowledge about license (@easyw @poeschlr @SchrodingersGat )
Perhaps the Ublox commiters can answer this themselves (@mazgch @stefanobianconi @uBloXAE @fredrikbrodjeublox)
I was looking at the Ublox models provided at https://github.com/u-blox/3D-Step-Models-Library
The readme says the following:
Copyright (C) u-blox
u-blox reserves all rights in this deliverable (documentation, software, etc., hereafter “Deliverable”).
u-blox grants you the right to use, copy, modify and distribute the Deliverable provided hereunder for any purpose without fee.
THIS DELIVERABLE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR U-BLOX MAKES ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS DELIVERABLE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
In case you provide us a feedback or make a contribution in the form of a further development of the Deliverable (“Contribution”), u-blox will have the same rights as granted to you, namely to use, copy, modify and distribute the Contribution provided to us for any purpose without fee.
Is this enough for us (Kicad) to be allowed to relicense and redistribute these models in the Packages3D repository?
The file Resistor_THT.3dshapes\LED_D5.0mm.step behaves badly when exported to a step file form pcbnew. I have tested the generated file in following mCADs: Siemens NX, PTC Creo and Solidworks. I am still unable to pinpoint the problem actual as the original file works fine at least when tested in Creo. Replacing the file with a new STEP file, however fixes the problem.
I havent had time to debug the STEP file contents but seems like there is some problem with either the top dome or the cylindrical side. Now it is likely that the problem is in the exporter of Pcbnew. The exporter has other problems also as it is a bit sub optimal generating more sub assemblies than needed. However, changing the file eliminates this problem so might be worth doing?
image 1: Attached screenshot showing creo and NX side by side
Is there a reason that the radial capacitors have diameter and pitch, but no height? All seems to have the same length as diameter.
Example:
CP_Radial_D10.0mm_P3.50mm
The axial capacitors have diameter, pitch and length, example:
CP_Axial_L93.0mm_D29.0mm_P100.00mm_Horizontal
Is this by design or a mistake?
Hi, I wanted to contribute to this fabulous project. I have modeled this, switch: button SMD switch 3x6x2.5mm, this modeled in FreeCAD, in one piece, they are already in step format and wrl with vrld materials, I know I have to upload the source file in
kicad-packages3D-source. The problem is that apparently the switch is generic and I can not trace the source of origin, the switch is very evolved in web pages of electronica and very used. Could you help me identify the name and the source of it? Thank you
https://www.ebay.com/itm/15Pcs-3x6x2-5MM-Momentary-Tact-SMD-SMT-Push-Button-Micro-Switch-2-Pin/322918285966?epid=1462083428&hash=item4b2f6e028e:g:siUAAOSwyYFaIwi3
https://es.aliexpress.com/item/Free-Shipping-1000pcs-lot-Tactile-Push-Button-Switch-3x6x2-5mm-SMD-Tact-Switch-2-pins-micro/32216027178.html
Do we want to have multiple 3d models for different ep sizes or do we map all differing footprints to only one model?
(Currently most footprints only exist in one ep size. But i suspect that now that we have the size included in the name, a lot of contributions for more specialized footprints might be made.)
Edit: we might even want to map the ep version to the non ep versions. (might traumatically reduce the number of needed 3d models. Without much cost i think.)
Tantalum capacitors have been changed and splitted by Manufacturer. Need updating
Request for full size USB-C connectors :)
I could only find Micro and Mini B connectors.
As Wayne reported here, the potentiometer 3D models from 4.0 are all missing in the new library. I know that all the old models made with Wings had to be discarded, but many of those old potentiometer models were made with FreeCAD, so could probably still be salvaged.
As an example C_0805.wrl
should now be called C_0805_2012Metric.wrl
. Only happening to non polarized capacitors.
Hey, guys! I have started working on designing models, footprints and symbols for Espressif modules, which are used in most of the IOT projects today.
While designing, the models, i am facing some challenges, which i need help with.
For incomplete data, the datasheets provide at least the pad information and boundary dimensions.
The rest of the details, which are needed for detailed 3D modelling are missing.
is there any way to put the above graphics and text onto my FreeCAD model?
Some of the designs like antenna and holes on the pads had to be taken from Gerber files, by converting them to kicad_pcb and then measuring the dimensions using distance tool.
But, i think there might be a much easier way to do the same.
Above model is ESP-WROOM-02
SW_DIP_SPST models have been renamed in the footprint repo but not updated here.
Also, missing model for the 1 position component.
Hi,
Sorry poeschlr but I think this is an issue. KiCAD 5 is on it's way and Led_SMD is still missing. In the sources, there is only a freecad project file for the 1206 version.
I just want to be sure the community will have a Led_SMD folder when KiCAD 5 will be out.
Of course it's not a critical issue but it's still an issue.
Thanks ;)
Request D-SUB models
https://en.wikipedia.org/wiki/D-subminiature#Wire-contact_attachment_types
... I think:
"Model Scaling [...] WRL file format [...] KiCad normalizes model parameters to units of Inches,"
It seems to me that KiCad interprets wrl files as 1 wrl unit = 0.1 inch, not 1 inch.
Would be possible to add the references
eg: documents from original manufactors
where the models were based?
It could be a link URL to some examples of products that the models will apply.
This way I can compare and make sure I am selecting the right model for the component I will be using.
After commit 06d5db1 the generated install target will install all files within the source folder recursively if the target for the install is within the same folder.
This obviously the same issue that was happen in kicad-footprints and was finally fixed by kicad-footprints:PR #291.
So the fix is mostly trivial by doing some specification also like done or kicad-footprints.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ecfe89d..f98808b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,15 +41,18 @@ add_custom_target( uninstall
# Installed files.
#================================================
+# select .3dshapes directories
+file (GLOB 3DSHAPES_DIR "*.3dshapes")
+
# Install the contents of all of the .pretty folders in to the modules path.
-install( DIRECTORY ./
+install( DIRECTORY ${3DSHAPES_DIR}
DESTINATION ${KICAD_PACKAGES_3D}
COMPONENT resources
FILES_MATCHING PATTERN "*.wrl"
PATTERN ".git" EXCLUDE
)
-install( DIRECTORY ./
+install( DIRECTORY ${3DSHAPES_DIR}
DESTINATION ${KICAD_PACKAGES_3D}
COMPONENT resources
FILES_MATCHING PATTERN "*.step"
The README refers to https://github.com/easyw/kicad-3d-models-in-freecad as the model for how to add new 3d models to Kicad library. The scripts in that repository are all broken and do not work out of the box. The Documentation is misleading and the scripts it refers to don't even exist.
Is that repository actually the best resource for adding new 3D Models to KiCad default libraries?
Request barrel jack power socket connectors
Hi,
if FreeCAD (release 0.17 > 12703) can be included in travis checking chain, it would be possible to check geometry of STEP models in an automatic way:
modify the following command checking script to give positive or negative results to travis
checkBOPnoGui.py.zip
launch the following command to run the checking in command mode (without the need of a gui)
freecadcmd checkBOPnoGui.py "full_path_to_STEP_file/resistor-wrong-BOP.step"
or in linux
freecadcmd-daily checkBOPnoGui.py "full_path_to_STEP_file/resistor-wrong-BOP.step"
Here a wrong STEP model to test:
resistor-wrong-BOP.zip
It would be possible then to put some checking at the PR template like:
Just a question regarding 3D models:
Should we use nominal or maximum dimensions?
For example, if height of a component is specified to 10+-1 mm, should I make the component 10 mm or 11 mm high in the model?
Just relying this from irc:
https://i.imgur.com/IjHrLKj.png
I have no system to recheck this at the moment. If it's a problem with old and new library use at the same time please simply close.
footprint Package_SO.pretty/SO-8_5.3x6.2mm_P1.27mm.kicad_mod refers to
(model ${KISYS3DMOD}/Package_SO.3dshapes/SO-8_5.3x6.2mm_P1.27mm.wrl
which is missing in kicad-packages3D
Hello contributors. Hello @SchrodingersGat.
The kicad developers have now decided on what license they want the libraries to use.
A change of license requires every contributor to agree to this change. (I also feel moraly bound to ask if it is ok to change the license.)
So without further useless talk: Is it ok for you guys that the license changes.
@Misca1234 is it possible that the contributions made by you are shown as made by @stoth? Is this a second accound of yours that shares an email? Or is this a different persons accound and github screws up somehow.
Similarly @Shackmeister it seems the contributions made by you are listed as made by @DASFrank
As far as i can tell if @easyw, @jkriege2, @Misca1234, @Shackmeister, @SchrodingersGat, @patricklaf and @maqifrnswa agree we are golden here.
We get some pull requests and messages about adding models downloaded from a manufacturer.
There is even one message that is accompanied with an email allowing the sharing of these models.
But the mail does not state that the models can be licensed under our repo license terms. (Would mean we can not include the models.)
To communicate more clearly what we require for a model to be added i would add a paragraph either to the Readme or contributing wiki page.
Contributing to this lib generally requires that the person committing the files is the current license holder. (Easiest way: The contributor created the models.)
Sometimes it is tempting to contribute models of a third party. (Example a manufacturer supplied model)
In most cases these models are licensed under an incompatible license.
To accept such models we need the explicit consent by the current license holder that the models will be licensed under the license of our library. (GPLv3 with symbol exception.)
Not sure if this belong here or on the forum, let me know if its inappropriate here.
How are people handling connecting the wing pads on connectors to different nets (typically GND)?
usually I just edit the pads and add the net I want, but this is lost when updating the netlist, which usually makes me forget to change some of the 20ish pads. Unless somebody has a good way, we should maybe consider making a standard padnumber for these. This way the user could use a symbol with or without the wings depending on the nescessity.
Thoughts?
Probably a simple question but I couldn't find the answer in the usual places:
http://kicad-pcb.org/libraries/contribute/
https://github.com/KiCad/kicad-packages3D/wiki/Contributing
Why do we want to have the models unioned before exporting to STEP?
-Thanks!
Hi,
since FC0.17 is still under heavy development in the STEP field and it is adding some almost hidden bugs, I would suggest to use the latest FC0.16 6710 release version to create the 3D models with the scripts.
For ubuntu just use the right repo to obtain FC0.16 6710;
for windows I have uploaded a release of FC0.16 6710 at this link:
FreeCAD_0.16.6710-x64_dev_win_rc1.7z
Currently the ACDC and DCDC models are inside Converters_DCDC_ACDC.3dshapes
in the renaming process the two converter types, has been split in to 2 new libraries:
Converter_ACDC.pretty
and
Converter_DCDC.pretty
a minor renaming is also needed since _XX was changed to _xx
would you @Misca1234 perhaps have time to look into this?
if possible also add the new geometry check to the script
between 2 commits the LED_SMD.3dshapes (and models inside) folder has been removed. I can't really figure why it went missing..
can somebody perhaps point it out?
@poeschlr @evanshultz @easyw @jkriege2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.