keep out area layer select issue

Bug #1853039 reported by ocb-hd-ccb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
Unassigned

Bug Description

Alright, I have never used the keepout tool before. I selected both layers in the properties and also checked the keepout copper pours. When I went to edit the properties again the B.Cu wasn't selected. So, I selected it and hit OK. Then I went back to check and it still wasn't 'ON'.

I than ran DRC and got this error: See attached image

```
Application: Pcbnew
Version: (5.99.0-355-g65994e4a7), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.39.2
Platform: Mac OS X (Darwin 19.0.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    Build date: Nov 11 2019 16:27:56
    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
```

Tags: pcbnew
Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

I can't reproduce this. Can you provide more detailed instructions/an example PCB file?

Application: Pcbnew
Version: (5.99.0-416-gf7ded3040), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.39.2
Platform: Mac OS X (Darwin 19.0.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    Build date: Nov 24 2019 17:43:28
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.70.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 11.0.0 with C++ ABI 1002

Build settings:
    KICAD_SCRIPTING=OFF
    KICAD_SCRIPTING_MODULES=OFF
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=OFF
    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

Changed in kicad:
status: New → Incomplete
Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

alright, start pcb new and make a keepout zone with both F.Cu and B.Cu checked I also checked 'keep out tracks', 'keep out vias', and 'keep out copper pours'. I did not check the 'constrain...' option. Hit okay.

Then 'e' on the newly made keepout and notice B.Cu isn't on. Click B.Cu again and hit okay. 'e' and still not ON.

Then 'd' and place it then 'e' turn off F.Cu and turn on B.Cu. So... This should be 2 separate keepouts one on F.Cu and one on B.Cu.

Now run DRC and notice error.

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

the process screen recording is attached

Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Your nightly build is quite old, please update to see if the issue has already been fixed.

I still can't recreate it from scratch, and I can edit the keepout area to include both layers.

There is something strange with the file provided (doesn't match the one created from my testing following the instructions). It contains two keepout zones in the same location, with different layers. Has the file been edited outside of KiCad (ie a text editor) or something else (e.g. keepout copy/pasted from another file?)

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

I update my nightly about once per week and I might be slightly behind that because there hasn't been a 10_14 build for the last few days.

The file has not been edited outside of kicad. That was a brand new project created with nothing in the schematic or pcb file before doing the keepouts.

I will test again as soon as I update nightlies.

Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :
Revision history for this message
ocb-hd-ccb (ocb-hd-ccb) wrote :

It works now. Version: (5.99.0-425-gce1b50e0f), debug build fixed the issue. The visual representation isn't very good but it does work on B.Cu and F.Cu.

The above attached picture is a fill front and back on top and a keepout front and back on the bottom.

Should I open a new issue to suggest the keepout be represented more similarly to the fills when on both layers?

Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

It was my understanding zone fills can't be assigned to multiple layers (see https://bugs.launchpad.net/kicad/+bug/954848).

Feel free to open a new bug if you have suggestions on how it can be improved. Please first search the bug tracker for similar issues (e.g. https://bugs.launchpad.net/kicad/+bug/1667886).

Changed in kicad:
milestone: none → 6.0.0-rc1
status: Incomplete → Fix Committed
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.