wmayer
a3a7b5a6a6
PD: [skip ci] if no active body exists then by default pre-select the first option to create a new body
2021-10-31 12:33:48 +01:00
0penBrain
0bd0ec5ed2
[PartDesign] Remove useless function overriding
...
Double-click is already handled by PartDesign::ViewProvider::doubleClicked()
Overridings in Loft & Pipe brings no specific behavior
By removing overridings, behavioral consistency is improved both in ...
... undo commands & body activation management when PartDesign items ...
... are double-clicked
2021-10-29 17:30:06 +02:00
Tomas Pavlicek
345dcd5252
[Gui] Issue #3923 - Arbitrary Tree item ordering + tests
2021-10-26 19:09:34 +02:00
luz paz
f3631c8ff1
PD: Expose missing commands to translation in Measure dropdown menu
...
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/6
2021-10-26 10:35:21 -04:00
wmayer
87ad1c0dde
PD: [skip ci] when creating a datum object allow user to create a body if needed
2021-10-22 20:23:16 +02:00
wmayer
45c3cee264
PD: open transaction when calling item of context-menu of sketch based features
2021-10-22 20:01:43 +02:00
wmayer
d39233313b
PD: [skip ci] code cleanup
2021-10-22 19:06:57 +02:00
wmayer
f628050732
PD: simplify code to display add/sub shape
2021-10-09 11:38:25 +02:00
wmayer
5b4c246944
PD: simplify code to display rejected shape and move it to its own function
2021-10-08 22:32:26 +02:00
wmayer
c2c5ae1bf0
Part: remove ViewProviderPartExt::getNormals
2021-10-08 19:34:48 +02:00
wmayer
0503f06930
PD: do not enforce a reference axis when no profile is used to pad a face
2021-10-08 18:21:42 +02:00
wmayer
f411390d33
PD: do not set ReferenceAxis when no profile is used to pad a face
2021-10-08 17:45:59 +02:00
bartus
0c3ba910aa
Fix linux build: undefined std:string_view
...
Pop 'mesh' library c++ stranderd to c++17
Add required <string_view> header
2021-10-03 14:36:16 +02:00
Chris Hennes
7339bb8382
Merge pull request #5071 from donovaly/PD-pad_along_fixes
...
[PD] fixes for padding along edge
2021-09-29 13:25:13 -05:00
Yorik van Havre
77925c428e
Updated ts files
2021-09-29 14:32:12 +02:00
donovaly
fb49450c62
[PD] fixes for padding along edge
...
- handle custom direction like all other directions
- allow to view the direction vector for all directions, but only to edit for custom
- fix enabling of the length alongNormal option
- also fix a translation issue
2021-09-29 01:11:50 +02:00
wmayer
b8c1877133
PD: [skip ci] fix minor issues:
...
* don't need to clear an empty vector
* remove two code blocks that effectively do nothing (except of producing a warning :) )
2021-09-28 15:43:25 +02:00
Chris Hennes
9ad741249b
Merge pull request #4685 from donovaly/PD-pad-direction-selection
...
[PD] add feature to select pad direction via an edge
2021-09-27 13:11:40 -05:00
Yorik van Havre
b042405933
Merged crowdin translations
2021-09-23 17:14:48 +02:00
donovaly
52436033b8
rebase to master
2021-09-20 01:37:47 +02:00
donovaly
6ce6a8a1e0
small fixes as suggested by @chennes
...
therefore also in the helix code
2021-09-20 00:59:17 +02:00
donovaly
069e765db0
[PD] add feature to select pad direction via an edge
...
This was requested by users in the forum and is indeed very valuable for the usability.
2021-09-20 00:59:16 +02:00
Chris Hennes
ff5bf3e0df
PD: LGTM - don't catch BaseException
2021-09-19 14:37:23 -05:00
Chris Hennes
8b7da3b0eb
PD: Silence LGTM warning about empty block
2021-09-19 13:39:49 -05:00
troyp76
1a3527c06a
Improved chamfer behavior when faces are selected
...
Improved chamfer behavior when faces are selected and non equal chamfer types are used
2021-09-18 22:03:28 +10:00
Ajinkya Dahale
e305dbd49c
PartDesign: Add new need active body dialog with option to choose body ( #4949 )
...
* [PD] Add new need active body dialog
Intended for use wherever an active body is needed but none exists. The dialog
contains a list with the bodies present in the document, with an extra option to
make a new body. Custom text can be provided if needed.
This commit also replaces the warnings used by "new sketch" and "primitive"
command with this new dialog.
Addresses issue #4288 .
2021-09-16 12:27:46 -05:00
luz paz
7fb4dd37e4
PD: Fix typo in function getContiniusEdges->getContinuousEdges
...
Related to PR #5029
2021-09-15 10:11:37 -04:00
wmayer
9fe1f56824
PD: fix ProfileBased::Restore to not affect sub-classes that need to handle changed property types/names
2021-09-15 15:45:24 +02:00
wmayer
e273954135
PD: move handling of changed properties of Transformed to handleChangedPropertyType
2021-09-15 15:20:40 +02:00
wmayer
6176e815e8
PD: move handling of changed properties of the Chamfer/Fillet to handleChangedPropertyType
2021-09-15 15:14:14 +02:00
wmayer
4327cd5ccb
Mod: make sure to call the base class' handleChangedPropertyType
2021-09-15 14:07:32 +02:00
Yorik van Havre
89e1a97d80
Merged crowdin translations
2021-09-07 11:26:48 +02:00
Yorik van Havre
41e0eda96c
Merge pull request #4914 from donovaly/PD-property-fixes
...
[PD] fix property issues
2021-08-30 13:30:30 +02:00
Yorik van Havre
2f70ddc3dd
Removed redundant namespace
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-08-30 13:30:06 +02:00
Yorik van Havre
49abe81271
Merged crowdin translations
2021-08-26 14:51:36 +02:00
Yorik van Havre
a8cb3ef1e3
Updated ts files
2021-08-26 14:50:54 +02:00
Yorik van Havre
d0de6284f9
Merge pull request #4872 from berberic2/PD_pad_ui_change
...
PartDesign: Hide the custom direction fields in Pad if no custom direction is used
2021-08-23 14:28:03 +02:00
0penBrain
586955e31b
[PartDesign] Enable reverse ability for Pocket/UpToFace mode as it makes sense for curved faces
2021-08-17 12:07:02 +02:00
0penBrain
b2cf8581e0
[PartDesign] Add reverse ability for Pad/UpToFace mode as it makes sense for curved faces
...
And does not hurt/break in case face is reachable in only one direction
2021-08-17 12:07:02 +02:00
0penBrain
39ca142d5f
[PartDesign] Restore 'Reversed' ability into Pocket/2dims mode
2021-08-17 12:07:02 +02:00
0penBrain
c561b5ac1f
[PartDesign] Fix 'Reversed' no more available in Pad 'toFirst/toLast'
...
While useless 'Midplane' was still visible
Bug introduced in commit #cf11f388, not fixed by commmit #b4b1cbed
Also fixing some typos
2021-08-17 12:07:02 +02:00
M G Berberich
82f1f5cc2b
PartDesign Pad UI-fix
...
hide the custom direction fields if no custom direction is used, to
unclutter the UI.
2021-08-16 19:38:05 +02:00
Yorik van Havre
163075b3ba
Merge pull request #4967 from Syres916/patch-30
...
[Base/Gui] Bugfix Property Item formatting
2021-08-16 14:34:41 +02:00
luzpaz
2a900b1850
[PartDesign] Expose WizardShaft/ strings to translation ( #4964 )
...
* [PartDesign] Expose WizardShaft/ strings to translation
* Correct use of double quotes
* [PD] Suggested changes in `Crowdin/pd-wizard-shaft` (#4 )
* [PartDesign] Use correct method name in `WizardShaft`
Use `QtCore.QT_TRANSLATE_NOOP` instead of `QT_TRANSLATE_NOOP` because latter is
not what is imported.
* [PartDesign] Remove undesired translations in `WizardShaftTable.py`
See comments by @chennes on PR#4964.
Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com >
2021-08-13 18:16:42 -05:00
Syres916
f3c2622468
[PD] Gui - Primitives change Base Quantity Format
2021-08-12 10:48:36 +01:00
luzpaz
b0b4b321cb
[PartDesign] Linting and cleaning superfluous whitespace ( #4851 )
...
* [PartDesign] Linted Mod/PartDesign/Scripts for pep8 compliance
* [PartDesign] Fix superfluous whitespace in WizardShaft/
* Added spaces per @chennes's feedback
2021-08-11 15:02:58 -05:00
luz paz
eab17ddff5
Fix various typos
2021-07-31 09:46:50 +02:00
donovaly
8b9afbd921
[PD] fix property issues
...
- Helix: the property Turns has the App::PropertyFloatConstraint thus also the pointer to it must have the same property
- LinearPattern and Helix: make constraints static class member (forgot this in commit 3704ad68 )
- Draft: make the constraint const
- PolarPattern and LinearPattern assure that the header file is loaded at last to avoid potential troubles
2021-07-11 01:43:38 +02:00
Yorik van Havre
1cee70cd62
Merged crowdin translations
2021-07-08 16:06:38 +02:00
Yorik van Havre
ed9dca288c
Merged crowdin translations
2021-07-01 13:56:25 +02:00