Chris Hennes
40c5d137d2
Merge pull request #14074 from NomAnor/pd-icons
...
Change PartDesign Pad and Revolution tree icons
2024-05-20 11:45:16 -05:00
Florian Foinant-Willig
cded7480bf
PartDesign: hide Suppressed property with FC_USE_TNP_FIX flag
2024-05-20 11:32:34 -05:00
Kacper Donat
302706be38
Gui: Add ability to disable single-solid rule by default
2024-05-20 12:25:36 -04:00
Kacper Donat
e4ed0d883f
PartDesign: Introduce ability to disable single-solid rule
...
This adds "SingleSolidRuleMode" enum that controls if PartDesign will
enforce singular solid. By default the single-solid is enforced so
nothing changes for the user, it must be explicitly disabled by setting
new Allow Compound boolean property on a given body.
Default for this value is controled using user parameter under
Mod/PartDesign/AllowCompoundDefault
2024-05-20 12:25:36 -04:00
Kacper Donat
d0a35c8c03
PartDesign: Refactor single-solid rule enforcement
...
This refactors a single solid rule checking code from using the solid
count directly to using well abstracted `isSingleSolidRuleSatisfied`
method. This makes code easier to read and is the basis for next step
which is allowing users to disable this checks.
2024-05-20 12:25:36 -04:00
Max Wilfinger
ba9240a3f2
Update Part Design toolbars.
...
Command group for datum. Removed ShapeBinder. Added CheckGeometry.
2024-05-20 10:39:32 -05:00
André Althaus
eaa5b5c294
Use Body toolbar icon for the tree
2024-05-19 12:17:16 +02:00
André Althaus
641e866319
Remove unused icons
2024-05-19 12:16:56 +02:00
André Althaus
de6fe29d30
Replace the yellow Part primitive toolbar icons with the blue tree icons
2024-05-19 12:12:48 +02:00
André Althaus
d8c139fef0
Make "Sketch" in Pad icon red
...
In other icons the support geometry is red and this mirrors the other icons
2024-05-19 12:12:48 +02:00
bgbsww
6a947afda5
Toponaming: adjust tests
2024-05-18 14:12:04 -05:00
bgbsww
e50ef22e7b
Minor test tweaks, and small fixes to pass tests
2024-05-17 19:14:01 -05:00
André Althaus
fd74429dfa
Change PartDesign Pad and Revolution tree icons
...
Use the same icons as the toolbar buttons.
2024-05-17 09:09:46 +02:00
bgbsww
52ed6eb848
Toponaming: Bring in Chamfer, Fillet code and add tests ( #14035 )
...
* Toponaming: bring in missing code fragments in Sketcher
* Toponaming: Fix infinite recursion, remove debug cruft, rough in fillet test
* Bring in missing code; fix chamfers
* Toponaming: Add code for fillets and test
2024-05-15 19:43:30 -04:00
bgbsww
86abf074c0
Toponaming: bring in missing code fragments in PartDesign
2024-05-13 08:45:26 -05:00
Chris Hennes
9fead3682d
Update translations
2024-05-12 17:06:56 -05:00
bgbsww
5054cace46
Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers
2024-05-12 13:28:20 -05:00
wmayer
c2e3d61059
PD: Fix ShapeBinder::execute() if Support is empty
...
This fixes the reported regression: https://forum.freecad.org/viewtopic.php?t=87229
2024-05-10 15:06:22 +02:00
wmayer
f3637096e3
PD: Fix linter warnings
2024-05-10 15:06:22 +02:00
bgbsww
9fc744fbe3
Fix tests, slip in TNP defense
2024-05-07 13:42:21 -04:00
bgbsww
3ee0530ac2
Toponaming/Part: Fix fillet/pad bug, add tests
2024-05-07 09:40:48 -04:00
Chris Hennes
a5d8aaa21c
Update translations
...
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
Martin Rodriguez Reboredo
51987dc1ab
Fixups with Qt6 enums ( #13611 )
...
* Python PySide enums to C++ converter
* Python IntFlags to C++ int in getStandardButtons
* Remove int conversion in mods Python sources
2024-05-06 18:02:18 +02:00
bgbsww
920032c5a0
Lint corrections
2024-05-03 12:07:02 -04:00
bgbsww
b80d628c69
Merge branch 'main' into bgbsww-toponamingMissingAppMethods
2024-05-02 22:43:36 -04:00
bgbsww
20cae6c026
Toponaming/Part: unify revolution changes
2024-05-02 18:50:02 -05:00
bgbsww
4a0df0ea6d
Test for changed Sketches avoiding TNP
2024-05-01 20:29:26 -04:00
wmayer
2ea6bc17b6
Fix various compiler warnings:
...
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
hlorus
74d055e11a
[Part/PD] Remove measure tools
2024-04-29 09:27:22 -04:00
hlorus
6318586353
[PD] Add handlers for unified measurement facility
2024-04-29 09:27:22 -04:00
wmayer
491cb5ffcb
PD: Fixes crash if sub-element name of reference axis is empty
...
This fixes #13656
2024-04-27 07:43:40 +02:00
bgbsww
7961e82c66
Toponaming/Part: Fix all getBaseTopoShape calls. Tests and missing code.
2024-04-26 21:15:11 -05:00
Chris Hennes
ead426c6eb
Update translations
...
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
e7069e6797
Update translations.
2024-04-17 16:50:38 -05:00
bgbsww
0d8631973e
Toponaming/Part: Fix hashing, hasher mismatches, and adjust test results to match
2024-04-15 23:00:27 -05:00
Chris Hennes
ed3e1cf544
Merge pull request #13332 from wwmayer/fix_material_issues
...
Fix material issues
2024-04-15 10:33:29 -05:00
bgbsww
98880ca5df
Merge branch 'main' into bgbsww-toponamingFeatureDressup10399
2024-04-14 18:16:03 -04:00
bgbsww
bd406dbcfd
TopoNaming/PartDesign: Implement shapebinders
2024-04-14 17:13:14 -05:00
bgbsww
ccc03e8e60
Merge branch 'main' into bgbsww-toponamingFeatureDressup10399
2024-04-14 18:08:58 -04:00
Chris Hennes
305bba6db4
Merge pull request #13401 from bgbsww/bgbsww-toponamingPD6FeaturePrimitive
...
Toponaming/Part: Enhance testing for primitive features
2024-04-14 16:21:38 -05:00
Chris Hennes
2aaa856661
Merge pull request #13387 from bgbsww/bgbsww-toponamingPD5FeaturePad
...
Toponaming/Part Transfer more python ElementMapVersion and add feature pad testing
2024-04-14 16:06:40 -05:00
wmayer
4f8606fddb
PD: Fixes #13446 : Crash with hole in additive loft
2024-04-14 21:24:06 +02:00
bgbsww
459644be31
TopoShape/Part: Bug fixes; pass Hasher parms, OCCT 7.8 compatibility, ElementMaps correct item count
2024-04-14 13:56:07 -04:00
bgbsww
c5e481441d
Toponaming/Part: Add Pad test, cleanup
2024-04-14 07:10:27 -04:00
bgbsww
9ebb23f234
Toponaming/Part: Initialize the hasher so that it operates
2024-04-13 22:41:57 -05:00
bgbsww
69f6f2230a
Toponaming/Part: Enhanced testing for FeaturePrimitives
2024-04-12 10:32:05 -04:00
bgbsww
b7daa607af
Toponaming/Part: Add Pad test, cleanup
2024-04-12 10:32:05 -04:00
Zheng, Lei
01498d92d5
Bring in missing code
2024-04-11 18:20:26 -04:00
bgbsww
92e8a391c6
Toponaming/Part: Clean and add tests
2024-04-11 11:30:04 -04:00
Zheng, Lei
5a0ac5cafd
TopoShape/Part: Bring in FeatureDressup
2024-04-11 10:22:11 -04:00