Commit Graph

28102 Commits

Author SHA1 Message Date
bgbsww
91191c7be3 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00
Zheng, Lei
c6d443dfa5 Toposhape/Part: Transfer in makESolid 2024-02-21 12:00:51 -05:00
bgbsww
907f59dc40 Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-21 11:56:22 -05:00
Zheng, Lei
97b84fc9f6 Toposhape/Part: Transfer in _makETransform, makETransform, makEGTransform 2024-02-21 11:56:22 -05:00
wandererfan
1853dd8680 [TD]use correct tooltip in first/third angle 2024-02-21 11:46:18 -05:00
wandererfan
fc4cd682bb [TD]ANSI/ASME section line conformance 2024-02-21 11:46:18 -05:00
André Althaus
0c70b0bd1e Refactor the apply function to be virtual public 2024-02-21 15:04:38 +01:00
André Althaus
a89d450a93 Fix crash when canceling the MultiTransform panel while a newly cretated subfeature is edited
Before calling the closeSubTask() function from the dialog reject()
function, the slotDeletedObject() is called from the transaction being
aborted. This causes the subFeature pointer to be nullptr and subsequent
apply() functions from the SpinBox widgets to crash.

Before calling apply check if the subFeature is still there.
2024-02-21 14:56:23 +01:00
Adrián Insaurralde Avalos
49e3ea57d0 Add assembly template to startpage 2024-02-21 01:43:16 -03:00
bgbsww
25a78b3062 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-02-20 15:10:28 -05:00
David Kaufman
a9888112c2 [Path] Change ZigZagOffset so the profile starts at the end of the zigzag 2024-02-19 23:13:44 -05:00
David Kaufman
86659c41ab [Path] disable wire sorting for ZigZagOffset and Offset
Also enable the Min Travel checkbox unconditionally, since it can now be
used to override this "disable" feature and enable wire sorting
2024-02-19 23:13:37 -05:00
Zheng, Lei
122ff7f61f Toposhape/Part: Transfer in makEGeneralFuse, makeEFuse, makeECut 2024-02-19 21:12:52 -05:00
wmayer
1a3def3b9b Part: fix -Wextra-semi 2024-02-20 01:14:15 +01:00
Max Wilfinger
a11085e97f fix typo in polygon task dialog 2024-02-19 15:51:25 -06:00
czinehuba
22cad60585 Updated space in dashed lines 2024-02-19 18:39:58 +01:00
Huba Czine
6826b8fedf Update icons for Sketcher_ToggleConstruction & Sketcher_ToggleConstruction_Constr 2024-02-19 18:39:58 +01:00
sliptonic
837bfacef3 Merge pull request #12358 from maxwxyz/sketcher-translate-scale-to-context-menu
[Sketcher] add translate and scale commands to context menu
2024-02-19 18:33:14 +01:00
Yorik van Havre
43eff63fd4 [Arch] Always use a default IFC type - fixes yorikvanhavre/FreeCAD-NativeIFC#60 2024-02-19 11:26:38 -06:00
Chris Hennes
1c5f60b021 Merge pull request #12309 from chennes/addonManagerRefactorGUIArea
Addon manager: Refactor GUI area
2024-02-19 11:20:00 -06:00
Chris Hennes
a7d4cc9e75 Merge pull request #12305 from bgbsww/bgbsww-toponamingFeaturePartFuse
Toponaming/Part FeaturePartFuse
2024-02-19 11:16:53 -06:00
LemonBoy
28fdceaccd Preserve object order when moving them
Remove and re-insert the selected objects at the specified point in the
tree while preserving their relative order.

The code used to insert them in reverse order.

Closes #12287
2024-02-19 11:16:08 -06:00
marioalexis
30231551f3 Fem: Use expression binding with the constraint tie Tolerance property 2024-02-19 11:13:42 -06:00
sliptonic
0589deb7b3 Merge pull request #12426 from Schildkroet/bugfix_uccnc_drillcycles
[Path] Bugfix uccnc_post.py
2024-02-19 17:50:13 +01:00
sliptonic
0a88f3f416 Merge pull request #12075 from chennes/facemakerTranslationFix
Part: Fix translation bug in FaceMaker
2024-02-19 17:43:18 +01:00
Roy-043
4016d53f17 Draft: update DefaultShapeColor in params.py to match new default 2024-02-19 10:11:48 +01:00
bgbsww
b8486c1562 Toponaming/Part: Remove makeElementShape and cleanup opcode code 2024-02-18 21:57:12 -06:00
Chris Hennes
0422f11867 Merge pull request #12484 from bgbsww/bgbsww-toponamingPartFeatures
Toponaming/Part  part features transfer
2024-02-18 21:56:34 -06:00
marioalexis
f66d90de45 Fem: Prevent stop CalculiX immediately - fixes #12448 2024-02-18 21:55:41 -06:00
bgbsww
d815ac9341 Toponaming/Part: Clean up code 2024-02-18 17:35:15 -05:00
Zheng, Lei
60cea34b85 Toponaming/Part: transfer in FeaturePartFuse 2024-02-18 17:28:25 -05:00
Chris Hennes
556d00ec2c Merge pull request #12483 from bgbsww/bgbsww-toponamingMakeElementThickSolid
Toponaming/Part make element thick solid
2024-02-18 15:46:49 -06:00
bgbsww
43d55a6ed2 Toponaming/Part: Clean and test PartFeatures 2024-02-18 12:57:49 -05:00
FEA-eng
7d40503bc9 FEM new matrix solver types (PaStiX and Pardiso) (#12478)
* Update solver.py
* Update write_step_equation.py
* Update DlgSettingsFemCcx.ui
2024-02-17 20:14:32 -06:00
bgbsww
35539798b6 Toponaming/Part: Add tests and clean 2024-02-17 21:13:08 -05:00
Zheng, Lei
24fb41685f TopoNaming/Part: transfer makeElementThickSolid 2024-02-17 21:11:52 -05:00
Max Wilfinger
84b7304a6e [Material] Adjust default material appearance (#12380) 2024-02-17 20:07:44 -06:00
Chris Hennes
89dcf9c1d9 Merge pull request #12482 from bgbsww/bgbsww-toponamingGetSubTopoShape
Toponaming/Part: get sub topo shape
2024-02-17 20:03:59 -06:00
Chris Hennes
1653ad01d8 Toponaming/Part: clang-format pass 2024-02-17 19:37:29 -06:00
Zheng, Lei
36d0291f9c Toponaming/Part: move in PartFeatures 2024-02-17 19:41:43 -05:00
Zheng, Lei
dc258745e0 TopoNaming/Part: transfer makeElementThickSolid 2024-02-17 18:28:50 -05:00
Zheng, Lei
b843638879 Toponaming/Part: transfer in and clean getSubShapes, getSubTopoShapes, getOrderedEdges 2024-02-17 18:06:56 -05:00
wandererfan
026c48e022 [TD]fix Prefs Annotation tab
- prevent premature save of LineStandard
2024-02-17 12:11:14 -05:00
André Althaus
30f5595e2a Reformat files with clang-format 2024-02-17 17:13:14 +01:00
André Althaus
cf627f5ce4 Fix apply() method not called consistently
The python console commands where not consistenly reported because
the apply function was not called or not implemented.

The function is now called from the base class and also when
a subfeature is closed in MultiTransform.

Some missing properties are also added.
2024-02-17 17:13:14 +01:00
André Althaus
565b83d8fe Refactor: optimize member access specifiers
After refactoring many members have unnecessarily open access specifiers.
This changes as many members as possible to private or protected.
2024-02-17 17:12:59 +01:00
André Althaus
8694874080 Refactor: remove unused functions 2024-02-17 17:12:59 +01:00
André Althaus
f82663cfb0 Refactor: add default member initializers 2024-02-17 17:12:59 +01:00
André Althaus
2076dff79d Refactor: replace enum with enum class 2024-02-17 17:12:59 +01:00
André Althaus
0b3eb1ae08 Move duplicated code to the base class
All pattern sublcasses contain the same code for handling the
feature list. This code is now moved into the base class that handles
the common ui.

The subclasses now only need to call the setupUI/setupParameterUI function
in their constructors and implement the setupParameterUI function
to create their parameter ui into the specified widget.

The MultiTransform also handles it's common ui and the subclasses
can reuse setupParameterUI without code duplication.
2024-02-17 17:12:32 +01:00