Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly casting parent to FOOTPRINT (KiCAD 8) #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

medo64
Copy link

@medo64 medo64 commented Apr 21, 2024

In KiCAD 8, pcbnew.PAD.GetParent() no longer returns FOOTPRINT . Suggested change is to explicitly cast it to FOOTPRINT.

Solves issue #23.

@the-this-pointer
Copy link

Another problem with KiCad 8 is when you want to dump wiring changes to the file, have you encountered this issue before?

`
Application: KiCad PCB Editor x64 on x64

Version: 8.0.1, release build

Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3

Platform: Windows 11 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Mar 15 2024 01:52:47
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI

Build settings:
`
image

@latonita
Copy link

latonita commented Dec 19, 2024

In KiCAD 8, pcbnew.PAD.GetParent() no longer returns FOOTPRINT . Suggested change is to explicitly cast it to FOOTPRINT.

Solves issue #23.

works like a charm for me, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants