Commit Graph

39881 Commits

Author SHA1 Message Date
Paul Lee
219a26d080 [ArchWall] loads() dumps() to call parent methods 2024-11-29 10:28:53 +01:00
Paul Lee
9a4c3d0571 [ArchWall] Variant PropertrySet Support in ArchSketch
Now, user can create :

-  Variant Layout / combination of ArchWall, CurtainWall, Slab based on same ArchSketch, with another PropertySet
-  Variant Properties / layer of ArchWall on same ArchSketch with different Width, Offset, Material, Height etc. to create Layers, Composite walls etc.
   (Layout, Layer, Combination, Composite, Elemented etc.)

FreeCAD Forum Discussion:
- https://forum.freecad.org/viewtopic.php?p=784622#p784622
- https://forum.freecad.org/viewtopic.php?p=785583#p785583
2024-11-29 10:28:53 +01:00
wmayer
abbf0b1a05 pre-commit: Exclude 3rd party code from auto-formatting 2024-11-29 07:38:02 +01:00
wmayer
4e4bcd5ce7 App: Apply clang format (part 3) 2024-11-29 07:14:32 +01:00
wmayer
3cec8114b5 Gui: Support of converting 64-bit images 2024-11-28 19:41:18 +01:00
wmayer
e76e9ebc4f Gui: Add a new display mode for image without shading 2024-11-28 19:39:00 +01:00
wmayer
a303eaf28e Gui: Allow to override onBeforeChange in view objects 2024-11-28 19:38:10 +01:00
wmayer
c07df6b392 Test: Add unit test to read in 3MF file 2024-11-28 19:36:58 +01:00
wmayer
d6ae5d2d25 Mesh: Improve 3MF format to support files from 'Make World' 2024-11-28 19:36:58 +01:00
wwmayer
cdaff41fbe Add doc string to SoFCTransform
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2024-11-28 19:31:44 +01:00
wmayer
8b70bf5cb1 Core: Implement SoFCTransform node
In its doAction() method it only sets the model matrix if it's not the identity matrix.
This improves the issue #7606
2024-11-28 19:31:44 +01:00
wmayer
6f80773166 Start: Fix extracting thumbnails on Windows 2024-11-28 18:56:37 +01:00
wmayer
a7c75f102a Gui: Fix some linter warnings 2024-11-28 18:41:42 +01:00
wmayer
a9694be87b Gui: Apply clang-format 2024-11-28 18:41:42 +01:00
wmayer
6ac794b8e3 Gui: Fixes #16637: Can no longer set transparency of Link faces 2024-11-28 18:41:42 +01:00
wmayer
007b98df0e PD: Add test case to show the fix for the crash with active objects 2024-11-28 17:15:39 +01:00
wmayer
62d504d0a1 Core: Fix crash in ActiveObjectList
Forum: https://forum.freecad.org/viewtopic.php?t=91823
2024-11-28 17:15:39 +01:00
wmayer
ab0b63e1e3 PD: Avoid touching the document when opening pad or pocket dialog 2024-11-28 17:11:42 +01:00
wmayer
8d418fe80a Mesh: Add comment explaining the workaround 2024-11-28 17:07:34 +01:00
wmayer
eac63c5c4d Mesh: Workaround to load 3mf files not supported by zipios library 2024-11-28 17:07:34 +01:00
Roy-043
6c7ecda81c Draft: Fix cursor scaling for xcb platform
Forum topic:
https://forum.freecad.org/viewtopic.php?t=92281

Apparently the extra scaling for the "xcb" platform is wrong.
2024-11-28 14:01:52 +01:00
wmayer
cb772755e1 Gui: Refactor PreferencePackManager & DlgPreferencePackManagementImp 2024-11-27 20:29:44 -05:00
Jacob Oursland
a595f7cdb2 CMake: emit message when ccache is detected. 2024-11-27 20:24:43 -05:00
Ladislav Michl
962b8d4faa Gui: propertyeditor: use std::string setPropertyValue
Avoid std::string->QString->std::string where possible.
2024-11-27 17:28:16 +01:00
Ladislav Michl
00ce52c432 Gui: propertyeditor: add setPropertyValue with std::string argument 2024-11-27 17:28:16 +01:00
Ladislav Michl
fc30ac6fbd Gui: propertyeditor: Reformat, fix line endings
Instead of fixing whitespaces do a full reformat according to
current rules. No other changes.
2024-11-27 17:28:16 +01:00
Yury Shvedov
7a1ac850e2 Gui: take in account module-path argument
Use paths passed with `--module-path` argument to search for preference
packs

Change-Id: If168dbd99a826757290ee6b918f5b712305fe2bb
2024-11-27 15:43:28 +01:00
PaddleStroke
b2f965c06e ViewProviderOrigin: Renamed to ViewProviderCoordinateSystem 2024-11-27 12:15:53 +01:00
Chris Hennes
e669a58941 Spreadsheet: Add tests for validAddressName and validAliases 2024-11-26 17:51:57 -06:00
Jacob Oursland
960f4e4d63 CMake: Add missing target_link_directories() for OCCT. 2024-11-26 16:03:08 -05:00
Chris Hennes
0a7f03d26c Update versions in SECURITY.md 2024-11-26 19:55:10 +01:00
PaddleStroke
4ebb66838c Core: Add App::LocalCoordinateSystem.
Most of App::Origin is moved into this sub class of App::Origin.
Add App::Point. Change graphics of the planes/axis.
Remove scale-by-content behavior and make it fixed size on screen.
2024-11-26 17:36:02 +01:00
wmayer
1c03c53bff Core: Fix unicode path names under Windows 2024-11-26 11:22:11 -05:00
wmayer
09772749f2 Start: Implement Thumbnail Managing Standard
as specified here: https://specifications.freedesktop.org/thumbnail-spec/0.8.0/

The changes are:
* use MD5 as hashing algorithm
* write thumbnails to ~/.cache/thumbnails/normal
2024-11-26 11:14:52 -05:00
Jacob Oursland
0a5c5ee101 App: Reduce BOOST_VERSION workaround to fix boost symbol linker error on Win-Qt5. 2024-11-26 11:13:21 -05:00
Jacob Oursland
1ac989e8e3 Mesh: Add template type to WM4 TRational variables. 2024-11-26 11:10:13 -05:00
Jacob Oursland
03eb6bdac3 Mesh: move counter declaration to loop-local. 2024-11-26 11:10:13 -05:00
PaddleStroke
489b24ef10 Core: GetGlobalPlacement: empty subname should not return. 2024-11-26 10:59:48 -05:00
Roy-043
f4a36f31e9 Draft: fix focus behavior of radius input
Fixes #16249.

The input did receive the focus, but the existing value was not selected.

The circle, arc, trim and offset tools had a related issue. The whole radius/distance value, including the unit string, was selected, instead of just the numerical portion.
2024-11-26 16:48:35 +01:00
wmayer
f9ffff25ad Start: Show thumbnail if filename contains a dot
Fixes #18109
2024-11-26 09:42:05 -05:00
wmayer
1db64e018e Gui: Fix issues in About dialog 2024-11-26 09:41:24 -05:00
PaddleStroke
3993bfede7 Rename ViewProviderOriginFeature to ViewProviderDatum 2024-11-26 15:36:48 +01:00
PaddleStroke
a558475d8a Rename 'OriginFeature' to 'DatumElement' 2024-11-26 15:36:48 +01:00
PaddleStroke
8f43f3cc8b Core: Rename 'OriginFeature' file to 'Datums' 2024-11-26 15:36:48 +01:00
Chris Hennes
f24c7da793 Spreadsheet: Add C++ test framework 2024-11-25 23:09:35 -06:00
BMaxV
77deda9b6f Change button text to confirm copy. (#17696)
* Change button text to confirm copy.
* translation and timer->reset
* timer->single shot + text variable

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-11-25 13:59:49 -06:00
Max Wilfinger
e8a66d5323 Merge pull request #18125 from Ondsel-Development/core_LCS1
Core Datum : Card 1 : icons
2024-11-25 20:58:42 +01:00
Roy-043
d73a057c94 Draft: Legacy DXF importer: fix layer block behavior
Fixes #16550.
Fixes #16552.

* Layer blocks receive a name with the "LayerBlock_" prefix.
* They are put in a layer if the "Use layer" import option is checked.
* If Draft or Sketch objects are created a Part_Compound instead of a Draft_Block is created. This was done because a Draft_Block does not claim its children. I am not sure about this change. Maybe the behavior of the Draft_Block should be changed instead.

@yorikvanhavre: do you know why a Draft_Block does not claim its children?
2024-11-25 20:15:16 +01:00
Kacper Donat
03d4157627 Assembly: Refactor get/setDraggerPlacement
It seems that Base has very handy helpers for converting between various
types. This simplifies code of ViewProviderAssembly::get/setDraggerPlacement a
lot.
2024-11-25 12:27:35 -05:00
Florian Foinant-Willig
ea8814785a Sketcher infinite axes 2024-11-25 18:27:10 +01:00