7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 13:19:18 +00:00
Commit Graph

756 Commits

Author SHA1 Message Date
JamesJCode
a5be581b1b Add char_traits<T> specialisations for wxUniChar and NANODBC_SQLCHAR
when building on Apple with Clang >= 17.

These specialisations are not strictly required by the C++ standard,
and have been removed from LLVM.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20631
2025-04-15 20:57:23 +01:00
dsa-t
352e0035cf OCCT 3D model export: fix copper fusing issues on StickHub GND and
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20515


(cherry picked from commit 2cebea3b04)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-04-14 00:16:31 +03:00
dsa-t
4faa00e262 OCCT 3D model export: don't skip pads with duplicate pad numbers for pad points data.
(cherry picked from commit dfb66e2fdb)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-04-13 22:42:39 +03:00
dsa-t
9111a65302 OCCT 3D model export: don't show fusing errors for non-copper pads.
(cherry picked from commit 09da370512)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-04-13 08:18:55 +03:00
Wayne Stambaugh
9228369617 Code clean up of board GenCAD exporter. 2025-04-11 09:33:44 -04:00
Wayne Stambaugh
4ae07d1122 Fix GenCAD arc track export when using board offset. 2025-04-10 10:11:00 -04:00
Brian Lu
ea4b2b73bb Pcbnew: VRML Export: Footprint-relative 3D Models
CHANGED: Provide the footprint base path as the working directory to the
3D shape cache such that 3D models relative to the footprint may be
correctly resolved when exporting a PCB as VRML.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14505
2025-04-10 06:55:26 -07:00
Wayne Stambaugh
7ce2b2b85f Fix broken GenCAD arc tracks export. 2025-04-09 14:39:55 -04:00
Wayne Stambaugh
c5ff61ba9c GenCAD board exporter fixes.
Strip leading zeros from copper layer mask string so the unique pad and
pad stack names are not 128 characters long.

Try a different fix for broken arc track orientations.
2025-04-06 17:53:49 -04:00
Wayne Stambaugh
642e4d37bc Include arc tracks when exporting to GenCAD. 2025-04-04 13:20:59 -04:00
Wayne Stambaugh
cf3dae0bb9 Fix assertions when exporting board to GenCAD.
Calling PCB_VIA::Width() without a layer will raise and assertion.  Check
if track is via when looping through a list of tracks and use the correct
width call.
2025-04-03 18:16:51 -04:00
Sean Mollet
380b5160d6 GENCAD export: Fixes to footprint hashing 2025-04-03 13:34:28 -04:00
Jeff Young
0a4533703c Performance. 2025-03-24 10:28:41 +00:00
Jeff Young
142f8265c5 Simplify (and fix) plated copper differentiation.
Also a few fixes for 3D rendering textboxes and
tables.
2025-03-17 20:11:20 +00:00
jean-pierre charras
60f65e68c1 Step export: handle castellated pads.
Only pads having the fab property "Castellated" are handled.
2025-03-17 11:14:53 +01:00
Jon Evans
77747aa41e Use UI order for drill report stackup
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20069
2025-03-16 11:13:14 -04:00
Jeff Young
50174ec528 Beware of infinite recursion on colliding hatched shapes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20264
2025-03-08 21:23:14 +00:00
Marek Roszko
4f4ece61bb Move the fp svg cli to more similar plot code 2025-03-04 23:01:00 -05:00
Jeff Young
f5d2b40c9e Compiler warnings. 2025-03-02 17:12:05 +00:00
jean-pierre charras
eaa1e6d594 Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header
2025-03-02 11:34:30 +01:00
Jeff Young
f951497a4f Code brevity. 2025-03-01 21:58:31 +00:00
JamesJCode
93549a649b Fix unused variable compiler warnings 2025-03-01 18:32:18 +00:00
Daniel Treffenstädt
3768221d9c ADDED: Support for IPC-4761 Via protection features
Fixes https://gitlab.com/kicad/code/kicad/-/work_items/18837
2025-03-01 18:02:54 +00:00
Jon Evans
4123f75d5a Re-add accidentally removed increment
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20069
2025-02-23 22:41:44 -05:00
Connor Goss
5a5759c41a Add IPC-D-356 Export to kicad-cli
ADDED: Added IPC-D-356 exporting to kicad-cli.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13951
2025-02-22 21:00:54 +00:00
Alex Shvartzkop
775b768833 Fix VRML layer Z positions after v9 layer changes.
https://gitlab.com/kicad/code/kicad/-/issues/19608
2025-01-20 03:30:38 +03:00
Jeff Young
a1fbff35e8 Formatting. 2025-01-17 22:07:07 +00:00
Jeff Young
044fe24293 Remove ability to specify fp sides for position file jobs. 2025-01-17 19:37:12 +00:00
Jeff Young
5524ff3770 Formatting. 2025-01-08 15:39:47 +00:00
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
2025-01-01 14:12:04 -08:00
jean-pierre charras
11f94283ef STEP exporter: export solder mask on tracks having a solder mask option.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18881
2025-01-01 15:14:23 +01:00
Ian McInerney
c0622eaa45 Avoid copies when using auto 2024-12-31 00:18:10 +00:00
Ian McInerney
7f8b88221d Initialize variables 2024-12-31 00:18:10 +00:00
JamesJCode
dfe0d6345b Another go at supressing FOOTPRINT field on FOOTPRINT objects 2024-12-28 21:57:35 +00:00
Marek Roszko
1d063e1420 Actually handle svg plot job failure correctly 2024-12-25 10:05:33 -05:00
Seth Hillbrand
e9bc8cfe9d Give Clipper1 a Viking funeral
Clears out the last spot where we were only using Clipper1 (how'd I
miss that?) and remove all calls to the Clipper1 structures
2024-12-23 17:12:09 -08:00
Alex Shvartzkop
418c8592aa Allow to control via hole cutting in board body/copper.
- "Fill all vias" option disables the cut in copper layers which is
  important to speed up EM simulations.
- "Cut vias in board body" enables cutting even if copper layer export
  is disabled, which is useful if you're using vias as mounting holes.

Related: https://gitlab.com/kicad/code/kicad/-/issues/18735
2024-12-20 23:28:46 +03:00
Jan Wichmann
8d015b2967 pcbnew: Respect options when STEP exporting graphical and text items
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19116
2024-12-10 13:54:47 +00:00
Marek Roszko
af8f25875b Get the pcb plot dialog hooked up to jobs editing 2024-12-09 07:17:38 -05:00
Seth Hillbrand
bf6a255a3e Move more elements from fixed size arrays
Refactor layer data storage from compile-time array sizes to run-time
map storage
2024-12-03 13:25:11 -08:00
Jon Evans
4f4a8dec24 Remove OCC version build warning 2024-12-01 23:39:56 -05:00
Alex Shvartzkop
1838b2656d Print pad areas for XAO export. 2024-11-15 11:47:25 +08:00
Jon Evans
898ea8e13a IPC-D-356 export improvements for padstacks 2024-11-06 18:43:27 -05:00
Alex Shvartzkop
3b987776c7 ADDED: STL and PLY (since OCCT 7.7.0) 3D model export. 2024-11-04 16:15:02 +03:00
jean-pierre charras
a4292ea516 Gerber and drl files (& drl filenames): fix issues due to layer renumbering. 2024-10-14 18:46:18 +02:00
Jon Evans
2a605e4a4e Infrastructure and file format for via stacks 2024-10-06 18:45:25 -04:00
Alex Shvartzkop
1b540752d9 OCCT (STEP) export: fuse pad shapes earlier.
Because OCCT doesn't like fusing track segments with 3-part TH pads sometimes.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18799
2024-10-06 12:28:29 +03:00
John Beard
3d6d8b9946 Strip richio.h from headers that don't need them
Like the DSNLEXER header, this has visibility in over 700
files, whereas well under half actually use any of it
(quite a bit, but not all, of it actually via DSNLEXER)

Many places already forward-declare the OUTPUTFORMATTER type,
by doing that for the others, it still possible to use the
non-IO methods without having to see richio.h.
2024-10-04 18:06:18 +01:00
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
2024-10-01 19:55:03 -04:00
Marek Roszko
d74caace0a Initial jobset creation and running within the CLI and GUI.
Incomplete, just pushing this before feature freeze, much fixing left
2024-09-30 20:04:53 -04:00