jean-pierre charras
42c67b40b1
fix issues in ROUNDRECT: Fix incorrect ROUNDRECT Ctor.
- Do not throw an error in CTor: this is not the place. It is much easy to
fix the value of incorrect radius.
Moreover, the Ctor is called without catching a throw-ed error in code.
- fix the test about radius validity, broken.
From master branch.
2 months ago
jean-pierre charras
5ae3c55a99
Step exporter: fix overzealous validity test.
When converting poly shapes with arcs in STEP_PCB_MODEL::MakeShapes,
when an error happens, a second try is made using a full polygonal shape.
However a fatal error was emitted at the first attempt, before the second try.
Now at first try, only a debug message is emitted on error. The fatal error
is emitted only if the second try fails.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21589
(cherry picked from commit aeafbe48fe )
2 months ago
Jeff Young
54e9a97b26
ADDED: separate front/back silk and mask colours for STEP export.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21593
(cherry picked from commit acc7b1e508 )
2 months ago
Jeff Young
1e3b879d93
Run collision check on correct layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21586
2 months ago
Seth Hillbrand
7ca6a93436
Don't both designers with unneeded changes
If we are not asking for fields to be removed when updating, then don't
say we're doing anything if all we have to do is remove fields
(cherry picked from commit ea8206eca5 )
2 months ago
jean-pierre charras
05c11d023f
GERBER_JOBFILE_WRITER: fix incorrect layer id in File Attributes for inner layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21569
(cherry picked from commit 9725ac2215 )
2 months ago
jean-pierre charras
996c3d7fa1
PAD: better HitTest( const VECTOR2I& aPosition, int aAccuracy, PCB_LAYER_ID aLayer )
(cherry picked from commit b349f1988a )
2 months ago
jean-pierre charras
b204742fe3
Pcbnew: fix teardrop generation for pads having different shapes by layer.
Teardrop generator used pad::HitTest not testing the hit of a specific layer.
It created false test for some complex pads. Now use a test specific to a layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21560
(cherry picked from commit 963aa47778 )
2 months ago
Emmanuel Vera
2b8e62e0b9
Update power filter for power symbols placement
(cherry picked from commit b5df0ad3eb )
4 months ago
jean-pierre charras
c3d122becf
French translation cleanup and update
2 months ago
John Beard
43c828474a
Pcbnew: fix sensitivity of via placement to large grids
Another case where large grids are overly "grabby" for snaps.
In this case, because the via was moved to the grid-snap first,
and then THAT position was used to look for things like pad-snaps,
the pad snaps would not be found if a coarse grid meant the cursor
was outside the pad.
Instead, use the mouse position when looking for the non-grid snaps
in VIA_PLACER::SnapItem.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18626
(cherry picked from commit 0f0527bd03 )
2 months ago
John Beard
8073185c36
Pcbnew: use R-tree for pad checks in via place tool
Otherwise this is an O(n-pads-on-board) operation for every new
candidate via position.
(cherry picked from commit 3d8803f579 )
2 months ago
Jeff Young
f1ddcfe799
Expose shape in prop inspector for sheet pins.
(cherry picked from commit 3058bc6355 )
2 months ago
jean-pierre charras
9d6f9c84d0
French translation update
2 months ago
jean-pierre charras
680a693c04
DIALOG_CHANGE_SYMBOLS: fix hanging is some cases and shows a better message.
When (happens after converting old schematics to the new format) trying to
update symbols having a bad lib id can hang Eeschema (infinite loop)
It can easily happens when the user has badly converted the schematic.
Also display a error message when happens.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21536
(cherry picked from commit 61aeea9237 )
2 months ago
Alex Shvartzkop
4f72dd421a
REPORTER's HasMessage indicates that any message got reported, not stored.
2 months ago
dsa-t
bc533de0a3
Revert "Use board stackup colors by default in 3D render job."
This reverts commit f7380ae015
2 months ago
dsa-t
c08109d63e
Revert "Add FOLLOW_PCB, FOLLOW_PLOT_SETTINGS appearance presets to 3D render job dialog."
This reverts commit efc6c3e45e
2 months ago
Jeff Young
b11f0a31b9
Read legacy tokens before current tokens.
(So current can overwrite.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21525
(cherry picked from commit 03c230dd64 )
2 months ago
Jeff Young
f6fabdc8ee
Don't double mirror groups.
Also removes previous fix, which had side-effects.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8121
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20465
(cherry picked from commit 3f85071f91 )
2 months ago
Jeff Young
965abb46d0
Avoid div-by-zero.
(cherry picked from commit c287d9a222 )
3 months ago
Jeff Young
c9f53c607e
Fix missing initialization.
(cherry picked from commit de1c6c86ab )
3 months ago
Jeff Young
7b91b51bcf
Add spacing for Mac file dialog custom controls.
(cherry picked from commit e841ca1906 )
3 months ago
Jeff Young
a3354dc352
Always provide a SCH_SCREEN to SCH_COMMIT.
Fixes KICAD-YKY
(cherry picked from commit a0940b10d4 )
3 months ago
Jeff Young
6723964cdd
Fix copy/pasta.
(cherry picked from commit c2f953e3f7 )
3 months ago
Jeff Young
df5f4ba541
Improve quasimodal comment.
(cherry picked from commit c85e5c08e4 )
3 months ago
Jeff Young
926f41a0f5
Don't show locked shadow in pad preview.
(cherry picked from commit 60dbfd3eec )
3 months ago
Jeff Young
db801c8d7e
Remove stale comment.
(cherry picked from commit 3f1f9e8e72 )
3 months ago
Jeff Young
ad433b9468
ADDED: follow-pcb and follow-plot-settings to render job settings.
Also added Follow-board-stackup-colors to both
render job settings and render CLI arguments
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21341
(cherry picked from commit 2e629ca55c )
3 months ago
Jeff Young
1eefb2b70a
Allow deletion of nested embedded files.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20581
(cherry picked from commit ea84879b06 )
3 months ago
Jeff Young
3d6527c1be
Formatting.
(cherry picked from commit 7240128130 )
3 months ago
Jeff Young
319530ad01
Grid is already updated by AddFile() callback.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20565
(cherry picked from commit 2c3408aad5 )
3 months ago
Jeff Young
24efca1db1
Focus second column control after property grid navigation.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20651
(cherry picked from commit 95da436ddd )
3 months ago
Alex Shvartzkop
a009d859d0
Fix some warnings.
2 months ago
Alex Shvartzkop
44a3bb9274
Prevent jobs from affecting each other via reporters when running jobsets from CLI.
2 months ago
Alex Shvartzkop
72e1904708
Fix ODB++ path creation.
2 months ago
Alex Shvartzkop
279a30974e
Increase default precision in ODB++ export job dialog.
2 months ago
Alex Shvartzkop
efc6c3e45e
Add FOLLOW_PCB, FOLLOW_PLOT_SETTINGS appearance presets to 3D render job dialog.
2 months ago
Alex Shvartzkop
f7380ae015
Use board stackup colors by default in 3D render job.
2 months ago
Alex Shvartzkop
26b6c28bef
EasyEDA import: Add footprint Reference text on F_Fab.
2 months ago
Alex Shvartzkop
8cd7b73b2a
EasyEDA import: Build basic Courtyard box for footprints.
2 months ago
Alex Shvartzkop
c2d31699bf
EasyEDA import: Place component shape and marking on F_Fab.
2 months ago
Alex Shvartzkop
47c5918c3d
Add green color indication to length tuning status popup.
2 months ago
Alex Shvartzkop
12cf3f9301
router: Inline drag by track end even if cursor is slightly outside the track shape.
2 months ago
Alex Shvartzkop
013aab58d6
Update golden ERC QA files after 316a9511e8
2 months ago
Alex Shvartzkop
316a9511e8
Show errors before warnings in DRC/ERC.
2 months ago
Alex Shvartzkop
29fadcb931
Update translations
2 months ago
Pedro Moreira
d73fecd2a1
Translated using Weblate (Korean)
Currently translated at 98.6% (9933 of 10065 strings)
Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/ko/
3 months ago
CloverGit
35caf91c31
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.9% (10059 of 10065 strings)
Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/zh_Hans/
3 months ago
2tama3
352cf21ffc
Translated using Weblate (Japanese)
Currently translated at 100.0% (10065 of 10065 strings)
Translation: KiCad EDA/v9
Translate-URL: https://hosted.weblate.org/projects/kicad/v9/ja/
3 months ago