Code Monkey home page Code Monkey logo

kicad-packages3d's Introduction

kicad-packages3d's People

Contributors

antoniovazquezblanco avatar asukiaaa avatar bdm310 avatar chmorgan avatar chschlue avatar cnieves1 avatar cylindric avatar dasfrank avatar duckle29 avatar easyw avatar evanshultz avatar ferdymercury avatar grob6000 avatar jeremysiebers avatar jkriege2 avatar maqifrnswa avatar misca1234 avatar myfreescalewebpage avatar ouinouin avatar penoud avatar poeschlr avatar resaj avatar schrodingersgat avatar serkanxselcuk avatar shackmeister avatar stambaughw avatar stoth avatar strombom avatar volkerti avatar whitequark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kicad-packages3d's Issues

SO-8 missing

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

Simultaneous support for v4 and v5

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.

ACDC/DCDC has some work needed

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

Scripts broken

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?

LED_SMD still missing

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 ;)

Nominal or max size

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?

Could you help me identify the name and source of this PushButton SMD

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
sw

Ublox 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?

Request barrel jack power connectors

Request barrel jack power socket connectors

  • 2.1, 2.5 mm (various barrel lengths?)
  • 0.7, 1.3, 1.6 mm ???
  • some have integrated rockers switches too :)

QFN not correctly named

Naming convention on exposed pads has changed. This has broken many models in the DFN QFN folder.

make install is called recursively if install folder is inside the source tree

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"

Geometry check

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:

  1. modify the following command checking script to give positive or negative results to travis
    checkBOPnoGui.py.zip

  2. 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:

  • is your 3D model made in a mechanical modeler?
  • have you submitted the source of the model (source file or script)?
  • have you submitted both STEP in scale 1:1 and wrl in scale 1:2.54?
  • are your 3D models aligned to the KiCad footprint?
  • is your WRL model using material properties?

Radial capacitors have no height

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?

DIP sockets confusion

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...

dipmodel

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.

main_generator.zip

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?

Resistor_SMD missing

Resistors_SMD was added in a8e37f6 and then removed in 39c93cd. What has happened? Was this intended? Should I ask the scripting guys to regenerate them?

Model organization for v5 release

@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:

  1. They are now split into separate directories based on pitch
  2. The naming is now _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!

3D models for Espressif modules

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.

  1. Incomplete data on dimensions in datasheet.
  2. Mapping graphics on top of a face in FreeCAD.
  3. How to properly extract dimensions data from Gerber files?

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.

wroom2-front_hr-copy-555x608

is there any way to put the above graphics and text onto my FreeCAD model?

kicad-esp-wroom-02

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

FreeCAD release to be used for generating models

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

wing pads on connectors

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?

Wish: Add component source reference in documentation

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.

Do we want to include the EP size in the 3d model names?

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.)

RFC add paragraph about contributing third party models

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.


Contribution of third party models.

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.)

License change from GPL with symbol exception to CC-BY-SA 4.0

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.

the file LED_D5.0mm.step behaves badly

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?

creo_nx

image 1: Attached screenshot showing creo and NX side by side

Error in README

... 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.

The compiled Kicad-pacakges3D library package should be split into multiple part files

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.

Capacitor_SMD outdated

As an example C_0805.wrl should now be called C_0805_2012Metric.wrl. Only happening to non polarized capacitors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.