jean-pierre charras
7256a51e8e
Fixes in build board outlines as polygon and convert_shape_list_to_polygon:
- Ensure Bezier curves have their polygon build before use it.
- When building board outlines as polygon the same chaining epsilon value
for DRC, export step and 3D view (default 0.01mm).
Fixes #14115
https://gitlab.com/kicad/code/kicad/issues/14115
Fixes #14009
https://gitlab.com/kicad/code/kicad/issues/14009
3 years ago
Ian McInerney
912f1d5cec
Modernize setting link map linker flags
3 years ago
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
3 years ago
Jeff Young
7bb006c91d
Spacing & font-size issues in 3D model preview dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/13880
3 years ago
Marek Roszko
d55e2049e5
Silence some warnings with static_casts
3 years ago
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
Marek Roszko
5ccf205788
Try and avoid crashing on gl context creation failure in the 3d viewer
Sentry event id 0ad4afa6b86a4a03ad7f8fdbcdb72f86
3 years ago
aris-kimi
dca1281263
Fix some typos
3 years ago
jean-pierre charras
90e759e738
Dialogs: minor cosmetic fixes (reduce a few spaces between widgets)
3 years ago
Jeff Young
203f0f66fb
Guard 3D viewer against degenerate shapes.
Fixes https://gitlab.com/kicad/code/kicad/issues/13693
3 years ago
Wayne Stambaugh
68decdd4f2
Fix static event table derived object definitions.
3 years ago
Mike Williams
fad589e151
Footprint preview: fix group assert
3 years ago
Marek Roszko
b3f55e7f8b
Ensure glew is initialized in the 3d model viewer
Fixes KICAD-7M
3 years ago
Seth Hillbrand
a9ed47f06c
Update KICAD6->KICAD7
3 years ago
Marek Roszko
ac94995f70
Some more wxS
3 years ago
Jeff Young
30c9deb9d5
Flat(er) look for paged dialogs.
3 years ago
Alex
1dd25dd196
3d-viewer: prevent max zoom+frustum from growing infinitely at reload.
Fixes https://gitlab.com/kicad/code/kicad/issues/13381
3 years ago
Wayne Stambaugh
4687cd1ddb
3D viewer properties dialog layout improvements.
3 years ago
Wayne Stambaugh
eba231a8bb
3D model selection dialog layout improvements.
3 years ago
Jeff Young
4794956804
Minor dialog adjustments.
3 years ago
Gary Kim
8e8a3c7bdc
Do not translate name in version info
Leave the application name in version info untranslated when
viewed, copied, or used in a bug report.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13298
3 years ago
Jeff Young
4c63b4e061
Class name <-> file name sync.
3 years ago
Mario Luzeiro
089d8b9cc1
3D-Viewer: Bind to a texture so glTextEnv will work.
Fixes https://gitlab.com/kicad/code/kicad/issues/11641
3 years ago
Jeff Young
90e8790137
Re-add flush lost in last edit.
Fixes https://gitlab.com/kicad/code/kicad/issues/12731
3 years ago
Jeff Young
c771d866f5
Cleanup 3D caches before d'tors run.
Fixes https://gitlab.com/kicad/code/kicad/issues/10973
3 years ago
Jeff Young
f805fd267f
Divorce UNIT_BINDER from wxFrame.
This allows us to supply Pcbnew or Eeschema as the unitsProvider when
called from the main frame.
Fixes https://gitlab.com/kicad/code/kicad/issues/13066
3 years ago
jean-pierre charras
9e0515a79a
3D viewer: ensure dielectric thickness of all dielectric sub-layers is used.
Previously, when a dielectric layer had sub-layers (i.e.when a dielectric
is made from more than one layer) only the first sub-layer thickness was used.
Fixes #13042
https://gitlab.com/kicad/code/kicad/issues/13042
3 years ago
Jeff Young
78db69bb48
Don't append '+' when modifier used on its own.
3 years ago
Jeff Young
757c33ea13
Fix MRU logic errors.
The most serious was that we were keeping a reference to a string
which changed out from under the reference when it was deleted from
the wxArrayString.
Fixes https://gitlab.com/kicad/code/kicad/issues/12770
3 years ago
Jeff Young
f6c441c434
Viewport switcher keys are platform-specific.
Also fixes a regression where ctrl-tab doesn't get recognized.
Fixes https://gitlab.com/kicad/code/kicad/issues/11778
Fixes https://gitlab.com/kicad/code/kicad/issues/10127
3 years ago
Jeff Young
53796f2be6
Selection will always be the same after choice in toolbar popup.
Fixes https://gitlab.com/kicad/code/kicad/issues/12769
3 years ago
Jeff Young
ef17ee3384
Tooltips for layer & viewer presets.
Fixes https://gitlab.com/kicad/code/kicad/issues/11778
3 years ago
jean-pierre charras
e5182dd749
Fixes in 3D viewer
Fixes #12769
https://gitlab.com/kicad/code/kicad/issues/12769
Fixes #12765
https://gitlab.com/kicad/code/kicad/issues/12765
3 years ago
Wayne Stambaugh
f6297d328c
Fix 3D viewer canvas timer event clash.
3 years ago
Jeff Young
cef7cd8f7c
Move default font to RENDER_SETTINGS.
Fixes https://gitlab.com/kicad/code/kicad/issues/12723
3 years ago
Jeff Young
d16b23d16e
Name shortening and line-break reduction.
3 years ago
Jeff Young
b3ddd09c44
Unit-binderize board thickness.
3 years ago
Jeff Young
1fc5ecae6e
Minor dialog layout improvements.
Fixes https://gitlab.com/kicad/code/kicad/issues/12497
3 years ago
Kliment
11e20e52e9
Recreate stackup from thickness as necessary and fix unit handling to use EDA_UNIT_UTILS
3 years ago
Simon Schaak
552e8af6af
Properly handle limits
4 years ago
Simon Schaak
798cd567d5
Use board stackup information when available
4 years ago
Simon Schaak
589f1058ca
Make 3D model preview board thickness adjustable
4 years ago
jean-pierre charras
5b8cf96736
3D viewer: catch an exception thrown when a fp library is not found in table,
when the 3D viewer try to rebuild the 3D shape of a footprint.
Fixes #12524
https://gitlab.com/kicad/code/kicad/issues/12524
3 years ago
Marek Roszko
707a598e5d
Prevent a crash due to the 3d preview dummy board stealing setting ownership
3 years ago
Marek Roszko
c50b4fb04f
Add relative to footprint 3d model path resolution
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2073
3 years ago
Marek Roszko
8e96751af2
Strip out and migrate 3d search paths in favor of env vars
This mainly stops reading/writing 3dresolver.cfg
We still keep some sillyness for kicad2step for now
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9164
3 years ago
Ian McInerney
40ff7cb9bd
Fix some UI element spacing in settings panels
3 years ago
jean-pierre charras
22cd2a3428
3D viewer: add option to show/hide fp not in position file.
Previously they were not shown, and this is really bad, because
"not in pos file" does not mean never mounted, and not even not mounted.
3 years ago
Jeff Young
64a6fc0fd4
Push UNITS_PROVIDER down into a low-level mixin.
This allows us to also construct cheap UNIT_PROVIDERs for specific
tasks when necessary.
3 years ago
Jeff Young
45d6b4a9fc
Readability improvements.
3 years ago