Commit Graph

908 Commits

Author SHA1 Message Date
DeepSOIC
f19e21a224 PartDesign: change view sizing on new sketch 2019-09-11 21:39:16 +02:00
0penBrain
f5a2eb0f59 PartDesign : make possible to prevent auto-switching to PartDesign WB when a Body is activated
* Use a boolean parameter located at BaseApp/Preferences/Mod/PartDesign/SwitchToWB
   * resolves #2703
2019-09-11 21:32:41 +02:00
Matthias Berberich
beebebc6b2 add intersection-toggle to thickness-tool
see: “Thickness tools is missing intersection-toogle”
https://forum.freecadweb.org/viewtopic.php?f=19&t=37952
2019-09-11 20:50:33 +02:00
Zheng, Lei
e976232ed7 PartDesign: fix ViewProviderBody tip icon update 2019-09-07 16:59:55 +02:00
Zheng, Lei
432c9ae15b Gui/PartDesign: fix setActiveObject() for Part and Body 2019-08-30 15:02:48 +02:00
Zheng, Lei
d00dd4724b PartDesign: fix datum edit through external link 2019-08-30 14:53:03 +02:00
wmayer
33b6c9c293 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
2019-08-17 19:52:49 +02:00
luz.paz
b869b6e29e Fix typos in various src/Mod directories 2019-08-17 15:32:49 +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
Zheng, Lei
fc87332709 Gui: Placement/DatumCS view provider changes
* Add always zoom invariant and always on top rendering to
  ViewProviderDatumCS

* Add a new utility class AxisOrigin for more efficient axis rendering.
  Also exposed to python.

* Change ViewProviderPlacement to use AxisOrigin for rendering.
  A single instance of AxisOrigin is shared by all
  ViewProviderPlacement. Selection context is used to distinguish among
  different instances.
2019-08-17 15:08:34 +02:00
Zheng, Lei
5214f5b7ce Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
0penBrain
90044b1283 Add basic ability that PartDesign doesn't switch to Task panel when activated => Add a 'SwitchToTask' boolean parameter to Mod/PartDesign and set to 'false' to prevent switching 2019-07-13 12:56:09 -03:00
wmayer
61b0755c89 automatically redirect to tip object in case body display mode is set to Tip and a face was selected to create a new sketch 2019-07-08 11:46:09 +02:00
wmayer
c3763479da activate/create 3d view when setting or getting active objects 2019-07-05 18:53:35 +02:00
wmayer
cb53719821 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
Abdullah Tahiri
d2d6a4bde2 PartDesign Gui: Extend ViewProviderDatum with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
3f63b164eb PartDesign Gui: Extend ViewProvider with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
9d805452f9 Pixmap: Make bigger attachment icon 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
813e9040ac PartDesign: Refactor set/remove tip in the new Gui::ViewProvider mechanism 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
d28ef3bd54 PartDesign: Extend Datums ViewProvider to overlay attachment status 2019-06-23 01:03:35 +02:00
wmayer
b2cd9bdab6 PartDesign: Extend context menu when right-clicking on 3d view in PD workbench 2019-06-21 13:02:56 +02:00
Yorik van Havre
ed8be15ef4 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
wmayer
657bcef798 use ShapeBinder to create a copy from Origin feature 2019-06-15 15:43:29 +02:00
wmayer
741a7bc016 extend ShapeBinder to also handle Origin features 2019-06-15 15:07:52 +02:00
wmayer
4146f823ff remove dependency of datum element if creation of copy fails 2019-06-15 12:23:47 +02:00
luz.paz
2b02659010 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
wmayer
f4e81a55a3 fix PartDesign build failure 2019-05-16 12:46:02 +02:00
Abdullah Tahiri
e71cf87551 PCH: PartDesign GUI PCH Enable 2019-05-16 12:46:02 +02:00
Yorik van Havre
2d47993780 Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
Abdullah Tahiri
07dacdba36 PartDesign: PCH GUI 2019-05-02 07:12:51 +02:00
luz.paz
b7b433e461 Misc. typo and whitespace fixes
Found via `codespell`
2019-04-30 10:15:59 -03:00
wmayer
f2bd5c3b8c PVS: V703 It is odd that the 'previewFaceSet' field in derived class 'ViewProviderPrimitive' overwrites field in base class 'ViewProviderAddSub' 2019-03-16 12:41:53 +01:00
wmayer
ba96c0773a PVS: V688 A local variable possesses the same name as one of the class members, which can result in a confusion 2019-03-13 11:58:43 +01:00
wmayer
174b7143ef PVS: V547 Expression is always true/false 2019-03-12 18:33:26 +01:00
Yorik van Havre
a3607ce029 Updated translations 2019-03-06 21:50:08 -03:00
Yorik van Havre
512af24397 Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit cd433358b09117f234dd0a51dc2a6bfa05428867.
2019-03-02 19:17:44 -03:00
Yorik van Havre
bd93bd2494 Merged crowdin translations 2019-02-28 21:53:37 -03:00
wmayer
1e6cfd430c support Del shortcut in several PD task dialogs 2019-02-27 13:36:45 +01:00
wmayer
8f9228653e fixes 0003061: 'Move object after other object' function causes chaos 2019-02-24 14:04:42 +01:00
wmayer
83d56d6250 fixes 0003805: After 'Create a hole with the selected sketch' the model disappears 2019-02-21 18:49:00 +01:00
wmayer
96e6a43245 In boolean task panel show labels not internal names, fix adding/removing bodies 2019-02-19 20:49:14 +01:00
wmayer
7ee80536b3 fixes 0003845: unwanted rounding for dimensions of subtractive shapes in task dialog 2019-02-19 09:50:12 +01:00
wmayer
34da2b5d4f PVS: V783 Dereferencing of the invalid iterator 'b' might take place. 2019-02-17 22:39:13 +01:00
wmayer
58bcee0e04 PVS: V595 The pointer was utilized before it was verified against nullptr 2019-02-17 20:55:52 +01:00
wmayer
b2a5f47e44 PVS: V560 A part of conditional expression is always true 2019-02-17 13:56:48 +01:00
wmayer
0739ad89eb issue 0003832: Editing thickness in Part or PartDesign resets join type to always being Arc 2019-02-16 15:56:46 +01:00
wmayer
2239483a58 in selection dialog also offer planar shape binders 2019-02-15 18:45:45 +01:00
triplus
92efd5fbe9 Improved icon themes support 2019-02-13 10:42:46 -02:00
luz.paz
4154f5dce5 Crowdin: cont... 2019-02-11 16:22:13 +01:00
luz.paz
745f0cb3b4 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00