Jeff Young
b4492e0bd2
More EDA_RECE yeetage.
3 years ago
Jeff Young
5679b9dbdc
Remove a few EDA_RECT instances.
3 years ago
Seth Hillbrand
b736460e71
Move optional access from value() to *operator
`value()` throws. Where we check for existence, we don't need to use
the throwing version and should just use the unprotected variant
3 years ago
Marek Roszko
bf964d8678
Commonize page_info by simply making the Iu scale a parameter on call.
3 years ago
Seth Hillbrand
f1261e71d4
Replace boost::optional with std::optional
3 years ago
Jeff Young
ec51955dad
Remove vestiges of old pad locking system.
We now use a session preference (Allow free pads) in the board editor,
and we never supported pad locking in the footprint editor.
3 years ago
Jeff Young
a9536b5de9
CHANGED netclass assignments now done via canvas or via patterns.
3 years ago
Jeff Young
2de10080cd
Add edge and margin clearances to message panel.
3 years ago
Seth Hillbrand
a9a5136c1c
Always allow blind/buried/micro vias
Removes a nanny setting that prevented the use of
blind/buried/micro-vias without a checkbox. If the designer does not
want microvias in their board, they simply do not place microvias.
3 years ago
Thomas Pointhuber
406c528ab7
altium: Create region for items on the KEEP_OUT_LAYER and use new Track unit-tests
4 years ago
Jeff Young
1d66925f5f
Enable bb and/or uvias when encountering them on Altium import.
Fixes https://gitlab.com/kicad/code/kicad/issues/10044
4 years ago
Jeff Young
118a37f19f
Fix issues with importing NPTH pads from CircuitStudio.
Fixes https://gitlab.com/kicad/code/kicad/issues/10493
4 years ago
Jeff Young
3271b43d4b
Formatting.
4 years ago
Thomas Pointhuber
79aafd1bd3
altium: support keepout restrictions in Arcs, Fills and Regions
4 years ago
Thomas Pointhuber
a9ebb42ecd
altium: Parse keepout restrictions of tracks
4 years ago
Jeff Young
843a56c4e4
Implement two-staged zone priority: assigned priority followed by UUID.
4 years ago
Thomas Pointhuber
52a2d52bf0
altium: Parse solder and paste mask settings of tracks and arcs
4 years ago
Thomas Pointhuber
8ef7252330
altium: Don't use string concatenation for paths pointing in the compound file
* std::vector do not need to be split apart again
* supports backslash in footprint names
4 years ago
Thomas Pointhuber
86c025eb30
altium: Fix parsing of zones which use the KEEP_OUT_LAYER
4 years ago
Jeff Young
327ddad79f
Performance: get rid of rawPolys / finalPolys distinction.
(The final fractured polys are required, and we don't really ever use
the raw polys anyway, so they were removed.)
4 years ago
Thomas Pointhuber
fc5772ad92
altium: Extend test-suite to support FP_ZONE validation
4 years ago
Thomas Pointhuber
81b4229e12
altium: Improve test-coverage of *.PcbLib import functionality
* Add test-code for pads
* Move test-code into board_test_utils.cpp for reuse, one method per object
* Add a real (rather small) Altium footprint for testing purposes
4 years ago
Jeff Young
3deaf902bb
Retire the V5 zone fill algorithm.
Fixes https://gitlab.com/kicad/code/kicad/issues/10578
4 years ago
Thomas Pointhuber
79f80c4cd7
altium: Fix Reference and Description parsing of footprint
4 years ago
Jeff Young
b2e3f03222
More wide-string declarations.
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Thomas Pointhuber
744bc0bd18
altium: Fix pcb arc import using a hack with PCB_SHAPE as intermediate object
It would be nice to not use the workaround with PCB_SHAPE, but better than creating wrong geometries in the first place. This should be improved when I'm more in the mood to think about geometric.
4 years ago
Thomas Pointhuber
5a2f351f28
altium: Refactor shape based region parsing to make it reusable for footprint import
4 years ago
Jeff Young
4eac8d7c66
Remove unit-less angles from geometry lib APIs.
4 years ago
Jeff Young
038db715a3
Move zone hatch orientation to EDA_ANGLE.
4 years ago
Jeff Young
622f94e7b9
Angle cleanup in Altium importer.
4 years ago
Thomas Pointhuber
010b705ecd
altium: Use new Sin/Cos function
4 years ago
Thomas Pointhuber
8608c22b73
altium: Refactor fill parsing to make it reusable for footprint import
4 years ago
Thomas Pointhuber
7f667764bf
altium: Refactor pad parsing to make it reusable for footprint import
4 years ago
Thomas Pointhuber
efb0e9f98f
altium: Refactor text parsing to make it reusable for footprint import
4 years ago
Thomas Pointhuber
fe861459a7
altium: Unify arc parsing
4 years ago
Thomas Pointhuber
0b176eb5fc
altium: Refactor arc parsing to make it reusable for footprint import
4 years ago
Thomas Pointhuber
f5720d6e9a
altium: Refactor track parsing to make it reusable for footprint import
Also refactor the code to import MULTI_LAYER items really on multiple layers.
4 years ago
Thomas Pointhuber
5aff3ef949
altium: First prototype to parse tracks of a footprint
4 years ago
Thomas Pointhuber
f92c1341a2
altium: Move file loading from altium_pcb into altium_*_plugin
4 years ago
Thomas Pointhuber
0129e49b79
altium: Introduce new ALTIUM_COMPOUND_FILE object to handle file opening and searching for streams at a central place
4 years ago
Thomas Pointhuber
2cc9517cfd
altium: Allow extraction of names of footprints stored in *.PcbLib file
See: https://gitlab.com/kicad/code/kicad/-/issues/10274
4 years ago
Thomas Pointhuber
c6504628f0
altium: Fix Compound File Reader which returned wrong entries
It was possible that we confuse multiple files with the same name. This should not be that relevant for board and schematic import, but is important for library import!
4 years ago
Jeff Young
e61144d45a
Finish with EDA_ANGLE.
4 years ago
Jeff Young
e84c574830
Some more EDA_ANGLE cleanup.
4 years ago
Jeff Young
9b661aea10
EDA_ANGLE for plotters.
Also fixes a compile error in the PNS Playground.
4 years ago
Jeff Young
07013d00e1
More EDA_ANGLE.
4 years ago
Jeff Young
1b19ff5f42
More EDA_ANGLE changes.
4 years ago
Jeff Young
c9487bad18
Move BOARD_ITEM::Rotate() to EDA_ANGLE.
4 years ago
Jeff Young
abd3f5bc2b
Move footprints to EDA_ANGLE.
4 years ago