Every footprint has a field for the 3D module.
This field must contain the path to the 3D model.
The path can be absolute or relative.
The path can contain environment variables or not.
Check the paths to the 3D modules of your footprints.
In the picture you can see the 3d field of a footprint with a relative path to the 3d module.
Thank you for your reply, pedro.
Is that GUI something that I do in “PCB layout editor” (pcbnew), or is it something that I do in “Footprint library editor” ? or somewhere else?
If you open the footprints properties of the footprint in the layout, you will modify the path for this single footprint in this single project.
If you modify the footprint in library, changes will be available for future projects.
After modifying the library, the footprints in the layout must be updated.
So I gather that if I close this project whose PCB is open in pcbnew, and open the footprint library editor with no project selected, then I can add, for each library part used, a 3D model by clicking on the 3D-Settings tab as you have shown, and then clicking the [Add 3D Shape] button ?
I will try to do that next.
After modifying the library, the footprints in the layout must be updated.
Is there anything special [other than closing the footprint library editor and opening the PCB file w/ pcbnew] I need to do to make that happen?
Since BuildElectronicCircuit’s first demo. project uses only
a resistor, and LED, and a battery, I think I might try that one first Quickstart Intro. to KiCAD
Check the following reply that I posted on another thread:
I go through a detailed procedure for upgrading from V4 to V5. I think the problem you are encountering is due to the fact that once a footprint is placed in a board file, the libraries are ignored. The placed footprint is now embedded in the board file. This allows lots of latitude, like making subtle changes to the footprint in the board w/o having to change your libraries. But, that means that if you update the library the footprint in the board won’t see the library changes. Because the 3D object found by a pointer parameter in the footprint, updating all your libraries to V5 won’t magically point the footprints in your existing board to the new 3D libraries.
I think in my procedure steps 12.2 and 12.6 should help you get the 3D object pointer parameters pointing to the modern V5 libraries. As I warn in 12.6 you may need to find some new (or extract old from a backup of the V4 3D libraries) models.
You may want to read through the full procedure to make sure you haven’t missed a step along the way.
Yes, SembazuruCDE, I had already scanned your post to tdarlic starting Aug. 26th. Thank you for interjecting again to remind me. I will re-read your sensible upgrade process you posted there and see if I can discern what applies to me.
I started over again anew in eeschema 5.0.0 from the youtube-video by BuildElectronicCircuits.
So I will follow your instructions to tdarlic. I will post back when if or when I get stuck or if I need to ask further questions to clarify my understanding of kicad 5.0.0
Hello,
I made a short video to show how I upgraded my Kicad project from version 4 to version 5 : here
It is in French but I hope that the images are quite explicit and will allow you to upgrade your own files.
Christian
In pcbnew, I clicked on the LED, R-clicked on “Properties” in the dialog box, chose the “3D Settings” tab. Then I clicked on the filename LED_THT.pretty under the /modules folder.
I selected LED_D3mm-3.kicad_mod, and double-clicked the OK button.
Now three lines appear for this part in the dialog box with the name “3D Shape Name”
(KISYS3DMOD)/LED_THT.3dshapes`/LED_D3.0mm_IRGrey.wrt
/usr/share/kicad/modules/LED_THT.pretty/LED_D3.0mm-3.kicad_mod
/usr/share/kicad/modules/LED_THT.pretty/LED_D3.0mm-3.kicad_mod
However, when I rotate the part using the 3D part viewer on the “3D Settings” tab of the “Footprint Properties” dialog box, I see only the two plated-through-holes in the PCB for the LED, but not the LED itself.
Looking at the board with the View…3D Viewer in pcbnew confirms this to be the case–the two LED plated-through-holes look great, but no LED shape appears.
Does this file actually exists in your hard disk?
Do you know the value of KISYS3DMOD?
Also, who added these lines to the LED_D3.0mm_IRGrey.kicad_mod file?
/usr/share/kicad/modules/LED_THT.pretty/LED_D3.0mm-3.kicad_mod
/usr/share/kicad/modules/LED_THT.pretty/LED_D3.0mm-3.kicad_mod
What you need is the path, absolute or relative, to the file LED_D3.0mm_IRGrey.wrl
Is that back tick actually in your settings, or is that a typo? AFAIK there shouldn’t be a back tick in any of the KISYS3DMOD 3D symbol paths.
There should also be a dollar sign starting the path and the last character of the extension should be a lower case “L”, not a lower case “T”…
This is probably what you want (feel free to delete the other two and copy-paste this using the “Edit Filename” button of the footprint properties): ${KISYS3DMOD}/LED_THT.3dshapes/LED_D3.0mm_IRGrey.wrl
Yes, I am sorry. The backtick is a typo. The actual three lines are:
${KISYS3DMOD}/LED_THT.3dshapes/LED_D3.0mm_IRGrey.wrl
/usr/share/kicad/modules/LED_THT.pretty/LED_D3.0mm-3.kicad_mod
/usr/share/kicad/modules/LED_THT.pretty/LED_D3.0mm-3.kicad_mod
Okay, Pedro, I just deleted the second two lines, ending in .kicad_mod, and saved the file. However, that didn’t make a difference. I still don’t see the LED. What did I neglect to do?
The syntax for using path variables is ${variable name} (The brases and $ are essential here. They tell kicad that it is a variable)
These variables are set in the kicad main window -> preferences -> configure paths (or similar. I have no access to kicad right now and work from memory)
In any KiCad window, look for “Configure Paths…” in the preferences menu. Look to see what path is configured to KISYS3DMOD and check to see that the path exists on your system. If it exists, check to see that LED_THT.3dshapes/LED_D3.0mm_IRGrey.wrl exists within that path.
If it doesn’t, you may not have installed the 3D objects.