Commit Graph

36230 Commits

Author SHA1 Message Date
Chris Hennes
a55f40deea Merge pull request #12305 from bgbsww/bgbsww-toponamingFeaturePartFuse
Toponaming/Part FeaturePartFuse
2024-02-19 11:16:53 -06:00
LemonBoy
1c8ca27f28 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
6d0f757b94 Fem: Use expression binding with the constraint tie Tolerance property 2024-02-19 11:13:42 -06:00
Andrei Pozolotin
c5ad7b50b6 Resolve #11965 - no proper execute() for cross-property references
Solution B: parsequant() function
2024-02-19 11:12:52 -06:00
sliptonic
d7d9c84395 Merge pull request #12426 from Schildkroet/bugfix_uccnc_drillcycles
[Path] Bugfix uccnc_post.py
2024-02-19 17:50:13 +01:00
bdieterm
bed5e4362b Gui: unite init code for FreeCAD GUI (normal and via Gui.showMainWindow()) 2024-02-19 10:48:00 -06:00
Chris Hennes
925be2aa48 Merge pull request #12088 from 3x380V/qt6_fixes
Gui: Consolidate PythonWrapper
2024-02-19 10:46:12 -06:00
sliptonic
942b219e84 Merge pull request #12075 from chennes/facemakerTranslationFix
Part: Fix translation bug in FaceMaker
2024-02-19 17:43:18 +01:00
Roy-043
cbd27854df Draft: update DefaultShapeColor in params.py to match new default 2024-02-19 10:11:48 +01:00
bgbsww
0065c9cce7 Toponaming/Part: Remove makeElementShape and cleanup opcode code 2024-02-18 21:57:12 -06:00
Chris Hennes
2d0ef0e659 Merge pull request #12484 from bgbsww/bgbsww-toponamingPartFeatures
Toponaming/Part  part features transfer
2024-02-18 21:56:34 -06:00
marioalexis
38fdba4a95 Fem: Prevent stop CalculiX immediately - fixes #12448 2024-02-18 21:55:41 -06:00
Vincenzo Calligaro
5763ac32b0 Part/Toponaming: tests for MapperHistory (#12402)
* Part/Toponaming: MapperHistory
 * added test for MapperHistory::modified
 * added test for MapperHistory::generated
 * renamed edges in the test for MapperHistory::modified

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-18 16:42:41 -06:00
bgbsww
4959f7d140 Toponaming/Part: Clean up code 2024-02-18 17:35:15 -05:00
Zheng, Lei
56355b0215 Toponaming/Part: transfer in FeaturePartFuse 2024-02-18 17:28:25 -05:00
Chris Hennes
1ed79aea7d Merge pull request #12483 from bgbsww/bgbsww-toponamingMakeElementThickSolid
Toponaming/Part make element thick solid
2024-02-18 15:46:49 -06:00
Max Wilfinger
2a264241dc change default shape color 2024-02-18 14:12:22 -06:00
bgbsww
dbe300133a Toponaming/Part: Clean and test PartFeatures 2024-02-18 12:57:49 -05:00
FEA-eng
62c8469bde 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
10095d2625 Toponaming/Part: Add tests and clean 2024-02-17 21:13:08 -05:00
Zheng, Lei
08dc14c97b TopoNaming/Part: transfer makeElementThickSolid 2024-02-17 21:11:52 -05:00
Max Wilfinger
f6f8243b7e [Material] Adjust default material appearance (#12380) 2024-02-17 20:07:44 -06:00
Chris Hennes
b2c1f1a272 Merge pull request #12482 from bgbsww/bgbsww-toponamingGetSubTopoShape
Toponaming/Part: get sub topo shape
2024-02-17 20:03:59 -06:00
Chris Hennes
4306699826 Toponaming/Part: clang-format pass 2024-02-17 19:37:29 -06:00
Zheng, Lei
f7fe3ce345 Toponaming/Part: move in PartFeatures 2024-02-17 19:41:43 -05:00
bgbsww
ddcfdddcf2 Toponaming/Part: Add tests and clean 2024-02-17 19:30:47 -05:00
Zheng, Lei
f75e70343b TopoNaming/Part: transfer makeElementThickSolid 2024-02-17 18:28:50 -05:00
bgbsww
5db6ef559e Toponaming/Part: tests addition and cleaning 2024-02-17 18:07:23 -05:00
Zheng, Lei
99808e9ef2 Toponaming/Part: transfer in and clean getSubShapes, getSubTopoShapes, getOrderedEdges 2024-02-17 18:06:56 -05:00
wandererfan
609a7864e1 [TD]fix Prefs Annotation tab
- prevent premature save of LineStandard
2024-02-17 12:11:14 -05:00
André Althaus
bb25074076 Reformat files with clang-format 2024-02-17 17:13:14 +01:00
André Althaus
fd4bea24b7 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
48d9a8da86 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
77bcd7e50f Refactor: remove unused functions 2024-02-17 17:12:59 +01:00
André Althaus
4ae184706d Refactor: add default member initializers 2024-02-17 17:12:59 +01:00
André Althaus
ab7dd607a5 Refactor: replace enum with enum class 2024-02-17 17:12:59 +01:00
André Althaus
24c138373c 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
André Althaus
5139182dbe Refactor PD Pattern Tasks ui files
All files contain the same add/remove buttons and a feature list.

These common elements are moved into the TaskTransformedParameters.ui file.
The same goes for the common OK Button that is used in a MultiTransform.

The ui files for the patterns only contain their distinctive
parameters. And the common ui files contain an empy widget that will
be filled with the respective parameter widgets from the patterns.
2024-02-17 17:11:57 +01:00
Chris Hennes
c4daf256b2 Merge pull request #12460 from bgbsww/bgbsww-toponamingMakeElementPipeShell
Toponaming/Part:  make element pipe shell
2024-02-16 22:54:22 -06:00
mosfet80
9960838ca3 Gui: remove SoNavigationDragger (#12409)
Removed SoNavigationDragger files. These files are no longer used in the project
2024-02-16 21:39:28 -06:00
mosfet80
e4d22af2a1 Gui: remove ProjectView (#12410)
This class is not used anywhere, remove it.
2024-02-16 21:38:42 -06:00
mosfet80
2fe8f546b7 removed unused files 2024-02-16 21:36:36 -06:00
bgbsww
abde135776 Toponaming/Part: Cleanup makeElementPipeShell, add tests, and some delinting 2024-02-16 22:16:58 -05:00
marioalexis
7262b0ecc8 Fem: Run option in examples open and run analysis - fixes #11056 2024-02-16 21:01:23 -06:00
Zheng, Lei
ac1d862a3e Toponaming/Part: Transfer makEPipeShell 2024-02-16 21:01:49 -05:00
Chris Hennes
21b2bc41e4 Merge pull request #12435 from bgbsww/bgbsww-toponamingMakeElementLoft
Toponaming/Part: make element loft
2024-02-16 17:07:08 -06:00
bgbsww
921be4daaa Toponaming/Part: Clean and add tests 2024-02-16 14:01:12 -05:00
Zheng, Lei
d80758e882 Toponaming/Part: transfer in makELoft 2024-02-16 11:22:29 -05:00
bgbsww
044329ae82 TopoNaming/Part: cleanups and tests 2024-02-16 11:22:29 -05:00
Roy-043
69097667df Merge pull request #12443 from Roy-043/Draft-fix-wrong-selection-after-commands-improved
Draft: fix wrong selection after commands (improved)
2024-02-16 11:46:04 +01:00