-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripts you want made #112
Comments
Hi, |
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 ***@***.***> 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
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIGyhOjWvfM5hNZO7TGdcjJtj3I9Jxl8ks5srjZigaJpZM4P05mY>
.
|
Things I would like to see: 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 |
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... |
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 ***@***.***> 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
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIGyhJOIxturvUaJJrMWOiUYpd9sPPvjks5suRBtgaJpZM4P05mY>
.
|
very nice though! and if I remember correctly Mario suggested "light brown body" as color for resistors |
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 ***@***.***> 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.
|
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. |
@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? |
@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? |
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 Fell free to overwrite mine |
@Shackmeister 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 |
wow ... what a great MCAD team we are getting! |
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. footprint script can be found here, please let me know if you need some help :) |
@Shackmeister I think you misunderstand me, the footprints do not have standard values, for example: (model ${KISYS3DMOD}/Socket_Strips.3dshapes/Socket_Strip_Angled_2x31_Pitch2.00mm.wrl (model ${KISYS3DMOD}/Socket_Strips.3dshapes/Socket_Strip_Angled_1x20_Pitch2.00mm.wrl So, should I adjust the generated models accordingly or should the footprints be changed? I believe the footprints should be changed to comply with the standard convention. |
I didnt misunderstand you :) From here the 3D model should be fitted to the footprint |
Ok, the easiest way would be to rerun the script then. Should I do that and make a PR for the footprints also? Or is this something that the librarians takes care of? For the models: when a PR is merged for scripts who makes a PR for them? Maybe the workflow is described somewhere, but for now I am a bit overwhelmed by all the details surrounding this. |
If you can fix the footprints it would be awesome, if not I can probably fix it :) Once the librarian is satisfied the footprint and 3D models will be merged :) |
@Shackmeister @SchrodingersGat @poeschlr
you will find users complain also for missing footprints ... it is impossible to cover all users needs ... An interesting option would be to have a function to be called inside Kicad or pcbnew to create a full list of needed 3D parts for the user kicad project, then check automatically if those models are already in the users local 3D library and give an option to retrieve with a 'wget' process the missing models from kicad on-line library; finally the downloaded missing models would be placed automatically in the right local folder by the function itself. |
@easyw I couldn't agree more! My point was merely we should prepare :) |
I have been looking into this and it is a mess, the script you referred to has been changed, most likely after it was committed, and is broken. From what I can glean from the master footprints it is higly likely that a variant of this script has been used to generate the footprints since many matches exactly. I have managed to correct the scaling and rotation but there are other errors as well, for example: This is Socket_Strip_Straight_2x10_Pitch2.54mm_SMD.kicad_mod, as you can see the pads are overlapping. I do not think I want to try to fix the script as there are other changes as well, maybe the correct way forward is to raise an issue for the source? BTW the models are ready for review, I had to take most of the measurements from the footprints though as there are a zillion variants available. |
Wow guys. I wanted to congratulate you on the work done. 3D library is looking nicer every day. I miss FPC connector 3D models. Particularly Hirose FH12 series. I made a PR for a single connector footprint but I plan to submit an scripted generated version of the family when I find some time for investigating the footprint generation scripts. Thank you! |
@terjeio Nice models. I like the object oriented approach but first I will focus on learning how to script the footprints and in the future will take a look at 3D models ;) |
@terjeio your suggested extensions for cadquery might also be welcome by the cadquery project it self. |
Hi everyone, although I wanted to learn more about the 3D scripts you make guys I never found the time to do it. I am currently trying to help a little bit wih KiCad by organizing and improving the situation of the pending merges in the oficial repos. I am here to ask for some models that could help me save time at work that I can later invest on helping with more librarian tasks. Can anybody try and script I will try to review the models myself with the highest priority and will invest some more time solving more issues at the bug tracker ;). Thanks! |
For example, one place to start with is in directory you then feed Freecad with "main" python scripts ...../FreeCAD.exe main_generator.py series=90814
Allow me to try to fix them, give me a couple days |
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...).
The text was updated successfully, but these errors were encountered: