Commit Graph

36862 Commits

Author SHA1 Message Date
VM4Dim
cb61cb59df Part: Not needed translation for STEP (file format name) 2024-06-03 11:16:26 -05:00
Kacper Donat
bcb4ee21cc Gui: Update sketcher colors after file load
This commit introduces AutoColor property for sketches that when
enabled ensures that sketches are updated with the color of user
preference. It ensures that sketches from different users will be
still visible on different themes.

To ensure backward compatiblity migration strategy is to compute default
value for this property based on the color. If it is non-white (the
default value in FreeCAD) we assume that the change was inentional and
that it should be kept as-is turning automatic coloring off. In other
cases it is enabled by default.

Fixes: FreeCAD#13980
2024-06-03 11:15:36 -05:00
André Althaus
60ec5db4b3 Fix visibility icon for link elements
The visibility of link elements must be set with setElementVisible.
This will first try to use that API otherwise it falls back to setting
the Visibility property.
2024-06-03 11:12:57 -05:00
Chris Hennes
b9cc70ff99 Merge pull request #14383 from Ondsel-Development/asm_invalid_limits
Assembly: Fix bad limits automatically
2024-06-03 11:06:50 -05:00
Chris Hennes
6404de9c21 Update translations 2024-06-03 11:04:42 -05:00
Yorik van Havre
61576a11d7 Tux: Detect and fix BIM addon (#14391)
* Tux: Detect and fix BIM addon - fixes #14072

* [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-06-03 11:03:11 -05:00
Max Wilfinger
cdde34f3a7 Change transform tool task box icon and heading 2024-06-03 11:01:35 -05:00
PaddleStroke
c335ecb5ae TechDraw: Snapping: Fix bug where distanceX dimensions would wrongly compare to all dimensions. 2024-06-03 11:58:58 -04:00
PaddleStroke
cc4dd7ca64 TechDraw: Dimension Snapping : Enable different types of dimensions to snap together. 2024-06-03 11:58:58 -04:00
PaddleStroke
fcf973170b TechDraw: Dimension: fix centering snapping. 2024-06-03 11:58:58 -04:00
PaddleStroke
a4be7a9772 TechDraw: Smart dimension, fix initial selection by disabling Auto::Transaction 2024-06-03 11:57:33 -04:00
PaddleStroke
ca6a44be85 TechDraw: QGVPage: remove copy paste useless leftover. 2024-06-03 11:57:33 -04:00
PaddleStroke
fc105ea34d TechDraw: Smart dimension: fix D shortcut that was wrongly assigned to radius. 2024-06-03 11:57:33 -04:00
PaddleStroke
dd8fa20baf TechDraw: Smart dimension : fix radius/diameter command names 2024-06-03 11:57:33 -04:00
PaddleStroke
9a94c5c1a3 TechDraw: Smart Dimension: Fix cannot pan with middle mouse click. Fixes #14326 2024-06-03 11:54:37 -04:00
David Carter
37f7ccb5e0 Materials: Tree Widget selection change
Remove notification when a foldder is selected
rather than a material
2024-06-03 10:52:54 -05:00
Chris Hennes
6759c72eb6 Merge pull request #14337 from wwmayer/refactor_sketch_analysis
Sketch: Refactor SketchAnalysis
2024-06-03 10:49:30 -05:00
Max Wilfinger
d960f12c25 Add Std_AlignToSelevtion to menu and context menu 2024-06-03 10:48:35 -05:00
Chris Hennes
5f601eb6c7 Merge pull request #12589 from NomAnor/pd-trans-body
Add a new mode to PD patterns that will transform the base feature's shape instead of the tool shapes
2024-06-03 10:46:33 -05:00
howie-j
d22326cf52 Fixes #12384 2024-06-03 10:43:18 -05:00
MisterMakerNL
4e57edcea1 Changed the size back to 17px
Changed the size back to 17px because of https://github.com/FreeCAD/FreeCAD/issues/14037
2024-06-03 10:41:52 -05:00
PaddleStroke
c63be903e4 MenuManager: modernize for loops 2024-06-03 10:40:05 -05:00
Pieter Hijma
bfec0992f4 Core: Add VarSet support to expression dialog
This allows users to directly add properties to variable sets from
within the expression input dialog improving a workflow for
parameterized design.
2024-06-03 10:39:30 -05:00
Chris Hennes
f331c91b89 Merge pull request #13317 from Ondsel-Development/add-prop-varset
Core: Add properties to variable sets
2024-06-03 10:34:57 -05:00
Zheng, Lei
a926cd41b3 Toponaming: update TaskDressUp addAllEdges 2024-06-03 11:22:55 -04:00
wandererfan
f0f34b12b3 [TD]use light-on-dark preference for dark themes 2024-06-03 09:03:33 -04:00
Syres916
a56909f57b [TechDraw] Improve visibility of TD preference icons in combo boxes...
...when using dark style sheets.
2024-06-03 09:03:33 -04:00
wandererfan
e5df9a9df7 [TD]restore stretch on pref page widgets 2024-06-03 09:03:33 -04:00
wmayer
effbe1e873 App: Prepare for clang-format 2024-06-03 12:52:30 +02:00
wmayer
0e21776494 Main: Apply clang-format 2024-06-03 12:51:36 +02:00
marioalexis
a5f4507690 Part: Rename ViewProviderPartExtPy class files 2024-06-03 12:48:15 +02:00
marioalexis
108687b938 Fem: Improve constraint BodyHeatSource 2024-06-03 03:15:14 -03:00
bgbsww
82db79b699 Toponaming: remove unused method with compile warnings 2024-06-02 18:55:13 -05:00
marioalexis
d8f1ade17d Fem: Add body heat source to CalculiX writer - fixes #11650 2024-06-02 18:38:15 -03:00
wmayer
87a7bc1d81 Fix compiler warnings 2024-06-02 14:59:45 +02:00
André Althaus
3bf43ae48a Change visibility icon default to enabled 2024-06-02 14:28:46 +02:00
André Althaus
5e21c4cd0c Use a gray invisible icon for the tree 2024-06-02 14:22:45 +02:00
André Althaus
198c29b816 Gray out hidden items regardless of the visibility icon setting 2024-06-02 14:22:45 +02:00
André Althaus
9c9f1b0a5d Increase space between visibility icon and normal icon
Adds PM_LayoutHorizontalSpacing betweenthe visibility icon and the normal icon.
2024-06-02 14:22:41 +02:00
André Althaus
f733c87902 Account for margin in visibility icon click check 2024-06-02 14:22:09 +02:00
wmayer
17613bf929 Measure: Fix exception handling
If a Base::Exception is thrown in Measurement::getShape() then it's handled by the catch(...) handler and
converted into a Base::RuntimeError. This behaviour hides the original Base::Exception.

Example:
Selecting a datum plane raises the error 'Measurement: Unknown error retrieving shape' because the
original Base::ValueError isn't forwarded.
2024-06-02 08:15:57 +02:00
bgbsww
a495280693 Toponaming: fix bug with points in sketches 2024-06-01 22:57:31 -05:00
David Carter
5feb963f9d Material: Appearance Updates 2
Improves the use of the ShapeAppearance property for the Part workbench.

    removes DiffuseColor property
        adds Python compatibility using custom attributes
        transitions DiffuseColor to ShapeAppearance on open
    Improved UI elements for setting object appearance, and appearance per face
    Lays the foundation for future texture support
2024-06-01 19:57:16 -05:00
bgbsww
c4d0f3ed97 Toponaming: Restore use of AttachmentSupport 2024-06-01 11:49:58 -05:00
wmayer
40b6b847eb Fixes #14349: GeoFeature::getElementTypes causes undefined behaviour 2024-05-31 11:42:01 +02:00
Yorik van Havre
574fb46e65 BIM: added missing items in utils menu 2024-05-31 10:10:18 +02:00
Yorik van Havre
8ecfce8b29 BIM: Reworked menus and toolbars 2024-05-31 10:10:18 +02:00
Yorik van Havre
bf1d579724 Draft: Fixed ghosts vanishing when using mouse delay - issue #12624 (#14358) 2024-05-30 22:41:54 +02:00
Yorik van Havre
5ac615a9c5 BIM: Fixed import in importSHP - fixes #14261 (#14385) 2024-05-30 22:34:57 +02:00
Yorik van Havre
7a8a25a5b3 BIM: Fixed IsActive of BIM commands (#14384) 2024-05-30 22:33:43 +02:00