Commit Graph

12158 Commits

Author SHA1 Message Date
Markus Lampert
1dd18cc970 Added restore from dictionary to Tool and templateAttrs for their retreival. 2017-09-21 10:29:35 +02:00
looooo
677a149614 new-style-modules: fix wrong statement in comment 2017-09-20 23:25:26 +02:00
looooo
2ff47374f2 new-style-modules: adding the possebility to import from "freecad"
(this mostly aims at new modules and extension modules which want to use pip)
- any module having problems with nameclashes can use this syntax (from freecad import module)
- current imports still work (backward cobatibility)
- python extension moduels can be installed (pip) to python std path (eg.: site-packages)

- adding app, gui to the new freecad package:
```
from freecad import app
from freecad import gui
```

- syntax for importing c++ extension will not change
```
import FreeCAD as App
import FreeCADGui as Gui
```
2017-09-20 23:25:12 +02:00
wmayer
be8f0ed83d do some code clean-up and corrections in Selection class 2017-09-20 23:22:19 +02:00
wmayer
3212294847 fixes #0003153: Preselect: Show object label in status bar 2017-09-20 22:52:09 +02:00
Peter Lama
76474951d2 Attacher UX enhancements
- New editor for MapMode with button to open attacher dialog
- Hide attachment properties when they are not applicable
- Disable super placement ui in attacher dialog when object is not attached
- Always select used mode in mode list
2017-09-20 19:24:35 +02:00
luzpaz
a78be0d9c8 Misc. typos
Misc typos
2017-09-20 12:55:37 -04:00
Yorik van Havre
5e4b64d99f Draft: Add support for App::Part in Draft Clones 2017-09-20 11:12:11 -03:00
wmayer
01f7894b2b fix build failure on Windows due to conflicting define with Win32 API 2017-09-20 15:58:09 +02:00
Mateusz Skowroński
0a375d8267 Fix some more Quarter High DPI Display issues. Partially fixes #3130 (the offset issue).
Related to issue #2968.

Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-09-20 14:37:22 +02:00
wmayer
be18a46df9 add convenience methods to directly set/get a placement to/from a shape 2017-09-19 15:43:28 +02:00
wmayer
3058b0c713 fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
Bernd Hahnebach
0681f490d1 FEM: unit tests, use for all objects creations the fem objects module 2017-09-19 11:33:20 +02:00
Bernd Hahnebach
0692a83925 FEM: objects module, add doc parameter to creation tools 2017-09-19 11:33:08 +02:00
sliptonic
3d322773fd Add test for imperial linuxcnc 2017-09-19 11:12:31 +02:00
sliptonic
7a384f62bc added --inches flag to linuxcnc and smoothie post 2017-09-19 11:12:31 +02:00
sliptonic
8637831132 Path: refactor Surface 2017-09-19 11:12:31 +02:00
wmayer
08a58f0709 support of keywords in Mesh.read and Mesh.write 2017-09-19 10:31:07 +02:00
wmayer
6ed14ed76a for boolean ops also support to pass single shape and tolerance 2017-09-18 22:16:15 +02:00
wmayer
13da3cd226 remove deprecated Type attribute 2017-09-18 19:01:25 +02:00
wmayer
a9d4493891 set default value of thrid parameter to None in SeletionGatePython 2017-09-18 12:37:41 +02:00
wmayer
a07226cea1 use constraint to limit minimum and maximum degree 2017-09-18 12:07:00 +02:00
tomate44
f8585e71c1 add MaxDegree setting to Part.Loft 2017-09-18 12:07:00 +02:00
Yorik van Havre
8209762250 Draft: temporary fix for regression introduced by previous commit 2017-09-17 14:42:31 -03:00
Yorik van Havre
99b3e46f32 Draft: Fixed translate bug in non-GUI mode 2017-09-17 14:06:22 -03:00
WandererFan
79936fbca5 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan
a21ff86229 Fix Symbol fail to paint
- calls ViewProviderDocumentObject, but should call
  ViewProviderViewPart in order to receive repaint
  signals.
2017-09-17 18:50:07 +02:00
WandererFan
2e447dac3d Fix crash due to QGraphicsScene update while View.isDeleting() 2017-09-17 18:50:07 +02:00
WandererFan
63bfba6646 Make View backgrounds transparent
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan
40d19d438d Fix Symbol based View positioning 2017-09-17 18:50:07 +02:00
WandererFan
b6c820f4f4 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00
Markus Lampert
c9b053770b Reduced log level. 2017-09-17 18:46:00 +02:00
Markus Lampert
605afdfed0 Fixed pocket final depth calculation and hide it from user modifications. 2017-09-17 18:46:00 +02:00
Itai Nahshon
2e2c041885 PartDesign: Multi Transform Linear Pattern fix. 2017-09-16 01:25:14 +03:00
wmayer
76e8d81ae2 fix override warnings 2017-09-15 21:55:30 +02:00
wmayer
7a17a34dbe make computation of the length of an edge consistent to the computation of a (limited) curve 2017-09-15 19:29:44 +02:00
wmayer
501729a84c fix possible memory leak in Robot module 2017-09-15 12:15:02 +02:00
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
luzpaz
5c1eadf947 misc typos
misc-typos
2017-09-15 09:54:14 +02:00
wmayer
69e962b07a fix override warnings 2017-09-15 08:26:48 +02:00
wmayer
ed87b819cb fix override warnings 2017-09-15 01:49:12 +02:00
wmayer
5e417af9c1 disable testIssue2985 2017-09-15 01:03:33 +02:00
wmayer
fc3ac1c77e fix override warnings 2017-09-15 00:58:21 +02:00
wmayer
b65d0f140b use code from issue 0002985 for unit test 2017-09-14 16:48:05 +02:00
wmayer
9d21da205f expose FeatureAddSub to Python, fixes #0000955 2017-09-14 15:09:53 +02:00
wmayer
09737f2db3 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
wmayer
e34a623aeb avoid permanently throwing exception by attach engine 2017-09-13 18:42:33 +02:00
wmayer
9d83392a4f mark document objects with Destroy flag before deleting them and handle this in the link properties 2017-09-13 16:14:19 +02:00
wmayer
4b400fd986 rename status bit 'Delete' to 'Remove' as it fits better for its purpose, add new bit 'Destroy' 2017-09-13 15:47:48 +02:00
wmayer
82537ca863 fix access of dangling pointer (in case undo/redo is off)
use unique_ptr to delete object before leaving remoObject
2017-09-13 15:11:29 +02:00