Hi, after many years I’m exploring KiCAD again.
I’ve created schematic and PCB, but in the 3D view I cannot see 3D models. I’ve found out that the default footprint name for example of LED is:
LEDs:LED_0402
And the default 3D model path is:
${KISYS3DMOD}/LEDs.3dshapes/LED_0402.wrl
(first post, so I’m allowed to put only a single image, so I’ll copy console outputs)
But in the directory where where the environment ${KISYS3DMOD}/LEDs.3dshapes/
leads to have the folders differrent name in singular LED
instead of LEDs
. Did the naming changed in some version, what is the right naming convention and where could I download the right packages3d
folder to manually fix this?
If I manually rename those folders and also names, the model appears.But this is not solution me to rename all the models.
Here is the package3d folder:
root@hpnix:/usr/share/kicad/modules/packages3d# ls
Battery.3dshapes Connector_Pin.3dshapes Display_7Segment.3dshapes Package_SON.3dshapes
Button_Switch_SMD.3dshapes Connector_PinHeader_1.00mm.3dshapes Ferrite_THT.3dshapes Package_TO_SOT_SMD.3dshapes
Button_Switch_THT.3dshapes Connector_PinHeader_1.27mm.3dshapes Filter.3dshapes Package_TO_SOT_THT.3dshapes
Buzzer_Beeper.3dshapes Connector_PinHeader_2.00mm.3dshapes Fuse.3dshapes Potentiometer_SMD.3dshapes
Capacitor_SMD.3dshapes Connector_PinHeader_2.54mm.3dshapes Heatsink.3dshapes Potentiometer_THT.3dshapes
Capacitor_Tantalum_SMD.3dshapes Connector_PinSocket_1.00mm.3dshapes Inductor_SMD.3dshapes Relay_SMD.3dshapes
Capacitor_THT.3dshapes Connector_PinSocket_1.27mm.3dshapes Inductor_THT.3dshapes Relay_THT.3dshapes
Connector.3dshapes Connector_PinSocket_2.00mm.3dshapes LED_SMD.3dshapes Resistor_SMD.3dshapes
Connector_BarrelJack.3dshapes Connector_PinSocket_2.54mm.3dshapes LED_THT.3dshapes Resistor_THT.3dshapes
Connector_Card.3dshapes Connector_RJ.3dshapes Module.3dshapes RF_Module.3dshapes
Connector_Coaxial.3dshapes Connector_Samtec.3dshapes MountingEquipment.3dshapes Sensor.3dshapes
Connector_Dsub.3dshapes Connector_SATA_SAS.3dshapes OptoDevice.3dshapes Sensor_Audio.3dshapes
Connector_FFC-FPC.3dshapes Connector_Stocko.3dshapes Oscillator.3dshapes Sensor_Current.3dshapes
Connector_IDC.3dshapes Connector_USB.3dshapes Package_BGA.3dshapes Sensor_Pressure.3dshapes
Connector_JST.3dshapes Converter_ACDC.3dshapes Package_DFN_QFN.3dshapes TerminalBlock_Altech.3dshapes
Connector_Molex.3dshapes Converter_DCDC.3dshapes Package_DIP.3dshapes TestPoint.3dshapes
Connector_Phoenix_GMSTB.3dshapes Crystal.3dshapes Package_DirectFET.3dshapes Transformer_SMD.3dshapes
Connector_Phoenix_MC.3dshapes Diode_SMD.3dshapes Package_LGA.3dshapes Transformer_THT.3dshapes
Connector_Phoenix_MC_HighVoltage.3dshapes Diode_THT.3dshapes Package_QFP.3dshapes Valve.3dshapes
Connector_Phoenix_MSTB.3dshapes Display.3dshapes Package_SO.3dshapes Varistor.3dshapes
Also the models have completely different file name format:
root@hpnix:/usr/share/kicad/modules/packages3d/LED_SMD.3dshapes# ls
CREDITS.md LED_1206_3216Metric.wrl LED_2512_6332Metric_Castellated.wrl
LED_01005_0402Metric.step LED_1210_3225Metric_Castellated.step LED_2512_6332Metric.step
LED_01005_0402Metric.wrl LED_1210_3225Metric_Castellated.wrl LED_2512_6332Metric.wrl
LED_0201_0603Metric.step LED_1210_3225Metric.step LED_2816_7142Metric_Castellated.step
LED_0201_0603Metric.wrl LED_1210_3225Metric.wrl LED_2816_7142Metric_Castellated.wrl
LED_0402_1005Metric.step LED_1806_4516Metric_Castellated.step LED_2816_7142Metric.step
LED_0402_1005Metric.wrl LED_1806_4516Metric_Castellated.wrl LED_2816_7142Metric.wrl
LED_0603_1608Metric_Castellated.step LED_1806_4516Metric.step LED_Inolux_IN-PI554FCH_PLCC4_5.0x5.0mm_P3.2mm.step
LED_0603_1608Metric_Castellated.wrl LED_1806_4516Metric.wrl LED_Inolux_IN-PI554FCH_PLCC4_5.0x5.0mm_P3.2mm.wrl
LED_0603_1608Metric.step LED_1812_4532Metric_Castellated.step LED_RGB_5050-6.step
LED_0603_1608Metric.wrl LED_1812_4532Metric_Castellated.wrl LED_RGB_5050-6.wrl
LED_0805_2012Metric_Castellated.step LED_1812_4532Metric.step LED_SK6812_PLCC4_5.0x5.0mm_P3.2mm.step
LED_0805_2012Metric_Castellated.wrl LED_1812_4532Metric.wrl LED_SK6812_PLCC4_5.0x5.0mm_P3.2mm.wrl
LED_0805_2012Metric.step LED_2010_5025Metric_Castellated.step LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm.step
LED_0805_2012Metric.wrl LED_2010_5025Metric_Castellated.wrl LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm.wrl
LED_1206_3216Metric_Castellated.step LED_2010_5025Metric.step LED_WS2812_PLCC6_5.0x5.0mm_P1.6mm.step
LED_1206_3216Metric_Castellated.wrl LED_2010_5025Metric.wrl LED_WS2812_PLCC6_5.0x5.0mm_P1.6mm.wrl
LED_1206_3216Metric.step LED_2512_6332Metric_Castellated.step
I have Ubuntu 18.04LTS with kicad installed from this repository
hub@hpnix:~/Desktop/dev/kicad/test-bga/packages3d/Pin_Headers.3dshapes$ apt-cache showpkg kicad
Package: kicad
Versions:
5.1.5-202003271336+52549c5~86~ubuntu18.04.1 (/var/lib/apt/lists/ppa.launchpad.net_js-reynaud_kicad-5.1_ubuntu_dists_bionic_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Here is the configure paths dialog
Thanks for any tips!
Martin