Commit Graph

65 Commits

Author SHA1 Message Date
wmayer
fab2a0d1fa 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
67aee7cd21 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
154d510183 [UI] Add SVG icons for three PartDesign commands 2021-01-18 11:04:32 -03:00
Chris Hennes
533814dd0f 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
a65b3788c6 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
0c34461410 [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
c7b8ff16b7 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 d4ff570bf9.
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
b5c2befaec PartDesign: [skip ci] fix -Wunused-variable 2020-06-10 12:52:52 +02:00
wmayer
c4855ef56c PartDesign: [skip ci] fixes #0004254: Crash when canceling duplicate sketch in PartDesign 2020-03-24 15:15:25 +01:00
vocx-fc
d65225124f PartDesign: rename icon, and organize resource file 2019-12-06 14:35:14 -03:00
asapelkin
7b8f473cc9 used in-built methods instead of external algoritms 2019-11-21 18:57:06 +01:00
wmayer
b1dd1e61a7 force strict ISO C++ (-Wpedantic)
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
Zheng, Lei
cd2b7e297c 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
c3763479da activate/create 3d view when setting or getting active objects 2019-07-05 18:53:35 +02:00
Abdullah Tahiri
07dacdba36 PartDesign: PCH GUI 2019-05-02 07:12:51 +02:00
wmayer
8f9228653e fixes 0003061: 'Move object after other object' function causes chaos 2019-02-24 14:04:42 +01:00
luz.paz
4154f5dce5 Crowdin: cont... 2019-02-11 16:22:13 +01:00
luz.paz
d500430ffb Crowdin: PartDesign/Gui/CommandBody.cpp grammar fix 2019-01-30 11:08:03 -02:00
wmayer
af2ebf86ff fixes #0003256: additive elements do not use color of Body 2018-06-10 10:12:32 +02:00
luz.paz
43244aa762 More misc. typos 2018-05-19 12:17:52 -04:00
luz.paz
dcc65070c1 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
12c04d6c4e 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
2bf2449e48 +fixes #0003095: Manual migration from 0.16 models to 0.17 models not possible 2018-01-03 19:43:17 +01:00
wmayer
e88848bc0b fix function assertActivePart by creating the part container 2018-01-03 15:27:35 +01:00
wmayer
3923438307 add 2d features to body for drag and drop 2017-11-05 12:37:46 +01:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
wmayer
3da1e03593 fixes #0002862: Check for shape type before using selection as base feature 2017-10-02 00:56:47 +02:00
wmayer
3ea4ee8a67 when inside the body has been created then hide the linked base feature 2017-09-22 17:57:37 +02:00
wmayer
5866694388 add warning when compound with multiple solids/shells is selected 2017-09-22 12:16:21 +02:00
Stefan Tröger
1a3fb02eb9 Move App::Part to a separate global toolbar 2017-09-09 16:47:07 +02:00
luzpaz
f7b8e070db Misc. typos discovered via crowdin
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
wmayer
491525f7ac fix crash when moving a free sketch to a body 2017-08-19 13:20:53 +02:00
triplus
62626da940 PDN - what's this and command names improvements 2017-08-06 20:47:09 +02:00
wmayer
90653787a6 various fixes:
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00
Stefan Tröger
2e2c12219b Partially fix PartDesign move test 2017-06-19 15:37:09 +02:00
Stefan Tröger
1d10dd2835 Extend python interface for groups and fix test cases 2017-06-19 15:37:09 +02:00
asiersarasua
4564e4f4a4 Fix typos 2017-04-20 09:49:19 +02:00
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer
6e69e704f1 handle Coin3d version older than 4.0 2017-02-11 22:35:04 +01:00
wmayer
65355b07c1 fix OSX build failure due to outdated Coin3d version 2017-02-10 22:09:53 +01:00
wmayer
6333e3630c issue #0002503: Invisible pad object 2017-02-10 17:19:01 +01:00
Stefan Tröger
22c26d043a PartDesign: Adopt python interface to body group 2017-01-04 16:01:58 +01:00
Stefan Tröger
526d895a5d PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
wmayer
dd7c91ddcf fix -Wextra in PartDesign 2016-09-22 18:34:56 +02:00
wmayer
9e4bed2983 fix whitespaces 2016-08-25 12:27:08 +02:00
Sergo
8df9f9603e fix relinkToOrigin, remove source body from list, etc 2016-08-24 19:11:26 +02:00
Sergo
812bc2eb54 typo 2016-08-24 19:11:26 +02:00
Sergo
52bf940110 PD MoveFeature:Check if feature has dependencies in source body 2016-08-24 19:11:26 +02:00
Sergo
bb78c1fd8f PartDesignGui: move feature with its dependencies 2016-08-24 19:11:26 +02:00
wmayer
17de4e2efa fix Coverity issues 2016-08-22 15:02:18 +02:00