Commit Graph

28439 Commits

Author SHA1 Message Date
Chris Hennes
de9be04249 Merge pull request #14491 from marioalexis84/fem-test_file_license
Fem: Set compatible license in test files - fixes #8894
2024-06-04 19:15:12 -05:00
wmayer
36a7fd9be4 StartGui: Fix crash in GeneralSettingsWidget::onNavigationStyleChanged
It's not allowed to store the C string of a tmp. byte array as the pointer will become dangling and causes undefined behaviour
2024-06-04 20:24:01 +02:00
wmayer
9456df5a4b Fix compiler warnings 2024-06-04 20:23:19 +02:00
marioalexis
e3648061fd Fem: Set license for Python generated examples 2024-06-04 11:38:29 -03:00
marioalexis
609da5cf04 Fem: Set compatible license in test files - fixes #8894 2024-06-04 04:30:03 -03:00
Chris Hennes
681e8c9d2f Merge pull request #14485 from bgbsww/bgbsww-toponamingFixDressUpShadowSubs
Toponaming fix dress up shadow subs
2024-06-03 21:01:22 -05:00
bgbsww
96aa878b7e Toponaming: reformat code 2024-06-03 19:29:01 -04:00
Shai Seger
fc714933a7 CAM: Simulator: A fix for Issue #14369: Wrong drill operation simulation (#14401)
* remove redundant code

* Fix G8x drill sequence bug.  issue #14369

* fix bad simulation artifacts under Linux and QT. Issue #14369
2024-06-03 11:31:35 -05:00
wmayer
d4325a6bd8 Part: Add FaceMakerMode of type PropertyEnumeration
This is added to conveniently change the face maker type of an extrusion object.

Hint: A new property is used to avoid to break project files when opening it with an older version.
2024-06-03 11:29:01 -05:00
Florian Foinant-Willig
309dd6e30d PD Extrude up to multiple faces or shape 2024-06-03 11:26:19 -05:00
wmayer
04cf749a4a Part: Add AttacherEngine of type PropertyEnumeration
This is added to conveniently change the attacher type of a Part object.

Hint: A new property is used to avoid to break project files when opening it with an older version.

See also forum thread: https://forum.freecad.org/viewtopic.php?t=87891
2024-06-03 11:24:09 -05:00
David Carter
5bb5c2a9cf Materials: Inheritance API
API changes to inherit a material
2024-06-03 11:18:29 -05:00
VM4Dim
2df0f3631d Part: Not needed translation for STEP (file format name) 2024-06-03 11:16:26 -05:00
Kacper Donat
8def94e6f8 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
Chris Hennes
de599a9acb 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
696196d8f0 Update translations 2024-06-03 11:04:42 -05:00
Yorik van Havre
c5a350ce57 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
PaddleStroke
10531f998a TechDraw: Snapping: Fix bug where distanceX dimensions would wrongly compare to all dimensions. 2024-06-03 11:58:58 -04:00
PaddleStroke
6082ef521d TechDraw: Dimension Snapping : Enable different types of dimensions to snap together. 2024-06-03 11:58:58 -04:00
PaddleStroke
298deb7199 TechDraw: Dimension: fix centering snapping. 2024-06-03 11:58:58 -04:00
PaddleStroke
8acc6c534a TechDraw: Smart dimension, fix initial selection by disabling Auto::Transaction 2024-06-03 11:57:33 -04:00
PaddleStroke
25172e42d9 TechDraw: QGVPage: remove copy paste useless leftover. 2024-06-03 11:57:33 -04:00
PaddleStroke
65b6f349bb TechDraw: Smart dimension: fix D shortcut that was wrongly assigned to radius. 2024-06-03 11:57:33 -04:00
PaddleStroke
61712c8a6b TechDraw: Smart dimension : fix radius/diameter command names 2024-06-03 11:57:33 -04:00
PaddleStroke
ae3139e9f3 TechDraw: Smart Dimension: Fix cannot pan with middle mouse click. Fixes #14326 2024-06-03 11:54:37 -04:00
David Carter
6c149cdf95 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
e11bafc715 Merge pull request #14337 from wwmayer/refactor_sketch_analysis
Sketch: Refactor SketchAnalysis
2024-06-03 10:49:30 -05:00
Chris Hennes
64fbafe30e 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
a4b97e29d6 Fixes #12384 2024-06-03 10:43:18 -05:00
Chris Hennes
bb40f9cfc1 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
6474a44c87 Toponaming: update TaskDressUp addAllEdges 2024-06-03 11:22:55 -04:00
wandererfan
6f0f3d3186 [TD]use light-on-dark preference for dark themes 2024-06-03 09:03:33 -04:00
Syres916
f8cb31ba0e [TechDraw] Improve visibility of TD preference icons in combo boxes...
...when using dark style sheets.
2024-06-03 09:03:33 -04:00
wandererfan
06f79b5ebd [TD]restore stretch on pref page widgets 2024-06-03 09:03:33 -04:00
marioalexis
ac533ef3f1 Part: Rename ViewProviderPartExtPy class files 2024-06-03 12:48:15 +02:00
wmayer
26714820cd Fix compiler warnings 2024-06-02 14:59:45 +02:00
wmayer
859d47bac7 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
669f2da362 Toponaming: fix bug with points in sketches 2024-06-01 22:57:31 -05:00
David Carter
8b5a3b1124 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
958d83ed06 Toponaming: Restore use of AttachmentSupport 2024-06-01 11:49:58 -05:00
Yorik van Havre
6ea5c7985c BIM: added missing items in utils menu 2024-05-31 10:10:18 +02:00
Yorik van Havre
64bc7e355f BIM: Reworked menus and toolbars 2024-05-31 10:10:18 +02:00
Yorik van Havre
dd7a8c3eba Draft: Fixed ghosts vanishing when using mouse delay - issue #12624 (#14358) 2024-05-30 22:41:54 +02:00
Yorik van Havre
f11b08bde5 BIM: Fixed import in importSHP - fixes #14261 (#14385) 2024-05-30 22:34:57 +02:00
Yorik van Havre
a877b36b70 BIM: Fixed IsActive of BIM commands (#14384) 2024-05-30 22:33:43 +02:00
hoshengwei
79ada18d69 fix Native IFC Qt6 Support 2024-05-30 11:50:35 +02:00
hoshengwei
e64a977398 fix BimView Qt6 Support (renew) 2024-05-30 10:52:41 +02:00
hoshengwei
127f9b3492 fix BimView Qt6 Support 2024-05-30 10:52:41 +02:00
PaddleStroke
d5eacd7945 Assembly: Fix bad limits automatically. Fixes https://github.com/Ondsel-Development/FreeCAD/issues/61 2024-05-30 10:33:59 +02:00
PaddleStroke
47031f2d4e Assembly: Translate error 2024-05-30 10:33:19 +02:00