Alex Shvartzkop
05a8e59884
Move wxString and std::optional JSON serializers to core header.
2 years ago
Alex Shvartzkop
5b438d6398
Optimize makeEffectiveShapes for polygons.
2 years ago
Alex Shvartzkop
f211b2cdd0
Remove unused method from router_tool.h
2 years ago
Alex Shvartzkop
1b8abdfde7
ADDED: Basic STEP manipulation utils available to Python.
2 years ago
Alex Shvartzkop
52feb38fd1
Add map_helpers.h
2 years ago
jean-pierre charras
ecd8c7e2cc
Fix a compil issue (in sch_altium_plugin.cpp) and compil warnings.
2 years ago
Marek Roszko
e665cbac20
Delete line with weird comment because its weird
We should fix it for reals
2 years ago
Marek Roszko
e944a61830
Nothing but the pcb calc will use eseries for the forseeable future
2 years ago
Marek Roszko
96bec8c553
promote base64.cpp to core
2 years ago
Marek Roszko
72669df354
Kick out strtok_r, all our platforms should have it (or strtok_s)
2 years ago
Marek Roszko
f45d61ef18
OUTLINE_FONT does not need Pgm() or settings or EDA_TEXT
2 years ago
Marek Roszko
19db0f943f
Restore gal recursive link to common
2 years ago
Alex Shvartzkop
9457e794fe
Fix SCH_BITMAP::ReadImageFile( wxMemoryBuffer& ).
2 years ago
Alex Shvartzkop
69261df022
Add SCH_BITMAP::ReadImageFile( wxMemoryBuffer& ).
2 years ago
Marek Roszko
10c495952e
Snip 2 useless includes in transform.cpp
2 years ago
Marek Roszko
5c62b98e7c
observable can live in core
2 years ago
Marek Roszko
81c069c1a3
Lets see if any platform barfs dropping gal's link to common
2 years ago
Marek Roszko
454c5e8eca
3d-viewer should depend on common directly
2 years ago
Marek Roszko
67b031adab
Painter base class should just live in gal instead of being in denial
2 years ago
Marek Roszko
a6a20bf8dc
Evict the Pgm() dependency in GAL
2 years ago
Josue Huaroto
cef0f176d3
Add Unselect all in menu
2 years ago
Marek Roszko
a7a642e090
Remove one errant gal dependency on python
2 years ago
Marek Roszko
8bcc4e52aa
Fix build due to gdicmn removal
My VS build state is in psuedo-outerspace mode atm that this worked before this haha
2 years ago
Marek Roszko
a4d8c021aa
Remove rouge gdicmn include
2 years ago
Marek Roszko
4d77fd48ef
Shove thread_pool to core
2 years ago
John Beard
3c5052c1ac
Add snaps to pad hole edges
This is often useful when measuring the distance from an
object to a pad hole edge, and also when dimensioning
holes.
2 years ago
John Beard
78c8de9b08
Fix oval pad snapping
Previously the snap points computed for oval pads didn't get all the
points correct. This breaks out the "find snap points for ovals"
into a function, reworks the logic, adds some tests.
Also adds "extremum points" when the oval isn't exactly H/V.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15594
2 years ago
Seth Hillbrand
08ffb17489
Only allow parameters for the full lib part in Altium
2 years ago
Seth Hillbrand
25a60fac54
Altium fixes
- Designators and Parameters are shared by all display modes, so don't
try to extract one, just place the elements on them all
2 years ago
Seth Hillbrand
468beb5a05
Handle font sizes in Altium libs
2 years ago
Seth Hillbrand
893ebdd016
Adding additional Altium features
- Allow pins to be hidden
- Force backgrounds that overlap items to be in the background
- Include footprint information from Altium libraries
- Handle ellipses more intelligently
- Altium hairline treated as 1mil line (not 100nm)
2 years ago
Seth Hillbrand
1555b207a8
Add PIN_NAME and PIN_NUM to the layer ordering
This ensures that pin names/numbers are shown above the graphics
2 years ago
Seth Hillbrand
c7868f0832
Altium Plugin updates
Handle Altium multiple display modes (e.g. DeMorgan)
Handle Altium overbar format (o\v\e\r\b\a\r\)
Transform ellipses and elliptical arcs into approximate arcs
Add remaining unknown RECORD ids
2 years ago
Seth Hillbrand
3bd745ee15
Add support for Altium ellipses
Not really ellipses but instead, use two arcs to simulate
2 years ago
Seth Hillbrand
1662f6aad6
Speed up footprint loading by caching
Store the COMPOUND_FILEs in a map referenced to the library name. This
keeps the COMPOUND_FILE cache in memory rather than regenerating it each
time
2 years ago
Seth Hillbrand
1b63d11adf
Speed up Altium compound file reader
Just read the footprint list once and store the cache for later use.
2 years ago
Seth Hillbrand
b8b2498e0c
Add support for fp cutouts in Altium libs
2 years ago
Seth Hillbrand
24d3df5416
ADDED: Altium SchLib Support
2 years ago
Seth Hillbrand
cb3c712a9c
ADDED: memberOfSheet() design rule function
Footprints that are a member of a specific sheet may be assigned
distinct rules, allowing users to group their rules based on sheet
layout
2 years ago
Seth Hillbrand
f9b745f3d2
Allow multiple format image saving
- Keep original image data. When loading JPEG, this avoid recompression
that changes file data and decreases image quality
- Allow schematic and page layout editors to store non-PNG data as well
- Move page layout editor to store base64 instead of hex-coded data
2 years ago
Seth Hillbrand
0e382669d0
ADDED: Support for saving JPEG files in kicad_pcb
When users add an image to the board, this change keeps the original
file format when saving instead of converting the files into PNG-format,
which had the effect of making some board files much larger and slower
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14892
2 years ago
jean-pierre charras
efdead2008
Gerbview: added (in Layers Manager) a new setting to adjust draw offset
and rotation of the active layer. This is a draw option only.
2 years ago
Seth Hillbrand
2be87e4527
Fix Portuguese(Brasil) translation naming
On case-sensitive systems, the country code needs to be capitalized for
the language to be correctly identified between two dialects. Since
`br` was not capitalized, we fell back on european portuguese for Linux
and MacOS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15592
2 years ago
Jeff Young
6a73f48106
Disable previews when context menu active and when scrolling.
2 years ago
Jeff Young
c07e9c834f
Validate new footprint / save as footprint info before exiting dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13923
2 years ago
Jeff Young
7a2a2e2df0
Remove error-prone SetReporter() API.
2 years ago
Alex Shvartzkop
e09a15ae4c
Altium PCB import: fix rectangular keepout fills.
2 years ago
Alex Shvartzkop
4f303a8dc2
Altium PCB import: Polygon Cutout only cuts copper fill.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15587
2 years ago
Alex Shvartzkop
ee2f954bbe
Revert "Set reporter in DIALOG_SIM_MODEL::TransferDataToWindow."
This reverts commit 26f398a4b1
.
2 years ago
Marek Roszko
4fe7c7a902
Prevent crash trying to load missing spice lib
2 years ago