gauravmm / HierarchicalPcb

MIT License
29 stars 5 forks source link

What am i doing wrong? I can see both main pcb and subcircuit in list #23

Open JLA4444 opened 3 weeks ago

JLA4444 commented 3 weeks ago

I tried to use your plugin. But I can't get it to work. I can see both the subcircuit and the main pcb in the "configure each sub-pcb layout" list. Does this indicate an issue?

On the subcircuit i have run DRC checks and there is no parity issue between the pcb and schematic.

OfficialDyray commented 2 weeks ago

Make sure you have enabled the circuits you want to replicate in the "Choose which layouts" section (This is done by double clicking each one) . It is normal for the main pcb file to show up in the "Configure" section.

It might be helpful for you to provide an example project that replicates the problem, if you can.

JLA4444 commented 2 weeks ago

I noticed the double click feature.

See the attached file for an example project.

gauravmm commented 2 weeks ago

It works fine for me on KiCAD 8.0.2 on Windows 11. See video:

https://github.com/gauravmm/HierarchicalPcb/assets/445477/72cea91d-4106-4c08-97ca-184133bd7fa0

What is the version and platform you are on? Is a .hierpcb.log file generated in the same folder?

JLA4444 commented 1 week ago

MainBoard.kicad_pcb.hierpcb.log

I use: Application: KiCad PCB Editor x86_64 on x86_64

Version: 8.0.1, release build

Libraries: wxWidgets 3.2.4 FreeType 2.11.1 HarfBuzz 8.3.0 FontConfig 2.13.1 libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.2 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.17

Platform: Ubuntu Core 22, 64 bit, Little endian, wxGTK, X11, ubuntu, x11

Build Info: Date: Apr 20 2024 12:12:08 wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.74.0 OCC: 7.5.1 Curl: 7.81.0 ngspice: 36 Compiler: GCC 11.2.0 with C++ ABI 1016

Build settings: KICAD_USE_EGL=ON

JLA4444 commented 2 days ago

hier_bug.zip

The bug disappeared when i opened the project again. But i managed to replicate it again by not removing so much from my project. This time i tried to restart KiCad to make sure the bug is still there.

The log file is in the zip

Tested on: Application: KiCad x86_64 on x86_64

Version: 8.0.4-rc2-202407012210~8383165269~ubuntu20.04.1, release build

Libraries: wxWidgets 3.2.1 FreeType 2.10.1 HarfBuzz 2.6.4 FontConfig 2.13.1 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: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11

Build Info: Date: Jul 1 2024 22:10:15 wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.71.0 OCC: 7.6.3 Curl: 7.68.0 ngspice: 42 Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:

gauravmm commented 2 days ago

Hey, thanks! I'll take a crack at it when I next have some time.