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

foorprint with arc Edge Cut lines create problems #637

Open
2 tasks done
JulienCarayon opened this issue Feb 19, 2024 · 2 comments
Open
2 tasks done

foorprint with arc Edge Cut lines create problems #637

JulienCarayon opened this issue Feb 19, 2024 · 2 comments

Comments

@JulienCarayon
Copy link

Prerequisites

  • I have read FAQ
  • I use KiKit at least version 1.4.0 (older version are not supported)

KiKit version

1.4.0

KiCAD version

v7.0.10

Operating system

macOs Ventura 13.0.1

Description

Kicad 7 issue :

swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'FP_SHAPE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'BOX2< VECTOR2< int > > *', no destructor found.
swig/python detected a memory leak of type 'VECTOR2< int > *', no destructor found.
swig/python detected a memory leak of type 'VECTOR2< int > *', no destructor found.
swig/python detected a memory leak of type 'VECTOR2< int > *', no destructor found.
An error occurred: unsupported operand type(s) for +: 'SwigPyObject' and 'VECTOR2I'
No output files produced
swig/python detected a memory leak of type 'BOX2< VECTOR2< int > > *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'BOX2< VECTOR2< int > > *', no destructor found.
swig/python detected a memory leak of type 'VECTOR2< int > *', no destructor found.
swig/python detected a memory leak of type 'VECTOR2< int > *', no destructor found.
swig/python detected a memory leak of type 'std::vector< ZONE * > *', no destructor found.
swig/python detected a memory leak of type 'VECTOR2< int > *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.
swig/python detected a memory leak of type 'EDA_ANGLE *', no destructor found.

Here is a problematic footprint exemple :
image

problematic.txt
(rename the .txt to .kicad_mod)

Steps to Reproduce

Use the footprint linked above and try to split board with a board containing the footprint

@yaqwsx
Copy link
Owner

yaqwsx commented Feb 21, 2024

I am struggling to reproduce the problem you report. Could you provide precise steps to follow? Preferably, share the exact board (just outlines are just fine) that you run into the issue.

You claim to use KiCAD 7, however, you provide a footprint for KiCAD v8. When I create a test board:
board.zip and run either kikit panelize untitled.kicad_pcb panel.kicad_pcb or kikit separate --looseArcs untitled.kicad_pcb separated.kicad_pcb everything works just fine (of course with KiCAD 8 and the upstream version of KiKit).

@yaqwsx
Copy link
Owner

yaqwsx commented Mar 15, 2024

This might be related to #663 - both reports are form mac, and they contain numerous errors in KiCAD API.

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

No branches or pull requests

2 participants