My toolbar does not match the one shown in manual under section 12.4 Top Toolbar in Footprint Editor. As a new user, I can’t post two images in one post to show the comparison. I’m missing the “create new library and save footprint in it” button and a few others.
Have you clicked the file menu?
Or right clicked onto the tree view?
Like explained in the “how to make a new symbol library” section that is specifically linked in the 5.1 section of the “how to make a new footprint library” post? (Yes i took the easy way out as these tools are now similar enough to not really need a separate tutorial)
Edit: I now updated my tutorials with screenshots from 5.1 in the relevant sections.
I’ve created the footprint and I’ve aqdded a VRML file of the part associated with it. I had added the footprint to the board already so I’m adding the VRML file as I finally go finished modeling the component. I can see the component in the 3D viewer of the footprint editor and it seems like everything is configured properly.
I do note that when setting up the Preferences>Configure Paths when I navigate to the part folder I created, when I try to add the VRML file, it doesn’t see it in the folder and I can’t select it. The VRML file is there in the lower left window, but the Select Path window from the Configure Paths window doesn’t see it.
You seem to have updated the footprint already (presuming you selected the right options for updating). Make sure you have Show THT selected in the 3D viewer preferences (and the footprint configured as THT in its own properties).
“Update footprints” option there means changing footprints after re-assigning different footprints to symbols, i.e. after footprint names in symbols are changed. The UI texts are unclear and the checkbox option doesn’t even have a tooltip. Only “Update Footprints from Library” dialog updates modified footprint files.
Not that I’ve found. I have a similar issue with resistors. I have a collection of resistor models that have the correct color bands for the value, but so far all I’ve been able to figure out is to manually (or write a script that I haven’t done yet) select the correct resistor model based on the value.
I’ll certainly be paying attention to see if you or someone else comes up with a solution.
a (dirty hack) workaround is to set x,y,z scale to zero for the 3d models not to be displayed … this should work fine on v5
But the solution would be to add a new optionally field ‘opacity’ to models
and here the code to be changed/added on footprints
It could be something to be added only when opacity value less than 100% would be present …
this would break back compatibility but ONLY if transparency is applied (opacity less than 100%).
No need to change all the footprint libraries
This could be solved with a bit of scripting. As 5.1 has an API to modify 3D models in pcbnew. Footprint should have base 3D model defined. Once you are in pcbnew you could run a script which would:
scan through all the footprints and find only the specific footprints
add different colored 3D models (colored rings, colored caps) acording to the value. It could also chage the 3D moxel with a colored one. If value is not available directly from pcbnew parsing the .sch files would be necessary.
You would need different script for each different footprint(5mm LED, 3mm LED, 1/4W THT resistor, …)
Or a script that works on a pre-defined set of different footprints and chooses the correct 3D model based on which footprint and value is used on a component ref’d that starts with R.
Such a script could also be adapted for the OP’s use case. Unfortunately for the OP and me, I don’t have current plans to write such a script. My (current) usage is low enough that modifying by hand isn’t that big of a problem.
If you prepare vrml and step models for colored rings for THT resistors from the official KiCad library and a test project I can put this on my backlog. But it might take some time before it will be finished, as I have a couple of high(er) priority issues to solve regarding my plugins.