Visibility control of 3D shapes in footprint

Bug #1685004 reported by Art
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

Footprint editor currently allows you select multiple 3D shapes for a single footprint, which can be a very handy feature. For example, it would be convenient if I can have a single chip component footprint library for capacitors, inductors and resistors and then add multiple 3D shapes for the same footprint and then select for each component in PCBnew appropriate 3D shape. In the same manner if I have parts which differ in appearance but share the same footprint you can add multiple shapes and then select appropriate shape in PCBnew. However, currently if you add multiple shapes they all are showing simultaneously, which doesn't make sense. Ether selection needs to be restricted to a single shape per single footprint or there needs to be a way to select between the shape for each component.

Tags: 3d-viewer
tags: added: 3d-viewer
Changed in kicad:
importance: Undecided → Wishlist
Jeff Young (jeyjey)
summary: - Multiple 3D shapes for a footprint
+ Visibility control of 3D shapes in footprint
Changed in kicad:
status: New → Triaged
Revision history for this message
Stephen (steejb) wrote :

The 3D viewer (ALT+3) ignores the "Preview" check box. Instead I see *all* 3D models overlaid.
----------------------------------------------------------------------------------------------
#Application: KiCad
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    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
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Stephen (steejb) wrote :

I am creating a footprint which has to be compatible with a variety of similar parts (EC11 encoders).

Therefore, I specify multiple 3D models, and Footprint Properties~3D Models~Preview works nicely here. That is, I can enable just one model "at a time".

The same logic should apply to the 3D View.

Revision history for this message
Stephen (steejb) wrote :

It works temporarily (i.e. whilst staying in PcbNew): Press 'E' (Edit) in PcbNew. Toggle visibility on one of several 3D models in a list. Return to PcbNew; 'Save' is now enabled (but does nothing useful).

Provided I do not quit PcbNew, the "Preview" check boxes retain my choices. E.g. I choose just one of 10 parts to 'Preview', and this configuration is the same when I press 'E' Edit again.

However - despite choosing File~Save, nothing relevent seems to be saved to the file.

Next time I open PcbNew and edit the component, all "Preview" boxes are 'checked' (ticked).

Application: Pcbnew
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    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
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Stephen (steejb) wrote :

Also:

After multi-selecting several lines, then pressing 'Delete', only the top item in the selection is deleted.

Thus it is slow to delete several items, I have to delete each line separately.

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

KiCad has migrated to Gitlab, this issue is available here: https://gitlab.com/kicad/code/kicad/-/issues/2061

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2061

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.