Jeff Young
5f2a758160
Make sure legacy colours always works.
Also, don't line wrap "Use PCB editor copper colors".
3 months ago
jean-pierre charras
7abfda2b4f
3D viewer: do not change anything in the board shared by the FP editor.
Especially, the BOARD managed by FP editor had is m_project member reinitialized
when creating the 3D viewer, thus creating issues in FP editor, and create
a crash when closing kicad
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20964
(cherry picked from commit 6a9b427562
)
5 months ago
Jeff Young
f82760f6e3
Reset colors on Reset to Default Settings.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20624
6 months ago
Jeff Young
d45fbaca96
Don't bleed settings between 3D viewer and 3D footprint preview.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17353
(cherry picked from commit 533551f014
)
7 months ago
Jeff Young
b007cb143d
User-defined layers for 3D viewer.
(cherry picked from commit f33f10bb38
)
7 months ago
Jeff Young
491af0df39
When following board or plot settings, write results to current config.
Also adds migration from older layer numbers to strings.
This may require users to dump their 9.0 settings files
(which will have the wrong layer numbers in them), but
those files are often useless anyway as they'll already
have messed up colours if they were migrated from 8.0.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18709
7 months ago
Jeff Young
8874f137fa
Read hotkeys from disk after they change.
(Otherwise we'll write the old versions back out
when closing one app.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19612
8 months ago
Seth Hillbrand
c436207659
Update new bitmaps
Forgot to commit the bitmap_info previously
Updated the jobset to be usable for new and open forms
Added remaining icon references
8 months ago
Wayne Stambaugh
42a1d1cf0b
Include folder and 3D viewer code housekeeping.
9 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
9 months ago
Seth Hillbrand
fbbb642c0c
Move all nlnav to unique_ptrs
7daded7c60
moved them to bare pointers but
this was not required to allow forward declarations. We only need to
place the CTOR/DTOR fully in the cpp file where the nlnav headers are
included
9 months ago
Jeff Young
753d385473
Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
10 months ago
Jeff Young
7a4b3602b9
Reduce dependency on dynamic_cast.
(3DViewer crosses compile boundaries when run from
CvPCB.)
10 months ago
Dhineshkumar S
d2e51fdb5f
Fix 3D viewer omission of STEP models with relative path assignment
The project was not assigned to the board in the 3D viewer frame,
resulting in a failure to locate the relative path for STEP models.
To fix this, the current project should be assigned to the board in
the 3D viewer frame.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16242
11 months ago
Jeff Young
94f995c49e
Reduce dependency on dynamic_cast.
(Especially where it is no-worky on MacOS.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17245
1 year ago
jean-pierre charras
1f608ec2b0
3D viewer: add option to use board editor copper colors for copper layers.
This is useful to analyze multilayers boards
1 year ago
Tomasz Wlostowski
9963b9dd9f
TOOL_INTERACTIVE: only create the context menu when we are running in GUI mode
TOOL_MENU::m_menu was unconditionally created by the TOOL_INTERACTIVE constructor, resulting in crashes if
we wanted to run the TOOLs in headless mode, e.g. in unit tests. This commits makes
the creation of the menu object dependent on Pgm::IsGui().
1 year ago
Jeff Young
3b6a33c59a
Fill in a lot more calls to DIALOG_SHIM::OnModify().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18443
1 year ago
Jeff Young
3f9eb0e18d
Must do a two-step default for legacy colours.
1 year ago
Jeff Young
931de12072
Use wxWidgets to track DPI.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
1 year ago
Jeff Young
e3f77cd410
Handle DPI_CHANGED events for 3D canvases.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
1 year ago
Jeff Young
f84b66b985
Change 3D Viewer default to follow-plot-settings.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17060
1 year ago
Alex Shvartzkop
2c73f74112
Use bitmap bundles in 3D viewer toolbar.
1 year ago
Alex Shvartzkop
16e3692e71
Build time optimizations.
1 year ago
Alex Shvartzkop
f6f0b9a661
ADDED: PCB 3D image raytracing rendering from CLI.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/3691
2 years ago
Marek Roszko
16953edf6d
Move APPEARANCE_CONTROLS_3D to the lang change event
2 years ago
Alex Shvartzkop
337489c77d
Do not reload window sizes when changing 3D viewer settings.
2 years ago
Jeff Young
8dddd9cc2c
Separate "use board stackup colors" into separate checkbox.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17085
2 years ago
Alex Shvartzkop
80457d5871
Support transparent background in 3D viewer PNG/clipboard export.
Only really works with realtime renderer currently.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12060
2 years ago
Jeff Young
ca3cd706e5
Show friendly name in toolbar button tooltips.
(Don't require the same text to be put into the tooltip.
It's error-prone and also disallows us from having a separate
tooltip for toolbar buttons.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17009
(cherry picked from commit f4a085575a
)
2 years ago
jean-pierre charras
9622918c31
3D view export to PNG/JPEG: ensure highlighted item under cursor is exoperted
not highlighted.
Fixes #14289
https://gitlab.com/kicad/code/kicad/-/issues/14289
2 years ago
Jon Evans
7b0bb59b37
Remove hard-coded versioned env vars in most places
2 years ago
Marek Roszko
93b9fb9124
Fix crash switching footprints with 3dviewer OPENGL
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16802
2 years ago
Jan Wichmann
693248f60f
pcbnew: 3d viewer: disable show DNP footprints by default
2 years ago
Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2 years ago
Wayne Stambaugh
81cec494f2
Fix string grammar in 3D viewer.
2 years ago
Jeff Young
f9530d0b3f
Remove "Reset View", which does the same as "Home View".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16115
2 years ago
Ian McInerney
171458a27b
Introduce action friendly names
Friendly names can be used to display action information that is clearer
in non-hierarchical contexts (e.g. not in menus).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8075
2 years ago
Marek Roszko
bee6e6be01
AddMenuLanguageList should live in EDA_BASE_FRAME, its only user
2 years ago
Jeff Young
d5d07e64c9
Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible.
4 years ago
Marek Roszko
6b12a12b3e
On second thought rename PROJECT_PCBNEW to PROJECT_PCB
2 years ago
Marek Roszko
7e8b18035f
Eliminate the conditional pcbnew/cvpcb definition of PROJECT
2 years ago
Jeff Young
51f6d38d08
Title case for menus.
2 years ago
Marek Roszko
f8e33be07f
Break out the boundary violating parts of gal into common through subclassing
2 years ago
Jeff Young
c1a988e3ff
Handle plated vs non-plated copper for copper other than pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5569
2 years ago
Jeff Young
78f70b45e6
Minor readability improvements.
2 years ago
Jeff Young
8d06a794f4
Simplify code.
DrawAllCameraCulled() can handle up to 4 knockout lists, and any
of them can be null, so don't dance around how we call it.
2 years ago
Jeff Young
0126841c44
ADDED: 3D appearance setting for off-board silk.
2 years ago
Marek Roszko
a6a20bf8dc
Evict the Pgm() dependency in GAL
2 years ago
Jeff Young
4eb51be0a2
Streamline fetching topLevelParent.
2 years ago