Commit Graph

28449 Commits

Author SHA1 Message Date
PaddleStroke
87bfe83ed6 Assembly: Deletes exploded view deletes the moves objects. 2024-06-11 10:29:46 +02:00
PaddleStroke
6fa7c4785e Assembly: Makes sure deleting assembly deletes the joints, the exploded views and the view group. 2024-06-11 10:09:57 +02:00
wandererfan
75b655fea0 [TD]fix incorrect section lines with expression link 2024-06-07 10:19:13 -04:00
wandererfan
26f5760aa5 [TD]Change template svg_namespace to www.freecad.org
- was www.freecadweb.org
2024-06-07 10:18:42 -04:00
Roy-043
a7c38eab09 Draft: Fix two Layer warnings (#14506)
There are two unnecessary Layer warnings:
1. A 'might break' warning when deleting an object nested in a layer.
2. An 'out of scope' warning for objects also nested in f.e. a Std_Part.

To avoid them the Group property type was changed to `App::PropertyLinkListHidden`.
2024-06-06 15:53:49 +02:00
Syres916
ad03a81a0a [BIM] Add fallback installation for Python 3.10, 3.11 & 3.12 systems 2024-06-06 14:47:17 +02:00
Roy-043
0640256a8a BIM: Update WP commands
Update the BIM WP commands to use the new Draft code. This ensures correct GUI behavior.

This also fixes the BIM_SetWPSide command which would align to the left side instead of the right side. The right side matches the behavior of Draft_SelectPlane and also the icon of the command.
2024-06-06 14:08:21 +02:00
Roy-043
0305425270 BIM: Fix BimImagePlane.py imports 2024-06-06 14:07:39 +02:00
paullee
e563b4ccb7 [ArchWall] Add switch 'ArchSketchData' to use ArchSketch Data or not 2024-06-06 14:04:14 +02:00
paullee
6f75dfd061 [ArchWall] Disable Input (ReadyOny) if Base (ArchSketch) Provided
To avoid confusion, attributes e.g. Align, Width, Offset, Override (Align/ Width/ Offset)
would be disabled, if Base object is ArchSketch which provided the above information

FC Forum Discussion :  https://forum.freecad.org/viewtopic.php?t=87721&start=30#p763761
2024-06-06 14:04:14 +02:00
Chris Hennes
6b4c6a3f16 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
00625ab5fb 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
707b0e6264 Fix compiler warnings 2024-06-04 20:23:19 +02:00
marioalexis
e8f161a792 Fem: Set license for Python generated examples 2024-06-04 11:38:29 -03:00
marioalexis
f8c2b8df55 Fem: Set compatible license in test files - fixes #8894 2024-06-04 04:30:03 -03:00
Chris Hennes
7abadaf7f3 Merge pull request #14485 from bgbsww/bgbsww-toponamingFixDressUpShadowSubs
Toponaming fix dress up shadow subs
2024-06-03 21:01:22 -05:00
bgbsww
617e63bc23 Toponaming: reformat code 2024-06-03 19:29:01 -04:00
Shai Seger
6ecfdc4d82 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
8584dd8dff 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
7ffddb6f7d PD Extrude up to multiple faces or shape 2024-06-03 11:26:19 -05:00
wmayer
526cc024ad 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
53e737f57b Materials: Inheritance API
API changes to inherit a material
2024-06-03 11:18:29 -05:00
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
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
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
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
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
marioalexis
a5f4507690 Part: Rename ViewProviderPartExtPy class files 2024-06-03 12:48:15 +02:00
wmayer
87a7bc1d81 Fix compiler warnings 2024-06-02 14:59:45 +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