Commit Graph

36761 Commits

Author SHA1 Message Date
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
bgbsww
6bac7fb6c2 Toponaming/Part: Add tests and clean 2024-02-17 19:30:47 -05:00
Zheng, Lei
dc258745e0 TopoNaming/Part: transfer makeElementThickSolid 2024-02-17 18:28:50 -05:00
bgbsww
fc1d0cc71c Toponaming/Part: tests addition and cleaning 2024-02-17 18:07:23 -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
André Althaus
03bd548067 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
e0516b393f Merge pull request #12460 from bgbsww/bgbsww-toponamingMakeElementPipeShell
Toponaming/Part:  make element pipe shell
2024-02-16 22:54:22 -06:00
mosfet80
749fbb33b9 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
c919ea8666 Gui: remove ProjectView (#12410)
This class is not used anywhere, remove it.
2024-02-16 21:38:42 -06:00
mosfet80
be71f476a3 removed unused files 2024-02-16 21:36:36 -06:00
bgbsww
0dd2e686ff Toponaming/Part: Cleanup makeElementPipeShell, add tests, and some delinting 2024-02-16 22:16:58 -05:00
marioalexis
d0d501a34d Fem: Run option in examples open and run analysis - fixes #11056 2024-02-16 21:01:23 -06:00
Zheng, Lei
8d5f411b22 Toponaming/Part: Transfer makEPipeShell 2024-02-16 21:01:49 -05:00
Chris Hennes
f092531c9a Merge pull request #12435 from bgbsww/bgbsww-toponamingMakeElementLoft
Toponaming/Part: make element loft
2024-02-16 17:07:08 -06:00
bgbsww
634e77498b Toponaming/Part: Clean and add tests 2024-02-16 14:01:12 -05:00
Zheng, Lei
9e23a3c086 Toponaming/Part: transfer in makELoft 2024-02-16 11:22:29 -05:00
bgbsww
7ae4542884 TopoNaming/Part: cleanups and tests 2024-02-16 11:22:29 -05:00
Roy-043
ebb5fd9351 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
Roy-043
0beda2c1bd Draft: fix wrong selection after commands (improved)
The previous fix was not correct. Some commands would cause a crash and several files were missed.

Forum topic reporting a crash:
https://forum.freecad.org/viewtopic.php?t=85243
2024-02-16 10:56:10 +01:00
Ladislav Michl
b90f43d0d4 Gui: PythonWrapper: move getCppPointer into template 2024-02-16 09:25:02 +01:00
Ladislav Michl
3a26e22f38 Gui: PythonWrapper: move wrap instance argument into template 2024-02-16 09:22:57 +01:00
Ladislav Michl
7a3069797e Gui: PythonWrapper: fix access via Python to QObject and QWidget 2024-02-16 09:22:57 +01:00
Ladislav Michl
6d28656e44 Gui: PythonWrapper: unify getPyTypeObjectForTypeName 2024-02-16 09:22:57 +01:00
Ladislav Michl
8f029e551f Gui: PythonWrapper: consolidate module loader 2024-02-16 09:22:54 +01:00
Ladislav Michl
dbb46bcad8 CMake: Fix include path returned by find_pip_package
SetupShibokenAndPyside macro checks module include path and eventually
decides to disable respective module in case its include directory is
missing. Make this process more straightforward by testing directory
existence; "Location: " string is 10 not 9 characters long and leading
whitespace makes testing for directory name fail.
While there, rename variables to respect that find_pip_package returns
only single include and library path.
2024-02-16 09:19:09 +01:00
Ladislav Michl
2813981130 CMake: Move build options for Shiboken/Pyside to the top 2024-02-16 09:19:09 +01:00
Chris Hennes
01ad6adacc Merge pull request #12431 from bgbsww/bgbsww-toponamingMakeElementRuledSurface
Toponaming/Part:  make element ruled surface
2024-02-15 20:55:29 -06:00
bgbsww
98269a5a21 TopoNaming/Part: cleanups and tests 2024-02-15 19:07:19 -05:00
Zheng, Lei
edc3857bdb TopoNaming/Part: transfer in MakERuledSurface 2024-02-15 19:05:55 -05:00
Chris Hennes
91efafe7e7 Merge pull request #12417 from bgbsww/bgbsww-toponamingLinearize
Toponaming/Part: transfer in linearize
2024-02-15 18:02:08 -06:00
Roy-043
b7cadeab00 Merge pull request #12430 from Roy-043/Draft-remove-reapply_diffuse_color-workaround-step-2
Draft: remove reapply_diffuse_color workaround step 2
2024-02-15 23:44:52 +01:00
Roy-043
0426622963 Merge pull request #12429 from Roy-043/Draft-gui_line_add_delete.py-is-obsolete
Draft: gui_line_add_delete.py is obsolete
2024-02-15 23:44:29 +01:00
bgbsww
04491c32ed Toponaming/Part: Clean up linearize, add tests, and some delinting 2024-02-15 16:53:01 -05:00
Roy-043
7bb6b89956 Draft: remove reapply_diffuse_color workaround step 2
Stuff that was missed in #11946
2024-02-15 22:28:37 +01:00
Roy-043
3f2e8cf0a0 Draft: gui_line_add_delete.py is obsolete 2024-02-15 22:20:53 +01:00
Max Wilfinger
2bb09fe220 added Assembly option to problem template 2024-02-15 15:18:27 -06:00
Schildkroet
a892e5ca7c Bugfix uccnc_post.py
Fixed drill cycles for uccnc post
2024-02-15 21:58:35 +01:00