Jeff Young
9e7ffc6ff0
Load input-specific project; don't use default (blank) project
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19176
1 year ago
Jon Evans
9ed3474a5b
Add more SWIG compatibility shims
1 year ago
jean-pierre charras
9495a5bc28
SWIG: disable some warnings 476 (Initialization using std::initializer_list)
1 year ago
jean-pierre charras
ab1b22d435
Python script: Ensure image handlers are loaded before loading a board,.
because a board can include bitmap images using various formats, all
available image handlers must be loaded.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18959
1 year ago
jean-pierre charras
f96c9b2f20
Avoid an wxASSERT when loading a board from a python script outside KiCad.
In this case, a call to Pgm() generates a wxASSERT due to a nullptr.
However this nullptr is not used, so using PgmOrNull() avoid this assert
1 year ago
jean-pierre charras
6ebd8f46fe
Pcbnew, python: handle PCB_TABLE items in graphic items list
1 year ago
Jon Evans
56e0811516
Phase 2 of padstack support
CHANGED: PCB file format now supports saving/loading complex padstacks
CHANGED: PTH pads are now rendered per copper layer in the copper color;
the PTH pad color is no longer used.
ADDED: support for importing complex pad stacks from Altium PCBs
Enforce padstack-aware access to pad properties across KiCad
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8182
1 year ago
Marek Roszko
d74caace0a
Initial jobset creation and running within the CLI and GUI.
Incomplete, just pushing this before feature freeze, much fixing left
1 year ago
jean-pierre charras
eafe5b5130
Fix python plugin qfn_wizard.py after recent changes in LSET
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18715
1 year ago
Jeff Young
00bbe4dbc6
ADDED: ERC & DRC checks for footprint matching footprint filters.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6401
1 year ago
qu1ck
ff15506d53
Fix LSEQ exports in swig
Need to keep it correctly inherited from BASE_SEQ to
be able to iterate over it and have index access
1 year ago
James J
7ce00e511b
Multi-netclass support
1 year ago
Jeff Young
0f099ac65e
Use lock when clearing and loading libTables.
Also make sure it's re-indexed after loading.
1 year ago
jean-pierre charras
10085941fc
layer_ids.i: fix a missing include that broke footprint wizards.
1 year ago
Seth Hillbrand
77797103f7
Add ability to embed files in various elements
Schematics, symbols, boards and footprints all get the ability to store
files inside their file structures. File lookups now have a
kicad-embed:// URI to allow various parts of KiCad to refer to files
stored in this manner.
kicad-embed://datasheet.pdf references the file named "datasheet.pdf"
embedded in the document. Embeds are allowed in schematics, boards,
symbols and footprints. Currently supported embeddings are Datasheets,
3D Models and drawingsheets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6918
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2376
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17827
2 years ago
Seth Hillbrand
293075426b
Clean up some LSEQ functions
We are derived from std::vector now. We don't need our own prima donna
increment and dereference overload as these just create bloat and
non-standard coding practices
1 year ago
Jeff Young
080cbbe0dd
Error reporting for drawing sheet loading.
1 year ago
Jon Evans
c800fb790d
Start unifying padstack properties
2 years ago
Alex Shvartzkop
5475359d00
More build time optimizations.
2 years ago
Alex Shvartzkop
045f65608a
Add VECTOR2L to Swig.
2 years ago
Jon Evans
c1e7668d80
Fix SWIG wrapper for AddPrimitive
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17676
2 years ago
Jon Evans
1dbe78c68b
Add QA tests and expand serialization for API
2 years ago
Jon Evans
a3b6ab48a4
Add a new plugin system for the new API
2 years ago
Jeff Young
0598ca0f90
Keep BOARD_DESIGN_SETTINGS DRC marker exclusions up-to-date.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17429
2 years ago
SubaruArai
d7173dd6d1
qr footprint wizard: add option for error correction level
QR codes allow 4 different levels of error correction. By increasing the level, larger numbers of data bytes can be corrupted without invalidating the code
2 years ago
SubaruArai
8b3fc41ee5
Update QR footprint wizard
- Allows more than 62 bytes
- Adjusts size of code based on data or parameters
- Allows selection of ECC
2 years ago
Mike Williams
36331e259a
VRML: add options to exclude DNP/unspecified types like STEP exporter
2 years ago
Jeff Young
fa0ead98d8
Split out table editing and table cell editing.
2 years ago
Marek Roszko
762c159b96
Fix KIPRJMOD by setting the project as active by modifying the board loading helper
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16973
2 years ago
Subaru Arai
d9737a39bf
remove qr footprint generator min pixel size
The minimum pixel width should be left for the user to decide, since it
depends on the manufacturer and layer.
2 years ago
Jeff Young
13935399a5
Second part of d854de9d68
This one for symbol <-> footprint. (Original was for
lib footprint <-> board footprint.)
Also fixes a major bug in DRC where we bail out of parity
checking if DRCE_MISSING_FOOTPRINT is set to ignore (or
overflows).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16671
2 years ago
Ian McInerney
b36a67e556
Fix missed IO_MGR rename in Python
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16669
2 years ago
jean-pierre charras
549ef88f70
QFNWizard: ensure thermal vias/pads have the property PAD_PROP::HEATSINK set.
2 years ago
Marek Roszko
d0236ca751
Make DRC exclusions work in cli & python DRC
The way exclusions work is actually silly, and you can end up with your project file losing them too.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11562
2 years ago
Marek Roszko
08c2237a94
Update the layer names in cli/python board load of the property grid layer enum because DRC quietly uses it
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16555
2 years ago
Ian McInerney
f2702b223c
Introduce base IO_MGR class and unify RELEASER objects
The IO_RELEASER is a thin-wrapper around a std::unique_ptr, but done
this way to allow easier addition of a custom deleter in the future if
something needs to call back into the IO_MGR.
2 years ago
Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2 years ago
Ian McInerney
743e9d669a
Push library management into IO_BASE
2 years ago
jean-pierre charras
408c90d3ae
Python stuff: fix an issue to build pcbnew_wrap.cxx (at least on msys2)
- Reorder two include in pcbnew.i
- rename PLUGIN to PCB_IO (missing rename) in footprint.i
2 years ago
Ian McInerney
e6632bb983
Rename PCB IO classes/files
2 years ago
Ian McInerney
d8b47d18d3
Initial rename of file plugin infrastructure components to IO
2 years ago
jean-pierre charras
aa760406ba
Fix old python examples and a compatibility issue in pcb_shape.i.
Fixes #16158
https://gitlab.com/kicad/code/kicad/-/issues/16158
2 years ago
snhobbs
5cf244dd90
Added a ImportSpecctraSession overload that doesn't require a PCB_EDIT_FRAME
2 years ago
Zhuang Jiezhi
9b8fa85b32
feat:Add python API GetKicadCurrentLanguage
2 years ago
jean-pierre charras
75e0bf0cba
Python fp wizards: Add a text ("${REFERENCE}") on fab layer to a few wizards.
2 years ago
Jeff Young
791aa64950
Functionally it's a "reference image".
The implementation happens to be a "bitmap".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15932
2 years ago
Seth Hillbrand
d99641be40
ADDED: Git integration support
Adds support for project-based git integration, branch support, commit,
revert and updates
Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2 years ago
Seth Hillbrand
4ed8b14c12
Fix Mac build
Clang requires tighter forward declaration of derived enums
2 years ago
Marek Roszko
bee6e6be01
AddMenuLanguageList should live in EDA_BASE_FRAME, its only user
2 years ago
Marek Roszko
584757f2df
Move the menu helpers to ui_common instead of sitting in bitmap for some reason
2 years ago