Uwe
d7074f88b4
[PD] AppPartDesignGui: sort includes
2022-07-25 23:36:39 +02:00
wmayer
88accdb421
PD: [skip ci] Fix several clazy issues:
...
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
* Unused QByteArray [-Wclazy-unused-non-trivial-variable]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
2022-07-25 13:40:19 +02:00
Uwe
1819aa9c0c
[PD] TaskExtrudeParameters: add missing simplification
...
forgot this change in commit 98dae1b2
2022-07-20 11:35:46 +02:00
Uwe
98dae1b217
[PD] TaskExtrudeParameters: simplify code
...
to avoid several time the same translatable string
2022-07-20 03:16:56 +02:00
adrianinsaval
0e22ada9dd
[PD Pad/Pocket] Fix bug with midplane usage in TwoLengths mode ( #7216 )
...
* [PD Pad/Pocket] Fix bug with midplane usage in TwoLengths mode
2022-07-20 03:13:01 +02:00
Uwe
43f289f27a
[PD] [skip CI] FeatureExtrude.cpp: fix a comment
2022-07-19 03:30:48 +02:00
Uwe
3a50f95be4
Mod: remove some superfluous Boolean checks ( #7213 )
...
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Uwe
5d76afe0a5
re-add some nullptr
...
to be safe since their removal within assert() or bools might have some impact I don't know
2022-07-18 02:32:36 +02:00
Uwe
697e88aed6
[PD] remove more superfluous nullptr checks
2022-07-18 01:33:28 +02:00
Uwe
a8d01fa6c6
[PD] add parameter enabling logic for pad/pocket
...
- currently all parameters are always enabled and thus can lead to errors like the one reported here:
https://forum.freecadweb.org/viewtopic.php?f=3&t=70266
2022-07-18 00:26:15 +02:00
Uwe
e4dfc42f33
[PD] improve face selection for Pad/Pocket
...
- this PR extends PR #7191 as described in this forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=70327
2022-07-17 18:35:34 +02:00
Uwe
35f75064a0
[PD] remove superfluous nullptr checks
2022-07-17 18:12:41 +02:00
Uwe
07ddfc88de
[PD] App: remove superfluous nullptr checks
...
- also Body: get rid of some nasty single-letter variables
2022-07-17 18:07:00 +02:00
Uwe
094ae93678
[PD] fix Pad/Pocket logic issue
...
- fixes the bug reported in https://forum.freecadweb.org/viewtopic.php?f=3&t=70266
as Method #2
-> When switching to two dimensions, symmetric must be unchecked if it is checked
2022-07-17 02:03:35 +02:00
wmayer
656408615a
PD: fix ProfileBased::getSupportFace() to also handle the case where a support face is selected
2022-07-16 16:08:09 +02:00
wmayer
882125c1c6
PD: rename getUpToFaceFromLinkSub to getFaceFromLinkSub
2022-07-16 15:59:54 +02:00
wmayer
8ae3185e3b
Part: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 13:31:10 +02:00
wmayer
c2667384bd
Replace std::ignore with boost::ignore_unused()
...
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
Uwe
19530b337f
[Part] [PD] add preferences setting for transparency
...
- allow to specify the default transparency for new shapes
2022-07-09 23:24:17 +02:00
Uwe
c5678ef373
[PD] FeatureDressUp.cpp: add missing include
2022-07-03 21:20:01 +02:00
wmayer
9b2b0e0acf
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
wmayer
7db925d991
App: fix memory leaks in Enumeration class and simplify code
2022-06-25 18:18:57 +02:00
Uwe
999f3b85ee
[PD] re-add accidentally removed code in commit 93525ff7
2022-06-25 16:44:44 +02:00
Uwe
1b2f0063a1
[PD] Hole initialization bugfix
...
- by default there is no hole head cut and therefore its parameter must be initialized as read-only (will be enably when user sets a head cut)
- also fix a typo
- also fix a UI file issue (automatically done by Qt Designer)
2022-06-25 16:36:50 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
Uwe
360b4282f7
[PD] Hole dialog fixes
...
- when there is no profile the change of the hole cut type was not handled
- for the deprecated hole cut types it must also be possible to use custom values
2022-06-25 03:31:27 +02:00
Yorik van Havre
830b3944db
Merge pull request #7067 from Kuzma30/add_ts
...
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
marioalexis
37511553f7
PartDesign: Use PyObject_IsTrue in combination with conditional ternary operator
2022-06-22 19:50:03 -04:00
Kuzemko Alexsandr
e678620cbd
Crowdin Update .ts files with current source.
2022-06-21 17:31:06 +03:00
wmayer
d81b016b2a
PD: several fixes of shape binder:
...
* add action to context-menu to remove an element
* use an exclusive button group to avoid to have several buttons pressed at the same time
* allow to completely clear the support
* when pressing OK/Cancel then operate on the document the shape binder is part of (which isn't necessarily the active document)
* remove obsolete parameter from ViewProviderShapeBinder::highlightReferences()
2022-06-12 14:03:42 +02:00
wmayer
5a432fe9ac
PD: allow to clear the shape when nullifying the Support property
2022-06-12 14:01:19 +02:00
Yorik van Havre
baa1105a53
Merged crowdin translations
2022-06-12 11:56:37 +02:00
wmayer
30706f4d0f
PD: allow to set object in shape binder dialog by typing its name
2022-06-12 00:38:48 +02:00
wmayer
007a5b351a
PD: use WeakPtr to avoid any possible dangling pointers
2022-06-11 23:37:33 +02:00
wmayer
a106f55ebe
PD: show object label instead of internal name in shape binder dialog
2022-06-11 21:00:15 +02:00
Yorik van Havre
19ffd1ca94
Merged crowdin translations
2022-06-10 11:03:57 +02:00
Uwe
10c6d6eabf
[skip CI] [PD] fix typo
2022-06-10 03:39:04 +02:00
Yorik van Havre
68e8c19aaf
Merged crowdin translations
2022-06-09 13:40:35 +02:00
Yorik van Havre
2e4dcfc22a
Generated ts files
2022-06-08 12:32:59 +02:00
Yorik van Havre
b06f247f9f
Merged crowdin translations
2022-06-08 12:28:54 +02:00
Yorik van Havre
b9b21ddac5
Merged crowdin translations
2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
eff8ecaafc
Crowdin Run update.ts with latest source code.
2022-06-07 13:15:44 +03:00
Yorik van Havre
e8f1bde367
Merged crowdin translations
2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2
i18n: Update TS files to ensure Python files are included
2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee
i18n: TS files generated by lupdate 6.4.0dev
2022-06-02 13:41:37 -05:00
Chris Hennes
d860c4bb2d
PD: Fix w[z] plot in ShaftWizard
2022-06-01 19:48:42 -04:00
Uwe
2de25dd04e
[PD] fix Shaft wizard
...
- the functionality is now in FC's core, for more info see: https://forum.freecadweb.org/viewtopic.php?p=599044#p599044
and following
2022-06-01 16:13:09 +02:00
Yorik van Havre
d447d75882
Merged crowdin translations
2022-05-31 13:31:52 +02:00
Yorik van Havre
d3d96816ce
Merged crowdin translations
2022-05-30 10:01:02 +02:00
Yorik van Havre
8676d67a87
merged crowdin translations
2022-05-28 12:16:47 +02:00