Editing copied Copper Zones gives error "Orientation must be at least -180 deg."

Bug #1842654 reported by Tiago Filipe Gala da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
Seth Hillbrand

Bug Description

I do a lot of LED boards and most of the board is done based on Copper Zones.
Since there are a lot of repetitive parts of the circuit, I layout the zones for the first 2 LEDs and then duplicate (no copy/paste) the copper zones for the remaining LEDs. After placing the zones I edit each one manually to give them the proper NET.

Sometimes, after changing the NET for the copper zone, when pressing the OK button, a dialog comes up with the following error:

> Warning
> Orientation must be at least -180 deg.

This dialog only haves a OK button.

I believe this only has happened on duplicated zones and I haven't found a pattern to reproduce this issue, but I had it happen on zones with only duplication.

I can only make the error go away by deleting the zone

KICAD:
Application: Pcbnew
Version: (5.99.0-25-g06802d52d), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.7.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 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
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF

OS:
macOS Mojave 10.14.6
MacBookPro (Retina Late 2013)
Processor: 2.4GHz Intel Core i5
Memory: 8GB 1600MHz DDR3
Graphics: Intel Iris 1536MB

Tags: pcbnew
tags: added: pcbnew
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: New → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Seth Hillbrand (sethh)
Changed in kicad:
milestone: none → 6.0.0-rc1
Revision history for this message
Tiago Filipe Gala da Silva (tiago-gala-j) wrote :

I've been using the latest nightlies and it looks like this bug is fixed. Thanks for the good job!

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.