Jeff Young
da9544dfd1
Attempt to patch SWIG for VIEW_ITEM::GetClass().
4 months ago
Jeff Young
34139ae305
Push generalised sketch-mode support down into DXF_PLOTTER.
6 months ago
Jon Evans
3bebf24015
Add another SWIG wrapper for BOX2I
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19485
10 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Seth Hillbrand
67c72cbb7a
Add SWIG mirroring defs
10 months ago
Jon Evans
cbbcb5ae32
SWIG: Add Python-native add/sub for VECTOR2
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19308
10 months ago
Mike Williams
480dd6f26b
swig: ignore std::optional overloads for netclasses
12 months ago
Mark Hämmerling
55d6a51b6f
SWIG: Add typemaps for std::optional<int> and std::optional<double>
12 months ago
i404788
330150a6a6
Add ERROR_LOC to exports
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
Alex Shvartzkop
045f65608a
Add VECTOR2L to Swig.
2 years ago
Jon Evans
7aad7fcce6
Expose CORNER_STRATEGY to swig
2 years ago
Marek Roszko
aa0d39dfe4
Fix the moving truck leaving behind IO_ERROR and friends
2 years ago
Marek Roszko
4746bde4b3
gal as a shared lib, gaasl!
2 years ago
Marek Roszko
b5d5eb842a
Start a kicommon shared lib
2 years ago
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2 years ago
Marek Roszko
1a6d459fb1
Fix wrong path slash
2 years ago
Marek Roszko
5da88d1d0e
Move UTF8 to core
2 years ago
Alex Shvartzkop
1b8abdfde7
ADDED: Basic STEP manipulation utils available to Python.
2 years ago
qu1ck
88062c5fc3
Add vector3 to swig
Fixes regression in 7.0 making fp 3d model offsets not accessible in
python
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14179
3 years ago
Jon Evans
6948a0bebd
Expose new netclass storage to SWIG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13337
3 years ago
qu1ck
84ad38fd5d
Add VECTOR2I_EXTENDED_TYPE template spec to swig
Allows access to Dot(), Cross() and other vector2i methods in python
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9967
3 years ago
Jon Evans
995a153f27
Update nlohmann::json to 3.11.2
Also update json_schema_validator to match new deprecations
3 years ago
jean-pierre charras
efdb67aa64
Minor fixes.
3 years ago
jean-pierre charras
7d20418d6f
Fix compil issues and warnings, especially in ibis code.
3 years ago
jean-pierre charras
97963a2bba
Better after base_units.cpp changes in python stuff.
Move an include to kicad.i
3 years ago
Marek Roszko
3d5913c825
Remove convert_to_biu.h, merge contents to base_units.h
3 years ago
Jeff Young
9188838e50
RIP EDA_RECT.
3 years ago
jean-pierre charras
3857e68452
Python, swig: add definition of BOX2I
3 years ago
jean-pierre charras
a5283d91eb
shape.i: disable a SWIG warning (warn 509) creating noise for this file.
3 years ago
jean-pierre charras
e37bb2e0c3
swig: disable a few warnings generated by pcb_shape.i, math.i and version.i
4 years ago
qu1ck
a041492736
SWIG mappings for all shapes
4 years ago
jean-pierre charras
1c8ba6dafc
fix python QA tests to run with latest changes in eda_angle.h
4 years ago
qu1ck
356cddd474
Template for vector<VECTOR2I> in swig
4 years ago
Jeff Young
f221220fe2
Rename layer ids file.
It hasn't had anything to do with colors or visibility for some time
now.
4 years ago
Seth Hillbrand
3ca9e2d2b6
Add missing wxString* conversion
Python needs to know how to optionally convert to a wxString* for SWIG
to build out the interface.
5 years ago
Marek Roszko
6b18803221
Fix another typedef conflict
5 years ago
Seth Hillbrand
88e4b7f7c4
Update Python Helpers
5 years ago
Seth Hillbrand
81d58bcea9
Working python window
5 years ago
Jonathan Haas
55679be2e3
Fix some typos across the codebase
5 years ago
Marek Roszko
e928b2d8fd
Split EDA_UNITS out from common.
5 years ago
Marek Roszko
68484e9b38
Nix some global richio.h
5 years ago
Marek Roszko
64484f5fc4
Split KIID out of common.h
5 years ago
Marek Roszko
4d5796fb9a
Extract swig binding macros to their own header
5 years ago
jean-pierre charras
b907f79485
python wrap: fix undefined FILLED/SKETCH constants in pcbnew.py
Fixes #6070
https://gitlab.com/kicad/code/kicad/issues/6070
5 years ago
Seth Hillbrand
f8a4edb1c9
First pass renaming module to footprint
This is mostly in comments and the few remainin text strings that
reference module
5 years ago
Marek Roszko
b2e9f6987d
Split base_struct into eda_item and eda_rect
5 years ago
Tomasz Wlostowski
5f6d171626
pcbnew: fix Python bindings compile error
5 years ago
qu1ck
1bb6d4e22c
Fix pads python api compatibility
* Add GetCustomShapeAsPolygon() to swig wrapper
* Make shared_ptr<SHAPE_POLY_SET> usable for GetEffectivePolygon()
Fixes #4999
5 years ago
Jon Evans
c0aa6965de
Migrate PcbNew project settings to new framework
Various architecture upgrades to support this.
Creating a BOARD now requires a valid PROJECT, which caused
some (mostly transparent) changes to the Python API internals.
ADDED: Project local settings file
CHANGED: Board design settings are no longer stored in PCB file
CHANGED: Net classes are no longer stored in PCB file
CHANGED: Importing board settings now reads boards, not just projects
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2578
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4070
5 years ago