KiKit icon indicating copy to clipboard operation
KiKit copied to clipboard

foorprint with arc Edge Cut lines create problems

Open JulienCarayon opened this issue 1 year ago • 3 comments

Prerequisites

  • [X] I have read FAQ
  • [X] 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

JulienCarayon avatar Feb 19 '24 16:02 JulienCarayon

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 avatar Feb 21 '24 16:02 yaqwsx

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

yaqwsx avatar Mar 15 '24 06:03 yaqwsx