3D models are not displayed
Description
Since two days ago nigthly stopped displaying 3D models for me - nor any board I have neither any dialog displays 3D models.
Application: KiCad
Version: (5.99.0-9510-g2606ecc619), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.4.0-66-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon, x11
Build Info:
Date: Feb 27 2021 22:14:31
wxWidgets: 3.1.5 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.65.1
OCE: 6.9.1
Curl: 7.68.0
ngspice: 26
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCE=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON
Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- KiCad Bot added priorityundecided statusnew labels
added priorityundecided statusnew labels
- Maintainer
I can't reproduce this. @miceuz can you upload the smallest/simplest project you have which shows this?
Collapse replies Here it is.3D-bug.kicad_pcb.zip 3D wrl file was selected using file selection dialog in footprint selection dialog, but not shown nor in footprint properties dialog nor in board 3D view. Same for .step 3D-file
Edited by Sergey A. Borshch- Author
I can't see any 3D models anywhere - rendered on the board, when choosing a footprint in eeschema, when editing footprint 3D properties in pcbnew. While they are successfully exported to step file.
I am attaching a simple project, but I don't think it's project related. vacuumizer.zip
Edited by Albertas Mickenas
- Jeff Young added statusneed-info label and removed statusnew label
added statusneed-info label and removed statusnew label
- Jeff Young changed milestone to %6.0.0-rc1
changed milestone to %6.0.0-rc1
I can also reproduce this.
Application: KiCad PCB Editor Version: (5.99.0-9519-ga70106a3bd), release build Libraries: wxWidgets 3.0.5 libcurl/7.75.0 OpenSSL/1.1.1j zlib/1.2.11 zstd/1.4.8 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0 Platform: Linux 5.10.16-arch1-1 x86_64, 64 bit, Little endian, wxGTK, KDE, x11 Build Info: Date: Feb 28 2021 03:18:54 wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24 Boost: 1.75.0 OCC: 7.5.0 Curl: 7.75.0 ngspice: 33 Compiler: GCC 10.2.0 with C++ ABI 1014 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=ON KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON KICAD_SCRIPTING_ACTION_MENU=ON KICAD_USE_OCC=ON KICAD_SPICE=ON
- Owner
I can recreate this but only in release builds. Debug builds appear to work as expected.
Heh. Yep. I am definitely using a release build, probably most nightly users are.
I'm having this issue on a release build too (ubuntu PPA). It's not a model file path issue as far as I can see.
- Jeff Young removed statusneed-info label
removed statusneed-info label
- Jeff Young added priorityhigh statusconfirmed labels and removed priorityundecided statusnew labels
added priorityhigh statusconfirmed labels and removed priorityundecided statusnew labels
- David Robertson mentioned in issue #7741 (closed)
mentioned in issue #7741 (closed)
- Jeff Young marked #7741 (closed) as a duplicate of this issue
marked #7741 (closed) as a duplicate of this issue
- Jeff Young marked this issue as related to #7741 (closed)
marked this issue as related to #7741 (closed)
This isn't working for me in a debug build either. Also, it is broken no matter which of OCC/OCE I build with.
Collapse replies - Owner
Please post your KiCad version information
- Seth Hillbrand marked #7772 (closed) as a duplicate of this issue
marked #7772 (closed) as a duplicate of this issue
- Seth Hillbrand marked this issue as related to #7772 (closed)
marked this issue as related to #7772 (closed)
- Contributor
As far the reports (and mine) appear Linux release problem. Also for me started 2 days ago (I update the Nightly for test almost every day that I will use it).
Application: KiCad PCB Editor Version: 5.99.0-unknown-a70106a3bd~101~ubuntu20.04.1, release build Libraries: wxWidgets 3.0.4 libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 Platform: Linux 5.8.0-44-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu, x11 Build Info: Date: Feb 28 2021 15:20:41 wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24 Boost: 1.71.0 OCC: 7.3.0 Curl: 7.68.0 ngspice: 31 Compiler: GCC 9.3.0 with C++ ABI 1013 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=ON KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON KICAD_SCRIPTING_ACTION_MENU=ON KICAD_USE_OCC=ON KICAD_SPICE=ON
Edited by Hildo Guillardi Júnior Collapse replies - Owner
Would you be able to test a Debug build and see if it happens there?
Same in debug build:
Application: KiCad 3D Viewer Version: (5.99.0-9530-g5bc2285aef), debug build Libraries: wxWidgets 3.0.4 libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 Platform: Linux 5.4.0-65-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon, x11 Build Info: Date: Mar 1 2021 19:17:53 wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24 Boost: 1.71.0 Curl: 7.68.0 ngspice: 31 Compiler: GCC 9.3.0 with C++ ABI 1013 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=OFF KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON KICAD_SPICE=ON KICAD_STDLIB_DEBUG=OFF KICAD_STDLIB_LIGHT_DEBUG=OFF KICAD_SANITIZE=OFF
- Michael Kavanagh added pcbnew label
added pcbnew label
- jean-pierre charras closed with commit 35e6e55b
closed with commit 35e6e55b
- Jeff Young added statusfix-committed label and removed statusconfirmed label
added statusfix-committed label and removed statusconfirmed label
Today's git head. Still no 3D models in any view. Unfortunately I can't reopen this report.
Application: KiCad PCB Editor Version: (5.99.0-9543-g924accfdc8), release build Libraries: wxWidgets 3.0.4 libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 Platform: Linux 5.4.0-65-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon, x11 Build Info: Date: Mar 2 2021 08:25:26 wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24 Boost: 1.71.0 Curl: 7.68.0 ngspice: 31 Compiler: GCC 9.3.0 with C++ ABI 1013 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=OFF KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON KICAD_SPICE=ON
Looking at @charrasjp fix: possibly problem is that I run cmake with -DCMAKE_INSTALL_PREFIX=/opt/kicad, but @jeffyoung use default install preffix?
Oops. There was an mistype in KICAD6_3DMODEL_DIR on this computer. Sorry for disturbance, everything is working now.
1- Hildo Guillardi Júnior mentioned in issue #5376 (closed)
mentioned in issue #5376 (closed)
- Maintainer
Reopening, since per discussion on the mailing list it looks like we need to fix this on macOS still.
- Ian McInerney reopened
reopened
- Contributor
Yes, this seems to be the case:
lijon@lijon-mbp master % WXTRACE=3D_PLUGIN_MANAGER,PLUGIN_OCE ./kicad/KiCad.app/Contents/MacOS/kicad 00:31:10: Trace: (3D_PLUGIN_MANAGER) * [INFO] checking for 3D plugins in '/Users/lijon/Library/Application Support/kicad/PlugIns/3d' 00:31:10: Trace: (3D_PLUGIN_MANAGER) * [INFO] checking for 3D plugins in '/Library/Application Support/kicad/PlugIns/3d' 00:31:10: Trace: (3D_PLUGIN_MANAGER) * [INFO] checking for 3D plugins in '/Users/lijon/Coding/kicad/build/install/lib/kicad/plugins/3d/' 00:31:10: Trace: (3D_PLUGIN_MANAGER) * No plugins available 00:31:10: Trace: (3D_PLUGIN_MANAGER) * File filters: 00:31:10: Trace: (3D_PLUGIN_MANAGER) + 'All Files (*.*)|*.*'
On MacOS, it should look in
../PlugIns/3d
relative to the executable file. - Contributor
As a quick test to confirm the above, doing this made 3D models display again:
lijon@lijon-mbp master % mkdir -p ~/Library/Application\ Support/kicad/PlugIns lijon@lijon-mbp master % ln -s /Users/lijon/Coding/kicad/build/master/kicad/KiCad.app/Contents/PlugIns/3d ~/Library/Application\ Support/kicad/PlugIns ``
I have the same problem on macOS Big Sur.
Application: KiCad
Version: (5.99.0-9619-g3f1e407a42), release build
Libraries: wxWidgets 3.0.4 libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.41.0
Platform: macOS Version 10.16 (Build 20D80), 64 bit, Little endian, wxMac
Build Info: Date: Mar 5 2021 04:30:43 wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8) Boost: 1.75.0 OCC: 7.5.0 Curl: 7.54.0 ngspice: 31 Compiler: Clang 10.0.1 with C++ ABI 1002
Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON KICAD_USE_OCC=ON KICAD_SPICE=ON
- Contributor
I wonder if
#ifdef __UNIX__
in 35e6e55b should rather be__LINUX__
instead, if__UNIX__
is also defined for Mac? Because the path fix in that commit should not be applied on Mac. - Maintainer
I suspect so. @charrasjp's comment certainly indicates he had only Linux in mind....
(I'm trying out a build right now.)
- Jeff Young removed statusfix-committed label
removed statusfix-committed label
- Jeff Young closed with commit a0880324
closed with commit a0880324
- Maintainer
Works for me. Nice catch, @j_liljedahl!
- Jeff Young added statusfix-committed label and removed statusnew label
added statusfix-committed label and removed statusnew label
I guess the patch will show up in tonight's nightly, so I will download and test it tomorrow. Thanks for the fix!
- Tiago Gala mentioned in issue #7842 (closed)
mentioned in issue #7842 (closed)
- Ian McInerney marked #7842 (closed) as a duplicate of this issue
marked #7842 (closed) as a duplicate of this issue
- Ian McInerney marked this issue as related to #7842 (closed)
marked this issue as related to #7842 (closed)
- Contributor
This is broken again. Please re-open!
16:20:13: Trace: (3D_PLUGIN_MANAGER) * [INFO] checking for 3D plugins in '/Users/lijon/Library/Application Support/kicad/PlugIns/3d' 16:20:13: Trace: (3D_PLUGIN_MANAGER) * [INFO] checking for 3D plugins in '/Library/Application Support/kicad/PlugIns/3d' 16:20:13: Trace: (3D_PLUGIN_MANAGER) * [INFO] checking for 3D plugins in '/Users/lijon/Coding/kicad/build/install/KiCad.app/Contents/SharedSupport/plugins/3d/' 16:20:13: Trace: (3D_PLUGIN_MANAGER) * No plugins available
It's looking in
KiCad.app/Contents/SharedSupport/plugins/3d/
but the plugins are installed toKiCad.app/Contents/PlugIns/3d/
Collapse replies Looks like this was changed by @craftyjon in commit e4ef531f about a month ago.
- Jeff Young removed statusfix-committed label
removed statusfix-committed label
- Jeff Young reopened
reopened
- Jon Evans assigned to @craftyjon
assigned to @craftyjon
- Jeff Young added statusfix-committed label and removed statusnew label
added statusfix-committed label and removed statusnew label