(Un)Zoom level limit in 3D view limited to PCB slot

Bug #1839768 reported by Mario DE WEERD
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Seth Hillbrand

Bug Description

I have an issue with the 3D Viewer of the PCB board.

After adding a slot on the PCB, the 3D Viewer zooms on the slot and I can not unzoom enough to view the entire board.

A workaround is to add another slot in the other corner.

I've attached a test project.
- 3DviewTest.kicad_pcb has a single slot and the zoom is too limited;
- 3DviewTest.workaround.kicad_pcb has another (dummy) slot placed in the opposite corner - the view is ok due to this other slot.

This may be related to the fact that my board edges are defined in a footprint.

--
Application: kicad
Version: (5.1.0)-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 8 (build 9200), 64-bit edition, 64 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 8.2.0 with C++ ABI 1013

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

Tags: 3d-viewer
Revision history for this message
Mario DE WEERD (le-top) wrote :
summary: - (Un)Zoom level lilmit in 3D view limited to PCB slot
+ (Un)Zoom level limit in 3D view limited to PCB slot
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I wonder why we don't use the min and max coordinates of the x, y, and z axis to determine the minimum and maximum zoom levels rather than try to determine the actual board outline which at the moment is current broken when there are cutouts.

Changed in kicad:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 5.1.5
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 99859727e89a366583f2abe9bdddb480e1c7c62c
https://git.launchpad.net/kicad/patch/?id=99859727e89a366583f2abe9bdddb480e1c7c62c

Changed in kicad:
status: Triaged → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Seth Hillbrand (sethh) wrote :

Hmm... Janitor is taking a coffee break.

Fixed in revision 99859727e
https://git.launchpad.net/kicad/patch/?id=99859727e

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

Other bug subscribers

Bug attachments

Remote bug watches

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