kicad-3d-models-in-freecad
kicad-3d-models-in-freecad copied to clipboard
Scripts you want made
Hoping I could contribute some additional scripts. Promise to be tidier than the IDC headers this time! Let me know what you need next and I'll have a crack. Otherwise will be doing one to generate some TO92s (which were missing from my last project...).
Hi, thx a lot for your contribution! TO92s is fine though! We are missing also TH resistors if you want to go with... Thx 😸 Maurice
Resistors it is. Starting now. Using pin headers as example as this seems to have a good config setup system!
On Fri, 13 Oct 2017 at 02:55, easyw [email protected] wrote:
Hi, thx a lot for your contribution! TO92s is fine though! We are missing also TH resistors if you want to go with... Thx 😸 Maurice
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easyw/kicad-3d-models-in-freecad/issues/112#issuecomment-336181868, or mute the thread https://github.com/notifications/unsubscribe-auth/AIGyhOjWvfM5hNZO7TGdcjJtj3I9Jxl8ks5srjZigaJpZM4P05mY .
Things I would like to see: SMD Inductors!! WE_MAPI especially :) THT TO_SOT packages THT reisistors THT LEDs Pin Sockets JST_GH connector Molex Clikmate connectors Molex Duraclik connectors AC/DC and DC/DC converters Relays SMD andT LDR resistors Terminal blocks Dip switches, SMD and THT SMD crystals and Oscilattors
A small note, Jan has made a few of these using freecad and then using a script to change the parameters. The problem with these scripts are that the WRL scaling is wrong, the WRL material properties are wrong, and it cannot generate a STEP file without the fusion :) I went over all the capacitors and simply rewrote the script to cadquery framework, was the easiest way IMO
and it cannot generate a STEP file without the fusion
for THT resistors there is also a small problem with the Sketch not fully constrained that will generate a wrong STEP file
Wasn't that with Kammutierspules resistors?
not only... I made only few test with TH resistors, but if you open the STEP exported i.e. in Varicad, you will see the errors... i.e. the R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal.FCStd PS it is always useful to check STEP models not only in FC but also in DesignSparkMechanical or Varicad or even in CadAssistance of Open Cascades
Should be ported to cadquery anyway :p
@grob6000 are you working on the THT resistors?
I have been, have a script that makes a reasonable-looking version of most of them now. Slightly simplified relative to the original WRLs but I'm not sure whether that might be a good thing. Robust discussion welcome! :)
It doesn't do the arrays yet, and I haven't verified some of the parameters properly (likely should reference a datasheet for each size; used Vishay for some things already).
See https://github.com/grob6000/kicad-3d-models-in-freecad/tree/resistors_tht
On 21 October 2017 at 08:28, Frank Severinsen [email protected] wrote:
@grob6000 https://github.com/grob6000 are you working on the THT resistors?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/easyw/kicad-3d-models-in-freecad/issues/112#issuecomment-338326601, or mute the thread https://github.com/notifications/unsubscribe-auth/AIGyhJOIxturvUaJJrMWOiUYpd9sPPvjks5suRBtgaJpZM4P05mY .
very nice though!
It would be possible to add a fillet like in this picture?
and if I remember correctly Mario suggested "light brown body" as color for resistors wrl materials
Awesome :) ill be digging into the SMD inductors soon :)
Brown it is, and I’ll put the fillet in. :)
On 21 Oct 2017, at 11:24, Frank Severinsen [email protected] wrote:
Awesome :) ill be digging into the SMD inductors soon :)
― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I haven't verified some of the parameters properly
if you want to easily check the model over its footprint you can add some code to load the fp in FC while generating the model. Please have a look at i.e BGA generator ...
@Shackmeister you mentioned DIP switches above. As I have just made a script for DIP sockets and since I am a newbie to pyton I wanted to learn more about the language. I am in the process of recoding my script to utilize object oriented programming and I have started to add other DIP parts as "part" objects to verify my approach, the first beeing slide type DIP switches. As these has text/numbers on the body (ON and switch number) I wonder if anyone has successfully added text to the body via CadQuery and if so how and which font to use. Or should the text be left out to reduce file size?
@terjeio That is really nice looking! is it made for the Kicad footprints? I havent made anything with text on the model, also adds too much size for my taste. You could consider making a small triangle for pin 1 and leave it like that :) Make sure to upload the models to the Kicad Library when you are finished :D can you also make the SMD version? :)
@Shackmeister It is for the Kicad footprints and I have a SMD version in the pipeline. Triangle it will be and I am going to upload when I am happy with the script.
@Shackmeister During QC of my footprints I see that the THT DIP-sockets has different models assigned for "normal" version and LongPads version. Maybe I am a bit thick but aren't the models supposed to be the same? If not what are the (physical) differences?
I strongly believe both should refer to the same model ("normal"). I noticed the kicad-library is still containing the old wings models. Can you please make sure both are up to date and has all the "possible" models?
I see that the footprints are already updated - I need to update more often... I now have 126 models ready for review, next step is to learn how to make a PR.
You should always update footprints before adding models :) would you like some tips on the kicad PR? Or is it the git stuff in general which is trouble some? :)
BTW those models look really sweet! Keep up the good stuff!
Oh, it seems that we have made the same work in parallel without knowing each other work, i just pushed some 3D models for DIP switched SMD https://github.com/KiCad/kicad-packages3D/pull/151
Fell free to overwrite mine
@Shackmeister About the THT LEDs, in kicad-library there are extensive amount of .wrl files for THT Leds, but they have not been copied to the package3D repository
A couple are made in wings but they are few
@misca1234 these are made by Jan with a Freecad script but not CQ.. For this reason they don't make step models, correctly scaled WRL or step models at all... My take for the caps made by him was simply to rewrite them to CQ. After this I modified his footprint generator to output the correct parameters
Ok
FYI, so we don't get efforts made in parallel, I am currently fixing 3D models for Coverters_ACDC_DCDC
And I am working on socket strips - coding is nearly finished, need to verify parameters.
wow ... what a great MCAD team we are getting! Thanks all for your great job! Maurice
Great job guys! @terjeio I did a pretty big overhaul of the pinheader footprints, can you have a look at the socket strips footprints or should I? Also we should prepare ourself for people going apesh*t if we add 2000 models more for the socket strips
@Shackmeister I believe I have the code ready for the socket strips now, but need to fine tune pin-parameters. A previous test run generated over 1GB...
What to do about the footprints for these? They have model-parametes (offset and rotation) incompatible with StepUp and there are many. Do you know if they have been generated by a script that could be rerun?
Another example, too much details?...
...maybe not, your pin headers folder is 1.4GB.
any kind of rotation, scaling or offset should be done in the 3D mode, not the footprint! they should always be 111 for scaling, 000 for rotation and 000 for offset. I love the high detail level, I think we should deal with the size issue in another way than cutting down the quality.
footprint script can be found here, please let me know if you need some help :) https://github.com/pointhi/kicad-footprint-generator/tree/master/scripts/pin-headers_socket-strips the footprints will probably need some adjustment. but its much easier to use to change the wrong scalings