Commit Graph

35246 Commits

Author SHA1 Message Date
Syres916
92707a75cd [Gui] Add HourGlass markers including larger sizes 2023-11-28 23:55:10 +01:00
Paddle
89b9a21db5 Core: Hide macro toolbar by default. 2023-11-28 23:46:29 +01:00
wmayer
f4b0a8160c MSYS: fix broken Qt6 build using MinGW & clang 2023-11-28 19:11:58 +01:00
wmayer
d88d076d51 MSYS: fix the following warning for MinGW & gcc:
'bool App::StringID::isBinary() const' redeclared without dllimport attribute after being referenced with dll linkage
2023-11-28 16:16:34 +01:00
wmayer
559a746507 MSYS: fix build failure with MinGW & gcc 2023-11-28 16:16:34 +01:00
Jacob Oursland
923702ccb9 conda: pin coin3d to v4.0.0 until a fix to v4.0.1 is released. 2023-11-28 12:06:39 -03:00
Jacob Oursland
27b58fd410 Add conda and mamba to the conda-devenv. 2023-11-27 16:24:11 -03:00
wmayer
3f7e4d42e5 fixes #11533: TypeError in: FreeCADGui.getMainWindow().windowStateChanged 2023-11-27 11:30:41 -06:00
Yorik van Havre
3ade39ccf1 Translations (#11551)
* Updated ts files

* merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
sliptonic
594cfb924b Merge pull request #11549 from wwmayer/sketcher_security_checks
Sketcher: add security checks to avoid possible undefined behaviour
2023-11-27 10:28:14 -07:00
Kacper Donat
97b00f045d Add .vscode folder to .gitignore 2023-11-27 18:23:32 +01:00
Pesc0
46529fa897 downgrade cmakepresets version 2023-11-27 11:22:02 -06:00
Chris Hennes
7f2175f8a0 Merge pull request #11540 from kadet1090/rework-preferences-navigation
Gui: Add ScrollArea to Preferences and auto expand groups
2023-11-27 11:20:48 -06:00
mwganson
6ea4a743b1 [Part::Mirroring] Add support for mirror plane reference object 2023-11-27 11:17:48 -06:00
Chris Hennes
b43f981d15 Merge pull request #11519 from Rexbas/rotation-center-zoom
Gui: Update rotation center indicator after zoom
2023-11-27 11:08:42 -06:00
wmayer
db314cfaeb Gui: fix drag and drop of ViewProvider
* ViewProvider::canDragAndDropObject should only return true if an extension handles drag and drop
  Currently it returns true if no extension is available
* ViewProvider::dropObject shouldn't throw an exception if no extension handles drag and drop

As an example consider https://forum.freecad.org/viewtopic.php?t=82957
When selecting two objects then ViewProvider::dropObject is called twice. But for the first call both objects are moved to the destination
and for the second call no extension handles drag and drop any more. This incorrectly leads to a thrown exception.
2023-11-27 11:07:29 -06:00
Yorik van Havre
d565796f96 Start: Allow dynamic translation of start page (#11513)
* Allow dynamic translation of start page - fixes #9996
* [pre-commit.ci] auto fixes from pre-commit.com hooks
2023-11-27 11:06:27 -06:00
Paddle
70d81f4b51 Sketcher : remove deleteAllConstraints from toolbar. 2023-11-27 11:00:50 -06:00
bgbsww
08d84fce15 Add readonly length properties to part helix and spiral (#11406)
* Add readonly length properties to part helix and spiral

* Comment to explain non obvious Mass as Length
2023-11-27 10:52:23 -06:00
bgbsww
d472927bba Correct PartDesign Helix feature negative angles (#11399)
* Correct PartDesign Helix feature negative angles

* Whitespace
2023-11-27 10:51:12 -06:00
bgbsww
185e58a219 Use placement only on new objects 2023-11-27 17:46:45 +01:00
bgbsww
18e117b184 Fix variable name, clean 2023-11-27 17:46:45 +01:00
bgbsww
2643fd3334 Take Placement into account when applying boolean 2023-11-27 17:46:45 +01:00
Chris Hennes
fa65438556 Core: Enable compiling with MSVC /permissive- (#11014)
* Base: Fixes for MSVC permissive-

* App: Fixes for MSVC permissive-

* Gui: Fixes for MSVC permissive-

* Main: Fixes for MSVC permissive-

* Fem: Fixes for MSVC permissive-

* Material: Fixes for MSVC permissive-

* Part: Fixes for MSVC permissive-

* Mesh: Fixes for MSVC permissive-

* Points: Fixes for MSVC permissive-

* Robot: Fixes for MSVC permissive-

* TechDraw: Fixes for MSVC permissive-

* Path: Fixes for MSVC permissive-

* Core; Changes per review comments

* TD: Revision from wandererfan

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
Roy-043
484bbf3807 Draft: improve handling of anno DisplayMode and LineSpacing
* DisplayMode controlled by new pref DefaultAnnoDisplayMode. This replaces the old dimstyle pref.
* LineSpacing pref is now used when creating annotations. Will be added to prefs ui later.
* format_object no longer changes FontSize as this conflicted with the height parameter in the make_text function.
* make_text function updated.
2023-11-27 15:45:56 +01:00
wmayer
f6d0340abc Sketcher: add security checks to avoid possible undefined behaviour 2023-11-27 10:58:50 +01:00
Paddle
5a4a358f13 hor/ver tool, remove unused variables 2023-11-27 10:44:25 +01:00
wmayer
b9899b2dd8 Material: add QRegularExpression to PCH 2023-11-27 00:34:43 +01:00
wandererfan
59282956bf [TD]fix wrong include 2023-11-26 16:42:06 -05:00
wandererfan
f03461a85a [TD]spelling in comments 2023-11-26 16:42:06 -05:00
wandererfan
ca90c73811 [TD]trap null 2d shape in ShapeExtractor 2023-11-26 16:42:06 -05:00
Kacper Donat
dd94f6da03 Gui: Expand group after selection
This commit ensures that after selecting item the group is automatically
expanded. User can force expansion by explcitly clicking expand button,
groups expanded that way will stay expanded unless user collapses them.
Otherwise non-active group will be collapsed automatically.
2023-11-26 20:25:06 +01:00
Kacper Donat
b147fe00a7 Gui: Add ScrollArea to Preferences
This adds QScrollArea widget to DlgPreferences which in turn allows
preference pages to be scrollable. Stacked widget sizes are forced to
selected widget so scroll area should appear when it is needed.

Fixes #11511
2023-11-26 16:01:22 +01:00
pavltom
84982fb25d [TechDraw] Implement arc length calculation for arbitrary edge 2023-11-26 08:53:39 -05:00
pavltom
739fbc8df3 [TechDraw] Fix area balloon placement for scale != 1 2023-11-26 08:53:39 -05:00
Paddle
1c04566548 Sketcher : Replace toggle icons. 2023-11-25 20:55:50 -03:00
Pesc0
7aa750743d get rid of the windows debugger for now 2023-11-25 20:46:35 -03:00
Pesc0
d98f0e1ae3 Update .vscode, untrack and move to /contrib 2023-11-25 20:46:35 -03:00
Roy-043
3895b5d6c0 MeshPart: menu texts to sentence case 2023-11-25 20:42:30 +01:00
Roy-043
3601ece9f7 Merge pull request #11531 from Roy-043/Draft-use-clearer-snap-marker-names
Draft: use clearer snap marker names
2023-11-25 20:03:01 +01:00
Roy-043
b9d8f0a999 Draft: use clearer snap marker names 2023-11-25 19:29:12 +01:00
wmayer
e57f5c42cb Gui: use MarkerBitmaps::getSupportedSizes to get available sizes 2023-11-25 18:37:26 +01:00
Roy-043
7561b90eb8 Merge pull request #11526 from Roy-043/Draft-use-consistent-is-number-string-in-DraftGui.py
Draft: use consistent is-number string in DraftGui.py
2023-11-25 16:22:19 +01:00
Roy-043
97e13c14d0 Draft: use consistent is-number string in DraftGui.py 2023-11-25 15:59:29 +01:00
wandererfan
5edda94043 [TD]fix disappearing balloon cursor 2023-11-25 08:05:50 -05:00
wandererfan
ae3144c7ce [TD]fix Balloon location 2023-11-25 08:05:50 -05:00
wandererfan
54da041392 [TD]fix dimension location 2023-11-25 08:05:50 -05:00
Syres916
c298594cbe [Techdraw] Hole & Shaft Fit Error Enhancement 2023-11-25 08:05:23 -05:00
Syres916
00826abe7a [Gui] Add 20, 25 and 30px marker sizes 2023-11-25 12:36:33 +01:00
Rexbas
2a91413742 Gui: Find scene bounding sphere after zoom 2023-11-25 09:40:49 +01:00