wmayer
5a3fafcc55
PD: Remove unneeded class member 'isApplying' from 'TaskHoleParameters'
2025-09-26 23:45:23 +02:00
Chris Hennes
16906e93db
Merge pull request #24240 from mrpilot2/cmake_pch_mods_part_2
...
Mods: use CMake to generate precompiled headers on all platforms
2025-09-26 09:46:26 -05:00
captain0xff
a678d8ec7f
Gui: hide the gizmos in case of any errors
2025-09-25 16:14:09 -05:00
Markus Reitböck
5b6a0b1852
PartDesign: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:36 +02:00
captain0xff
2cab5e7b64
Gui: refactor gizmo attachment code
2025-09-17 15:46:35 +02:00
Kacper Donat
f0d43b0ca9
PartDesign: Reorder fields in Hole dialog
...
This makes order of fields in Hole Parameters more natural with typical
input flow of the parameters, i.e. moves the size of the hole more to
the top as it is the most important parameter.
2025-09-08 10:48:13 -05:00
captain0xff
599d82488d
PartDesign: fix the draggers for pad type and hole
2025-09-03 00:42:39 +05:30
captain0xff
6e896b1248
PartDesign: add interactive gizmos
2025-08-30 17:02:52 +02:00
Kacper Donat
802af4c464
PartDesign: Add preview TaskBox to all feature task dialogs
2025-08-07 00:37:46 +02:00
Kacper Donat
7f87d87f61
PartDesign: Add transparent previews
2025-08-07 00:37:21 +02:00
Max Wilfinger
bee89d0447
PartDesign: Update UI strings for consistency and correct for new fuctions and typos
...
Closes : #22128
2025-08-04 20:15:04 +02:00
Alfredo Monclus
69f3dae845
PD: hole change the task panel threaded and model thread checkboxes into a combo/dropdown ( #21664 )
...
* PD: hole change threaded and modeled to combo in taskpanel
* Gui: Property editor apply review suggestions
2025-06-03 21:14:52 +02:00
Alfredo Monclus
551c15b48f
feat(PD): ISO tyre valve threads
2025-06-02 10:50:10 -05:00
Alfredo Monclus
9bbddbc1f6
PD: hole fix head custom values checkbox not appearing
2025-05-23 20:51:28 -06:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
theo-vt
774ec2cc93
PartDesign: Center holes on sketch points as well as circles and arcs ( #20583 )
...
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-04-21 23:30:57 +02:00
Alfredo Monclus
70007a28c1
refactor: add disambiguation to clearance hole names and use names from the standard ( #19869 )
...
* PD: refactor: threadFit use standard naming and add disambiguation
* PD: fix: do not use variables for tr
2025-04-21 09:54:23 -05:00
karliss
f0fe00e16a
PartDesign: Update counterbore min size in reaction to diameter changes ( #20217 )
...
Can't rely purely on `TaskHoleParameters::threadDiameterChanged` to update it since the signal is intentionally blocked while syncing state to GUI.
Closes #19744
2025-03-24 21:18:40 +00:00
Chris Hennes
c962dbbeb6
Merge pull request #19167 from alfrix/hole_new_taskpanel
...
feat(PD): hole taskpanel: new image based cut panel
2025-02-11 17:22:16 -06:00
Alfredo Monclus
da4f584a50
PD(hole taskpanel): apply review suggestions
...
* refactor: change to ternary op
* refactor: apply recommendations to widgets
* refactor: use QSignalBlocker
* refactor: address some compiler complaints
* refactor: add namespace Gui to new widgets
2025-02-11 12:23:13 -06:00
Alfredo Monclus
3202dde7ca
PD(hole taskpanel): Add custom widget for font-scaled SVGs
...
* feat: add custom widget for font scaled svgs
* refactor(PD): hole taskpanel svg tweaks
* fix(PD): build link on windows
2025-02-11 11:31:38 -06:00
Alfredo Monclus
de7a237a8a
PD(hole taskpanel): Include depth on diagram
...
feat(PD): hole diagram add include depth
refactor(PD): hole taskpanel: images add background
2025-02-11 11:31:38 -06:00
Alfredo Monclus
be3ce13a7c
PD(hole taskpanel): Add image-based hole cut panel
...
* feat(PD): hole taskpanel: new image based cut panel
* fix(PD): hole taskpanel fix dynamic cut types
* refactor(PD): hole taskpanel: renames and vlayouts to keep labels closer
* fix(PD): hole diagram tweaks
2025-02-11 11:31:17 -06:00
Alfredo Monclus
dc53d3dba2
feat(PD): guess closest thread designation
...
fixes metric to metric-fine not working when switching threadtype from cli and property panel and the cases when changing from metric to inch based types and vice-versa
2025-02-10 10:32:52 -06:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Alfredo Monclus
4dae03a994
feat(PD): hole taskpanel ui hide thread options if profile is none
2025-01-13 18:24:07 -03:00
Alfredo Monclus
4e5f5c4481
feat(PD): hole taskpanel ui hide hole cut options if not cut
2025-01-13 16:59:28 -03:00
Alfredo Monclus
36682bcee8
refactor(PD): remove the ui file connections, this are handled in the task code
2025-01-13 16:59:28 -03:00
Alfredo Monclus
6077317d12
feat(PD): hole taskpanel ui hide thread group if not threaded hide threadFit if threaded
2025-01-13 16:22:21 -03:00
Alfredo Monclus
5e8e2224d1
feat(PD): hole taskpanel ui hide thread model options if not applicable
2025-01-13 16:22:21 -03:00
Alfredo Monclus
32820ac425
feat(PD): hole taskpanel: hide drill point options if not applicable
2025-01-13 08:45:43 -03:00
Chris Hennes
173ff4da1e
Merge pull request #15744 from alfrix/threads
...
feature: add more thread types: BSP NPT and tapered
2024-12-20 12:22:38 -05:00
Alfredo Monclus
ca3cb78ad5
fix(PD): size should be enabled if profile is not none
2024-12-20 12:03:18 -05:00
Alfredo Monclus
ce91285e4d
feat(PD): BSF threads
2024-12-20 07:51:34 -03:00
Alfredo Monclus
edb565046d
feat(PD): BSW threads
2024-12-20 07:51:34 -03:00
Alfredo Monclus
588f4c3b00
feat(PD): ANSI pipe threads
2024-12-20 07:51:33 -03:00
Alfredo Monclus
acf04c7f1e
feat(PD): BSP - British standard pipe threads
2024-12-20 07:51:33 -03:00
Alfredo Monclus
f99db90986
fix(PD): initialization of thread class and fit
2024-11-11 18:18:30 +01:00
wwmayer
e98ffc3060
PartDesign: Prepare for clang-format ( #16048 )
...
* PartDesign: Prepare for clang-format
* [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-09-02 17:48:26 +02:00
wmayer
5731a27609
PD: Add template helper functions to safely access feature or view provider
...
In subclasses of TaskFeatureParameters use the new helper functions and check for null pointer. This fixes #15453
2024-07-18 13:40:08 +02:00
wmayer
351397e088
PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function
2024-07-18 00:02:07 +02:00
wmayer
cf6d8da448
PD: Make blockUpdate private class member
2024-07-17 20:09:53 +02:00
Syres916
44e8f91085
[PartDesign] Fix thread depth level not enabled unless clicked 3 times
2024-06-24 11:19:06 -05:00
wmayer
ca1cb21498
PD: modernize C++: use equals default
2023-08-22 13:31:17 +02:00
wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
Uwe
d27e69bdc9
[PD] add tooltip for Hole feature
...
- tooltip makes clear what the depth means for countersinks
- add comment why a calculation cannot be performed
- shorten some long lines
2023-03-10 05:14:24 +01:00
wmayer
12ed13ddbe
PD: move to new style connect()
2023-01-15 14:27:33 +01:00
Uwe
978642d03e
[PD] remove deprecated holes
...
- as discussed in https://github.com/FreeCAD/FreeCAD/pull/7642 the backwards compatibility for deprecated holes was already lost since FC 0.19
- this PR removes the deprecated types and transform holes created with FC 0.19 or 0.20 to the corresponding countersinks/counterbores.
- also add Counterdrill for translations
2022-10-27 14:24:32 +02:00
Stefan Klug
60d7b1d834
PartDesign: Add HoleCuteType "Counterdrill"
2022-10-24 15:19:24 +02:00