Commit Graph

37128 Commits

Author SHA1 Message Date
wmayer
3c1bf8e864 Core: Extend Color API
* Fix issues with alpha value <> transparency
* Use type traits to convert between different color classes (fixes #14515)
2024-11-15 12:25:25 -05:00
Syres916
e5c3d25316 [Base] Give user feedback on failing to read StringHasherTable 2024-11-15 12:19:25 -05:00
Syres916
6a6699ac86 [Sketcher] Assist user in finding the sketch with the error 2024-11-15 12:15:59 -05:00
Max Wilfinger
82f268f2b4 Merge pull request #14959 from yorikvanhavre/bim-ifc-icons
BIM: Specific IFC icons
2024-11-15 18:11:00 +01:00
Yorik van Havre
726999c9ec Draft: Implement unhandled svg text rotation 2024-11-15 12:09:53 -05:00
Chris Mayo
4837da4cf3 Remove xpmMap from BitmapFactory
No longer used since:
7f1c795a89 ("update hardcoded XPMs to .svg files. Updated .svg icons for clarity.", 2024-03-23)
2024-11-15 12:05:57 -05:00
Snow Faerie
8e8bad8ee6 Add shortcut: Ctrl+,: Preferences
FreeCAD doesn't have a shortcut for Preferences.

As far as I know there is no established standard for Preferences. I
chose Ctrl+, as that is used by a number of applications, like VS Code,
nautilus and gedit.
2024-11-15 11:57:32 -05:00
Snow Faerie
1ff4b2020b Add Ctrl+{B,I,U} to Spreadsheet; remap File/Import
Adds hotkeys for Bold, Italic and Underline in Spreadsheet.

Ctrl+I was taken by File/Import... This patch remaps that to Ctrl+Shift+I.
2024-11-15 11:57:18 -05:00
FEA-eng
439b7f620e Update Command.cpp 2024-11-15 11:56:46 -05:00
Roy-043
dae79106f6 FEM: FEM_CreateElementsSet menu text in sentence case 2024-11-15 11:56:32 -05:00
Furgo
3fcf91c94f Fix enabling/disabling notificationWidth 2024-11-15 11:52:24 -05:00
wmayer
dbc9615308 Coverity scan: Uninitialized scalar variable
* CID 350633
* CID 512344
* CID 514343
2024-11-13 18:58:16 -05:00
Kevin Martin
ae235ef3e8 Change C++ DXF import to ignore type 999 (comment) records 2024-11-13 10:09:12 +01:00
Paul Lee
97171b5eec [ArchCurtainWall] Bug-fix Sketch as Base
Found regression when Sketch is used as Base and OverrideEdges is specified.
2024-11-13 10:05:37 +01:00
Roy-043
9a4e198d8e Draft: Fix AnnotationStyleEditor delete last style error (#17758)
* Draft: Fix AnnotationStyleEditor delete last style error

Fixes #17716.

* Fix rename problem as well

The on_rename function should update self.current_style as well. To avoid this scenario:
1. Create style A.
2. Create style B.
3. Rename style B to C.
4. Switch to style A.
5. Press OK.
6. Start the tool again.
7. Result: there are 3 styles A, B and C.
2024-11-13 10:02:20 +01:00
Chris Hennes
be35d862a4 Merge pull request #16813 from Ondsel-Development/core_placement_ui
Core: Remove unecessary ':' cluttering Placement.ui
2024-11-12 15:02:10 -05:00
Ladislav Michl
72bc8ae627 Gui: set Qt attributes in setupApplication() 2024-11-12 07:59:47 +01:00
Ladislav Michl
a3316ac99e Gui: DlgAbout: convert std::string directly to QString 2024-11-12 07:59:47 +01:00
Ladislav Michl
5d59972678 Gui: SplashSreen: convert std::string directly to QString 2024-11-12 07:59:47 +01:00
Ladislav Michl
37e04a8775 Gui: refactor Splashscreen
Move About dialog class to the separate source file.
2024-11-12 07:59:44 +01:00
Ladislav Michl
3f870deb51 Gui: refactor hiddenMainWindow usage 2024-11-12 07:53:38 +01:00
wwmayer
7a0154d1b1 PD: Add test case for #17184 (#17707) 2024-11-11 18:21:15 -03:00
Adrian Insaurralde Avalos
275eccb4dc Gui: extend version info to specify flatpak and conda builds 2024-11-11 15:30:27 -03:00
Benjamin Bræstrup Sayoc
18c463bcbb [Gui] Center expression icon 2024-11-11 18:32:34 +01:00
PaddleStroke
902f9072db Core: QuantitySpinbox: Change truncate value from 18 to 12. Ensuring a more reasonable width. 2024-11-11 18:31:17 +01:00
hasecilu
b5b570867f DependencyGraph: Tweak dot flags to prevent overlaped edges
- `-Granksep=2` lets increase the separation between groups (nodes),
ideally should depend on graph size
- `-Goutputorder=edgesfirst` lets place the edges first to allocate more
space for them
- `-Gsplines=ortho` changes the edges from curves to straight,
orthogonal lines

Fix #10207
2024-11-11 18:21:53 +01:00
Alfredo Monclus
78d57469af fix(PD): initialization of thread class and fit 2024-11-11 18:18:30 +01:00
PaddleStroke
96c1e86e5d Measure: Fix quickmeasure problem with Part::Line objects 2024-11-11 18:17:36 +01:00
dominik-devops
5e69c41306 Update dxf.cpp with missing new line character 2024-11-11 18:14:39 +01:00
Yorik van Havre
36096754c7 Merge pull request #17778 from marioalexis84/fem-material_editor
Fem: Use new material editor in materials task panels - fixes #16814
2024-11-11 17:58:49 +01:00
Yorik van Havre
04f0e7a330 Merge pull request #17782 from wwmayer/issue_17770
Unhandled std exception dragging Cylindrical joint
2024-11-11 17:56:04 +01:00
PaddleStroke
cd9e155078 Techdraw: Fix assembly exploded view (#17726) 2024-11-11 17:53:34 +01:00
Eric Price
44305ffc89 Part: bugfix #17468 recursively unpack compounds for boolean fuse (#17469)
* fix #17468  recursively unpack compounds for boolean fuse

* fix and into &&, add ctest case for multifuse with compounds and recursive compounds

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

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

* remove unneeded duplicated code - allow Part::Common to be created with a single object (compound or shape) - will result in Unity and possibly a warning message

* prevent endless loop in case of endless recursive compounds as suggested in chat

* Update src/Mod/Part/App/FeaturePartFuse.cpp

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>

* implemented suggestion by wwmayer

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2024-11-11 17:51:56 +01:00
Florian Foinant-Willig
b341dd1e64 Fix revolution with ShapeBinder profile (#17489)
* Fix revolution with ShapeBinder profile

* Remove log level init

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-11-11 17:48:18 +01:00
Eric Price
f90c6f56d3 increase tolerance on helical shapes to avoid crash / broken geometry (#17356)
* increase tolerance on helical shapes to avoid crash

fix #17113
fix #9377
fix #11083

* added test cases for additive and subtractive helix

* fixed whitespace issue, reduced turncount for speed

* relaxed large scale testcases for OCCT 7.3 and below, work around windows CI error #17394

* Further reduce max size in test for buggy Ubuntu OCCT
2024-11-11 17:44:27 +01:00
paul
2943a6ad10 ArchWall : Bug Fix Length Property Accuracy Problem (#17496)
* ArchWall : Bug Fix Length Property Accuracy Problem

See https://github.com/FreeCAD/FreeCAD/issues/15794

* [ArchWall] Fix regression with multi-material and align center

* ArchWall - Regression Typo

---------

Co-authored-by: Yorik van Havre <yorik@uncreated.net>
2024-11-11 17:26:05 +01:00
Roy-043
67bb2a18b1 Draft: Fix Shape2DView finish bug
The Draft_Shape2DView did not finish properly if no object was selected.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=92031
2024-11-11 17:15:24 +01:00
Yorik van Havre
56a897cc96 Translations (#17725)
* Translations: updated ts files

* Translations: 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>
2024-11-11 17:01:52 +01:00
marioalexis
e9ff119483 Fem: Save empty UUID if customizing material from task panel 2024-11-11 11:02:30 -03:00
marioalexis
7703425209 Fem: Use quantity spin boxes in material task panel 2024-11-10 22:09:33 -03:00
wmayer
3db95989d3 Assembly: Handle thrown Base::Exception in ViewProviderAssembly 2024-11-11 01:11:56 +01:00
wmayer
a20d70d71a Core: In View3DInventorViewer::getPointOnXYPlaneOfPlacement throw exception
If no intersection point can be found throw a Base::RuntimeError
2024-11-11 01:10:44 +01:00
marioalexis
76b541935f Fem: Use new material editor in materials task panels - fixes #16814 2024-11-10 12:33:28 -03:00
marioalexis
c840a908e1 Material: Propagate changes to MaterialTreeWidget even if UUID does not change 2024-11-10 12:33:28 -03:00
Roy-043
2df0f770dd Draft: Fix _param_observer_callback_scalemultiplier error
Fixes #17741.
2024-11-09 10:27:12 -05:00
marioalexis
1b66e3faa8 Fem: Fix spelling in Netgen enumeration property 2024-11-09 10:24:32 -05:00
marioalexis
cec367a291 Fem: Save empy mesh if last step is AnalyzeGeometry in Netgen mesher 2024-11-09 10:24:32 -05:00
wmayer
184c71c09f Material: Replace YAML::LoadFile() with YAML::Load()
YAML::LoadFile() cannot be used on Windows because it doesn't support UTF-16 to load a file from an arbitrary location

This fixes #17097
2024-11-09 10:23:17 -05:00
wmayer
4eed8d1bfc Material: Set more meaningful message for some exception types 2024-11-09 10:23:17 -05:00
wmayer
3c705eaa2e Part: Handle exception in Feature::setMaterialAppearance 2024-11-09 10:23:17 -05:00