@Joan_Sparky
FreeCAD has the ability to script also without the GUI…
I’ve done all my script with the GUI because I like to see what I’m building…
Now I’m planning to build the repo with STEP and VRML models…
I need to plan a structure for that…
may be, as you suggested, it could be nice to have also KCFP, so the lib could be loaded smoothly…
Just one more note:could it possible to have the 3D STEP models without the text on the model itself?
That would give a smaller (in bites) model…
Maurice
Nice read, thanks.
I think I’m down to 2 choices here, both licenses are ‘Free’.
They got uppercase/lowercase letters, are readable and taller than wide.
[edit]
not getting the ‘blank’ one working in inventor, shows up fine in office… otf doesn’t work it seems, tried another font as the ua-squared doesn’t read well. But see for yourself: SOT89-5_julius.stp (286.7 KB) SOT89-5_uasqrd.stp (230.4 KB)
@Joan_Sparky
they are great!
I’m going to open a new thread for a 3D mechanical lib!
I think we would need:
STEP model 1:1 no text on it (3Dmodel_name.step)
STEP model 1:1 with text on it (3Dmodel_name_L.step)
VRML model scaled 1/2.54 (I will provide it)
footprint to the 3D model (KCFP)
then it will be possible to build a lib to put beside the kicad official distributed one, to let people easily convert to mechanical model board and parts, maintaining the usual way of working with kicad!
I’m going to arrange the structure and I will update you.
need to work out another way/order of creating the pins/housing… it’s a PITA to turn the housing 90 deg for the TOP version at the moment.
Still, doing those 4 parametric models (means, I can do 2 pole - 20 pole just by clicking and exporting) took the same time as taking 2 STEP models from the phoenix website for their PTSM 2.5mm series and aligning/modding them for KiCAD:
There’s a very simple (and limited) VRML2 rescaling tool in my VRML tool set https://github.com/cbernardo/kicad3Dmodels). The tool is ‘vrmlstitch’; it was intended to create an assembly of VRML2 models which could be used within kicad by avoiding the use of VRML features which were not correctly supported by kicad at the time. An example input file which takes a file ‘model.wrl’, and scales it by 0.3939 to produce a file ‘test.wrl’ is shown below. Running the tool with no arguments shows the usage hint.
SOD123.stp (240.2 KB) SOD123F.stp (222.3 KB) SOD323.stp (254.0 KB) SOD323F.stp (243.3 KB) SOD523.stp (223.6 KB)
SOD523 is essentially a SOD523F… there is no extra flat package, it’s already designed like one.
Hm… looking at the size of your SMC (180.5KB) without text vs my SMC (206.1KB) with text… I don’t see the point of doing them without text really
So, back to my schematic/layout with some intermezzo in python… let’s see if I can get that embedded thing working for freecad… the number of 3d models is growing and I def wont enjoy converting them to VRML manually.