Josh Coalson
a8ae56e06a
Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052
2024-03-04 18:22:43 +01:00
LemonBoy
1c8ca27f28
Preserve object order when moving them
...
Remove and re-insert the selected objects at the specified point in the
tree while preserving their relative order.
The code used to insert them in reverse order.
Closes #12287
2024-02-19 11:16:08 -06:00
Adrian Insaurralde Avalos
963652c6a7
Avoid sending unescaped quotes to python console
2024-02-04 16:44:25 -06:00
Zheng, Lei
50fc8e86c7
PD: fix creating new body in active part
...
Add to active App::Part before setting active body in order to obtain
correct object path when setting active body
Fixes #10371
2023-12-17 21:28:37 +08:00
Florian Foinant-Willig
6adc675a12
PartDesign: modernize type checking
2023-10-23 18:08:16 +02:00
Ronny Standtke
1199f26401
fixed typo
2023-04-18 12:24:21 +02:00
Ronny Standtke
1be6c076ab
added i18n for new body labels
2023-04-18 12:23:37 +02:00
luz paz
c726b69d7e
PD: remove trailing whitespace
2022-11-10 10:32:04 +01:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
697e88aed6
[PD] remove more superfluous nullptr checks
2022-07-18 01:33:28 +02:00
Chris Hennes
6f230d7404
PD: PR6497 move return statement to new line
2022-03-29 12:37:21 -05:00
wmayer
3608ee7f51
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
fc151aa8b5
[PD] Workbench and Command: remove unused includes
2022-02-20 21:55:15 +01:00
luz paz
a5bfba2665
PD: Adjust header uniformity
2021-12-16 23:55:48 +01:00
luz paz
0042f58e4c
Make source code comments use gender neutral pronouns
...
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
wmayer
eb240c219c
PD: [skip ci] do not pop-up dialog when creating a body while another body is selected
2021-02-19 21:44:48 +01:00
Pierre LeMoine
7999536858
Transform patterns can be created from multiple base features
...
The infrastructure/piping seems to have been in place for a long while.
Not tested for all variations of pattern transforms.
The major enabler was removing the `break`.
Some extra piping added to let the code at call-site decide if to select multiple features or not.
2021-02-04 11:58:47 +01:00
bitacovir
d87b260692
[UI] Add SVG icons for three PartDesign commands
2021-01-18 11:04:32 -03:00
Chris Hennes
ea3ecf4054
Silence Qt/Windows setGeometry Warning
...
Add the optional Qt::MSWindowsFixedSizeDialogHint parameter to all uses of the QInputDialog::getX static functions to silence a Qt/Windows debug mode warning about QWindowsWindow::setGeometry: Unable to set geometry. Increase the size of the unit calculator to eliminate the same warning. Finally, call adjustSize() on the "Unsaved Changes" dialog to silence the warning.
2020-12-11 09:58:09 +01:00
luz paz
faa8688ee5
PartDesign: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the PartDesign Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
donovaly
4246c902a5
[PD] fix issue 3968
...
https://tracker.freecadweb.org/view.php?id=3968
Don't set the tip to features that cannot hold the tip
2020-11-13 17:03:19 +01:00
wmayer
f8a45e6b3c
PartDesign: [skip ci] remove automatic adjustment of view frustum when creating a body
...
In v0.17 this was needed to fix bug 2503 and was done with commit 798a57e2b7 .
Now a more sensible view frustum is already set on document creation.
The automatic adjustment is even annoying now if the document is not empty and nothing is selected because
the view frustum can become too big and thus the objects appear quite small.
2020-10-06 15:32:35 +02:00
wmayer
c9480d7d1a
PartDesign: [skip ci] fix -Wunused-variable
2020-06-10 12:52:52 +02:00
wmayer
107831e0a7
PartDesign: [skip ci] fixes #0004254 : Crash when canceling duplicate sketch in PartDesign
2020-03-24 15:15:25 +01:00
vocx-fc
008ef2f1ed
PartDesign: rename icon, and organize resource file
2019-12-06 14:35:14 -03:00
asapelkin
e9814d9183
used in-built methods instead of external algoritms
2019-11-21 18:57:06 +01:00
wmayer
d0d92b0801
force strict ISO C++ (-Wpedantic)
...
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
Zheng, Lei
11a93a0578
PartDesign changes
...
* Mostly for supporting in-place editing
* Add new SubShapeBinder that support cross coordinate system,
external, and sub-object binding
2019-08-17 15:15:47 +02:00
wmayer
6e44433b8b
activate/create 3d view when setting or getting active objects
2019-07-05 18:53:35 +02:00
Abdullah Tahiri
e82c154d1d
PartDesign: PCH GUI
2019-05-02 07:12:51 +02:00
wmayer
e3d63493c7
fixes 0003061: 'Move object after other object' function causes chaos
2019-02-24 14:04:42 +01:00
luz.paz
604811596f
Crowdin: cont...
2019-02-11 16:22:13 +01:00
luz.paz
4c33b114de
Crowdin: PartDesign/Gui/CommandBody.cpp grammar fix
2019-01-30 11:08:03 -02:00
wmayer
41b278a05b
fixes #0003256 : additive elements do not use color of Body
2018-06-10 10:12:32 +02:00
luz.paz
7a09a5774e
More misc. typos
2018-05-19 12:17:52 -04:00
luz.paz
b47e011c1c
Misc source comment typos
...
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`
Whitelist consists of:
```
aline
alledges
als
ang
behaviour
bloaded
calculater
cancelled
cancelling
cas
centimetre
childs
colour
colours
doubleclick
dum
eiter
elemente
freez
iff
indicies
initialisation
initialise
initialised
initialises
kilometre
lod
mantatory
methode
metres
millimetre
modell
nd
normaly
nto
oder
ot
pres
que
recurrance
rougly
seperator
serie
strack
substraction
te
thru
vertexes
whitespaces
```
2018-02-16 09:35:19 -05:00
luz.paz
f3098d5acb
Crowdin: fix case for 'partdesign'
...
ref: https://crowdin.com/translate/freecad/564/en-fr#6500374
also through in a random typo fix
2018-02-07 09:45:34 +01:00
wmayer
22b117fd83
+fixes #0003095 : Manual migration from 0.16 models to 0.17 models not possible
2018-01-03 19:43:17 +01:00
wmayer
433f366304
fix function assertActivePart by creating the part container
2018-01-03 15:27:35 +01:00
wmayer
71fbfa952f
add 2d features to body for drag and drop
2017-11-05 12:37:46 +01:00
Unknown
ad457ba96b
Misc. Typos
2017-10-09 19:59:33 +02:00
wmayer
8a17c4e079
fixes #0002862 : Check for shape type before using selection as base feature
2017-10-02 00:56:47 +02:00
wmayer
f228c37676
when inside the body has been created then hide the linked base feature
2017-09-22 17:57:37 +02:00
wmayer
75b2e858a2
add warning when compound with multiple solids/shells is selected
2017-09-22 12:16:21 +02:00
Stefan Tröger
dd87094672
Move App::Part to a separate global toolbar
2017-09-09 16:47:07 +02:00
luzpaz
467ef55788
Misc. typos discovered via crowdin
...
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
wmayer
7fbc80c11e
fix crash when moving a free sketch to a body
2017-08-19 13:20:53 +02:00
triplus
bab75bbcb7
PDN - what's this and command names improvements
2017-08-06 20:47:09 +02:00
wmayer
989fe4028e
various fixes:
...
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00