Commit Graph

39203 Commits

Author SHA1 Message Date
luzpaz
e2b67c19fc STEP: Rename generic Import/Export dialog title
Closes #16415
2024-11-15 18:36:09 +01:00
wmayer
ffa3fa5b5a 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
224c25b770 [Base] Give user feedback on failing to read StringHasherTable 2024-11-15 12:19:25 -05:00
Syres916
08b9411e15 [Sketcher] Assist user in finding the sketch with the error 2024-11-15 12:15:59 -05:00
Max Wilfinger
a2ca158e94 Merge pull request #14959 from yorikvanhavre/bim-ifc-icons
BIM: Specific IFC icons
2024-11-15 18:11:00 +01:00
Yorik van Havre
f7b639b795 Draft: Implement unhandled svg text rotation 2024-11-15 12:09:53 -05:00
Chris Mayo
fbeaeee7e7 Remove xpmMap from BitmapFactory
No longer used since:
6ca8b2daae ("update hardcoded XPMs to .svg files. Updated .svg icons for clarity.", 2024-03-23)
2024-11-15 12:05:57 -05:00
Snow Faerie
a4ab97bdd5 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
d7f1015264 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
b9ca034261 Update Command.cpp 2024-11-15 11:56:46 -05:00
Roy-043
a8533ca58e FEM: FEM_CreateElementsSet menu text in sentence case 2024-11-15 11:56:32 -05:00
Furgo
645415b846 Fix enabling/disabling notificationWidth 2024-11-15 11:52:24 -05:00
wmayer
ee1af2748a Coverity scan: Uninitialized scalar variable
* CID 350633
* CID 512344
* CID 514343
2024-11-13 18:58:16 -05:00
Kevin Martin
4bc8cd60e9 Change C++ DXF import to ignore type 999 (comment) records 2024-11-13 10:09:12 +01:00
Paul Lee
8636c8ca20 [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
aea052cb6f 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
affa43e094 Merge pull request #16813 from Ondsel-Development/core_placement_ui
Core: Remove unecessary ':' cluttering Placement.ui
2024-11-12 15:02:10 -05:00
Chris Hennes
5feda62c3a Merge pull request #16438 from 3x380V/dlgabout
Gui: refactor splash screen and about dialog
2024-11-12 11:15:46 -05:00
Ladislav Michl
bf1a276977 Gui: set Qt attributes in setupApplication() 2024-11-12 07:59:47 +01:00
Ladislav Michl
d6c9f9c8fe Gui: DlgAbout: convert std::string directly to QString 2024-11-12 07:59:47 +01:00
Ladislav Michl
038562220c Gui: SplashSreen: convert std::string directly to QString 2024-11-12 07:59:47 +01:00
Ladislav Michl
0a9e1bc9e8 Gui: refactor Splashscreen
Move About dialog class to the separate source file.
2024-11-12 07:59:44 +01:00
Ladislav Michl
cff4245a85 Gui: refactor hiddenMainWindow usage 2024-11-12 07:53:38 +01:00
wwmayer
45d3864942 PD: Add test case for #17184 (#17707) 2024-11-11 18:21:15 -03:00
Adrian Insaurralde Avalos
46831f4c86 Gui: extend version info to specify flatpak and conda builds 2024-11-11 15:30:27 -03:00
Benjamin Bræstrup Sayoc
e661774a29 [Gui] Center expression icon 2024-11-11 18:32:34 +01:00
PaddleStroke
4649b678f2 Core: QuantitySpinbox: Change truncate value from 18 to 12. Ensuring a more reasonable width. 2024-11-11 18:31:17 +01:00
hasecilu
16897e2f63 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
f99db90986 fix(PD): initialization of thread class and fit 2024-11-11 18:18:30 +01:00
PaddleStroke
df3bf98ef7 Measure: Fix quickmeasure problem with Part::Line objects 2024-11-11 18:17:36 +01:00
dominik-devops
9898461d3c Update dxf.cpp with missing new line character 2024-11-11 18:14:39 +01:00
Yorik van Havre
8486a6ded4 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
36c6a9ffa0 Merge pull request #17782 from wwmayer/issue_17770
Unhandled std exception dragging Cylindrical joint
2024-11-11 17:56:04 +01:00
PaddleStroke
d9ec45b2f6 Techdraw: Fix assembly exploded view (#17726) 2024-11-11 17:53:34 +01:00
Eric Price
03cb520215 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
3d5e4f7cd8 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
7680872e41 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
0e25675aeb 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
b96f02b5c8 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
a9b4cb5611 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
d34b5c6fda Fem: Save empty UUID if customizing material from task panel 2024-11-11 11:02:30 -03:00
marioalexis
4da4b744f0 Fem: Use quantity spin boxes in material task panel 2024-11-10 22:09:33 -03:00
wmayer
ae32212245 Assembly: Handle thrown Base::Exception in ViewProviderAssembly 2024-11-11 01:11:56 +01:00
wmayer
72728ece52 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
5b1155cb2e Fem: Use new material editor in materials task panels - fixes #16814 2024-11-10 12:33:28 -03:00
marioalexis
6f8afd85e6 Material: Propagate changes to MaterialTreeWidget even if UUID does not change 2024-11-10 12:33:28 -03:00
Roy-043
3a7c8ed1c5 Draft: Fix _param_observer_callback_scalemultiplier error
Fixes #17741.
2024-11-09 10:27:12 -05:00
marioalexis
854ce9e0b8 Fem: Fix spelling in Netgen enumeration property 2024-11-09 10:24:32 -05:00
marioalexis
40debf7daf Fem: Save empy mesh if last step is AnalyzeGeometry in Netgen mesher 2024-11-09 10:24:32 -05:00
wmayer
9126e7e9c8 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