Commit Graph

12164 Commits

Author SHA1 Message Date
Markus Lampert
1263aecdaf Fixed up ToolController template arguments and loading for the switch to JSON. 2017-09-21 10:29:35 +02:00
Markus Lampert
ce43e688fa Added full JSON file format support to ToolLibraryManager. 2017-09-21 10:29:35 +02:00
Markus Lampert
837b07ced8 Changed default tooltable to be stored in json format - automatically converted on first access. 2017-09-21 10:29:35 +02:00
Markus Lampert
4110fdbb5b Added template attrs and setFrom support to Tooltable. 2017-09-21 10:29:35 +02:00
Markus Lampert
1d1636d1cf Creation of Tool from a templateAttrs dictionary. 2017-09-21 10:29:35 +02:00
Markus Lampert
ddec11cf24 Renamed fromTemplate to setFromTemplate. 2017-09-21 10:29:35 +02:00
Markus Lampert
b70086feaa Added restore from dictionary to Tool and templateAttrs for their retreival. 2017-09-21 10:29:35 +02:00
looooo
0ff658b3ce new-style-modules: fix wrong statement in comment 2017-09-20 23:25:26 +02:00
looooo
c7a4541722 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
ddfa62282a do some code clean-up and corrections in Selection class 2017-09-20 23:22:19 +02:00
wmayer
85619bff50 fixes #0003153: Preselect: Show object label in status bar 2017-09-20 22:52:09 +02:00
Peter Lama
9187919bb8 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
8550967f92 Misc. typos
Misc typos
2017-09-20 12:55:37 -04:00
Yorik van Havre
74ee138915 Draft: Add support for App::Part in Draft Clones 2017-09-20 11:12:11 -03:00
wmayer
4737b2bcbc fix build failure on Windows due to conflicting define with Win32 API 2017-09-20 15:58:09 +02:00
Mateusz Skowroński
2e32324007 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
33baa4a9f2 add convenience methods to directly set/get a placement to/from a shape 2017-09-19 15:43:28 +02:00
wmayer
c9fb691afe fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
Bernd Hahnebach
f2e45423eb FEM: unit tests, use for all objects creations the fem objects module 2017-09-19 11:33:20 +02:00
Bernd Hahnebach
f84079e5fb FEM: objects module, add doc parameter to creation tools 2017-09-19 11:33:08 +02:00
sliptonic
996adcacd4 Add test for imperial linuxcnc 2017-09-19 11:12:31 +02:00
sliptonic
259f643c7e added --inches flag to linuxcnc and smoothie post 2017-09-19 11:12:31 +02:00
sliptonic
a13b75cf5a Path: refactor Surface 2017-09-19 11:12:31 +02:00
wmayer
907095293c support of keywords in Mesh.read and Mesh.write 2017-09-19 10:31:07 +02:00
wmayer
b90e24eb5e for boolean ops also support to pass single shape and tolerance 2017-09-18 22:16:15 +02:00
wmayer
8d420127b7 remove deprecated Type attribute 2017-09-18 19:01:25 +02:00
wmayer
20b08561ad set default value of thrid parameter to None in SeletionGatePython 2017-09-18 12:37:41 +02:00
wmayer
eb87a20f8b use constraint to limit minimum and maximum degree 2017-09-18 12:07:00 +02:00
tomate44
f335d1f10d add MaxDegree setting to Part.Loft 2017-09-18 12:07:00 +02:00
Yorik van Havre
2db155a0c2 Draft: temporary fix for regression introduced by previous commit 2017-09-17 14:42:31 -03:00
Yorik van Havre
851e0bfd89 Draft: Fixed translate bug in non-GUI mode 2017-09-17 14:06:22 -03:00
WandererFan
45cd1ecf38 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan
89b29504dd 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
e61d2b5d13 Fix crash due to QGraphicsScene update while View.isDeleting() 2017-09-17 18:50:07 +02:00
WandererFan
9ca4b72f1d Make View backgrounds transparent
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan
00edf63be8 Fix Symbol based View positioning 2017-09-17 18:50:07 +02:00
WandererFan
8431ec0fc1 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00
Markus Lampert
c6fb629d15 Reduced log level. 2017-09-17 18:46:00 +02:00
Markus Lampert
7febd40788 Fixed pocket final depth calculation and hide it from user modifications. 2017-09-17 18:46:00 +02:00
Itai Nahshon
ab2a01c92f PartDesign: Multi Transform Linear Pattern fix. 2017-09-16 01:25:14 +03:00
wmayer
d5824d325e fix override warnings 2017-09-15 21:55:30 +02:00
wmayer
f1b9e751c8 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
c08f2efb63 fix possible memory leak in Robot module 2017-09-15 12:15:02 +02:00
wmayer
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
luzpaz
a3953e95df misc typos
misc-typos
2017-09-15 09:54:14 +02:00
wmayer
7c366eae50 fix override warnings 2017-09-15 08:26:48 +02:00
wmayer
506ce6b5f5 fix override warnings 2017-09-15 01:49:12 +02:00
wmayer
729a6d755b disable testIssue2985 2017-09-15 01:03:33 +02:00
wmayer
c68112977e fix override warnings 2017-09-15 00:58:21 +02:00
wmayer
80bc518981 use code from issue 0002985 for unit test 2017-09-14 16:48:05 +02:00