Max Wilfinger
ab5e9e0ded
Fix source string mistakes reported on Crowdin ( #23157 )
...
* Fix source string mistakes reported on Crowdin
* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftfunctions/upgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftfunctions/upgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftguitools/gui_downgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
---------
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2025-08-24 20:51:32 -05:00
Ryan Kembrey
9d16384d6f
PartDesign: Fix regression in mirror
2025-08-05 16:29:12 +02:00
Max Wilfinger
be0c0e7a74
PartDesign: Update UI strings for consistency and correct for new fuctions and typos
...
Closes : #22128
2025-08-04 20:15:04 +02:00
Bas Ruigrok
7a49335cad
PartDesign: Remove use of adjustCameraPosition()
2025-06-23 19:28:56 +02:00
bofdahof
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Ladislav Michl
9683cf1e4f
Base: rename Exception's PascalCase methods to camelCase
2025-05-05 23:50:01 +02:00
Kacper Donat
77e40b9747
Base: Use explicit pointer syntax for freecad_cast ( #20694 )
...
* Base: Use explicit pointer syntax for freecad_cast
This aligns our custom cast with other casts
* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
9d97d1c895
Base: Rename Base::freecad_dynamic_cast into freecad_cast
...
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
PaddleStroke
f524e6302d
PartDesign : Subshapebinder tooltip ( #20023 )
...
* PartDesign : Subshapebinder tooltip
* Update src/Mod/PartDesign/Gui/Command.cpp
Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com >
---------
Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com >
2025-03-22 11:21:31 -05:00
PaddleStroke
ae08c322b2
Update src/Mod/PartDesign/Gui/Command.cpp
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-03-20 19:51:18 +01:00
PaddleStroke
9e0a9185f9
PartDesign: clone tooltip
2025-03-20 19:51:18 +01:00
Chris Hennes
0924f159a1
Merge pull request #20160 from karliss/popup-parent
...
Add missing parent for messagbox and other popups.
2025-03-17 00:16:49 -05:00
Karliss
42790475d6
Add missing parent for messagebox and other popups
...
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window. This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
Joao Matos
842a89c30e
PartDesign: Refactor Command::finishFeature.
2025-03-03 21:22:22 +00:00
tritao
551c2e48fb
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Benjamin Nauck
6f535f19fb
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Benjamin Nauck
74f3aee9a7
Add template based SelectionSingleton::countObjectsOfType
...
Also convert code to use this new method
2025-01-13 18:55:15 +01:00
wmayer
de647c5324
Fix compiler warnings
2024-10-26 00:48:04 +02:00
PaddleStroke
b1d5d4c105
Part Design: Remove legacy/modern workflow checks.
2024-10-24 21:52:38 -05:00
wmayer
e6f5946a9b
PD: Disable PartDesign_CompDatums & PartDesign_CompSketches if dialog is open
...
A group command is not disabled if its default command is disabled. This allows it to invoke the command when it should be impossible.
To fix the problem override the isActive() method in the sub-classes CmdPartDesignCompDatums & CmdPartDesignCompSketches
This fixes #16294
2024-10-14 17:55:12 +02: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
bgbsww
a495280693
Toponaming: fix bug with points in sketches
2024-06-01 22:57:31 -05:00
André Althaus
099e33a77f
Remove feature selection dialog for transformed features
...
The dialog is no longer necessary because without a selection the
transformed features default to "Transform body".
2024-05-23 12:40:41 +02:00
André Althaus
40a1487cb5
Set TransformMode to "Transform body" if no features are selected on creation of transform features
2024-05-23 12:23:32 +02:00
wmayer
1d78063df8
Fix accessibility of some group commands
...
Several group commands are active but require an active document to work. This PR overrides the method isActive() to
disable the commands if no active document exists.
The affected commands are:
* Std_ViewGroup
* Std_LinkActions
* PartDesign_CompDatums
* PartDesign_CompSketches
2024-05-23 10:14:46 +02:00
Max Wilfinger
ba9240a3f2
Update Part Design toolbars.
...
Command group for datum. Removed ShapeBinder. Added CheckGeometry.
2024-05-20 10:39:32 -05:00
David Carter
ba20441935
Material: Material appearance
...
Uses new material system for appearance
Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.
The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.
A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
Zheng, Lei
8df43d0327
Toponaming/Part: Move missed attacher code into place
2024-03-21 16:27:23 +01:00
Josh Coalson
fbd8767242
Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052
2024-03-04 18:22:43 +01:00
bgbsww
e10a62ae82
Use placement only on new objects
2023-11-27 17:46:45 +01:00
Florian Foinant-Willig
24934d7843
PartDesign: modernize type checking
2023-10-23 18:08:16 +02:00
wmayer
3e09b8ee2d
PD: modernize C++: use range-based for loop
2023-08-16 21:54:56 -05:00
wmayer
544f140046
PD: fixes #8161 : Clones do not copy colour
2023-05-11 17:06:02 -04:00
wmayer
2c99fa5e3d
PD: replace macros of CmdPartDesignClone
2023-05-11 17:06:02 -04:00
Chris Hennes
2ab9abbb01
PD: Attempt to translate exceptions in dialogs
...
Relies on the exception text having been added to the translation database in a previous call to QT_TRANSLATE_NOOP, and put in the 'Exception' context.
2023-04-27 17:41:41 -05:00
luzpaz
38a01939e0
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
Paddle
f116e83d9d
PartDesign: Chamfer/fillet/draft/thickness small fixes.
2023-03-28 13:30:13 +02:00
Paddle
bc22bf9c0d
PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection.
2023-03-28 12:52:42 +02:00
luzpaz
01e8bbc2bf
Fix various typos and whitespace
2023-03-10 14:40:46 +01:00
wmayer
161e091e4b
PD: refactor CmdPartDesignNewSketch::activated
2022-12-07 23:31:20 +01:00
luz paz
9e6af70140
PartDesign: fix header uniformity
2022-11-30 01:28:56 +01:00
Uwe
a25bdf15b9
use explicit prefix std:: for vectors
...
- also add potentially missing include
- this commit is an attempt to fix #7585
2022-10-11 01:44:24 +02:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
Uwe
dfecb337e7
[PD] remove more superfluous nullptr checks
2022-07-18 01:33:28 +02:00
Uwe
16b25c5dab
[PD] remove superfluous nullptr checks
2022-07-17 18:12:41 +02:00
wmayer
0f5725b34a
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
wmayer
0b2c73cf32
Gui: clean-up Selection API
...
Replace the int of the 'resolve' argument of several functions with a proper enum class.
* This avoids the inconsistencies in client code where often true/false is passed when an int is expected
* This avoids the use of magic numbers like 0, 1, 2 or the undocumented 3
2022-04-09 17:03:43 +02:00
Chris Hennes
65aa374083
PD: PR6497 move return statement to new line
2022-03-29 12:37:21 -05:00
wmayer
d1d4b996e7
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00