Commit Graph

10581 Commits

Author SHA1 Message Date
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
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
f663a754c8 fix cyclic dependency if body is created when creating a shape binder 2017-09-13 12:20:16 +02:00
Markus Lampert
c401f9d75c Replace Base property type with LinkSubListGlobal in order to keep Path ops working. 2017-09-13 09:46:59 +02:00
Markus Lampert
76285ab781 Removed debug logging. 2017-09-13 09:35:27 +02:00
Markus Lampert
c5a3f5bf60 Fixed Job cancellation - to cleanup job again. 2017-09-13 09:35:27 +02:00
Markus Lampert
cdcb75c163 Moved task panel cleanup into preCleanup to avoid accessing already deleted objects in case of cancel. 2017-09-13 09:35:27 +02:00
Markus Lampert
154ead76ab Fixed job removal for non-path base objects 2017-09-13 09:35:27 +02:00
looooo
29429af805 Fem: fix one import statement for python3 2017-09-13 08:01:29 +02:00
Markus Lampert
5fe6b129cf Run recompute() after creating a Draft.clone. 2017-09-12 12:13:07 -07:00
wmayer
dc13d85d37 fix inconsistency between context-menu and default edit mode PD primitives 2017-09-12 19:49:07 +02:00
wmayer
be6b8dcd40 create shape of sketch on project load in case it has been saved without a recompute beforehand 2017-09-12 15:55:35 +02:00
wmayer
98bf3bdb4a don't reverse orientation after converting mesh to shape 2017-09-12 07:59:31 +02:00
Bernd Hahnebach
656239948d FEM: py3, set prints in brackets 2017-09-11 10:21:01 +02:00
Bernd Hahnebach
d272c581e9 FEM: unit test, make it simpler to add new directories to the python module import test and add some comments 2017-09-11 10:21:01 +02:00
DeepSOIC
e70a1678f8 fix warning 2017-09-10 18:32:06 +02:00
DeepSOIC
0f92c3e559 Part: Attacher3D: new modes - align axes
New attachment modes:
"Align O-Z-X"
"Align O-Z-Y"
"Align O-X-Y"
"Align O-X-Z"
"Align O-Y-Z"
"Align O-Y-X"
They allow to attach a sketch by picking origin point and sketch axes
directions.
2017-09-10 18:31:54 +02:00
DeepSOIC
f8feb18a07 Part: Attacher1D: new attachment mode "Normal to face"
addresses #3175
https://freecadweb.org/tracker/view.php?id=3175

Also, renames Datum Line's "Normal" attachment mode to "Normal to edge"
in Gui, for the name to be specific.
2017-09-10 18:31:25 +02:00
DeepSOIC
576294d30f Part: Attacher: fix normal-to-path vertex usage, #3175
Modes affected:
* NormalToEdge ("Z tangent to edge", "Normal to edge"),
* Tangent

In these attachment modes, if vertex is linked first, the origin was
supposed to be placed on the vertex, but it was placed on the edge
instead, due to a bug. This commit fixes the bug.

Projects will be broken, which use above mentioned attachment modes, and
link Vertex as first reference, and the vertex does not lie on the edge.
To repair a project, edit the corresponding attachments, and swap the
order of references.
2017-09-10 18:31:11 +02:00
wmayer
155c0007e4 add security check for data validation in FEM fluid boundary panel 2017-09-10 17:52:11 +02:00
qingfengxia
05b19019ac FEM: bugfix for Console print std::string which needs c_str() conversion 2017-09-10 17:09:44 +02:00
qingfengxia
3990115f6e FEM: enable thermal and turbulence boundary setting UI 2017-09-10 17:09:19 +02:00
qingfengxia
f9c1884595 FEM: enable edge selection for FemConstraintFluidBoundary of 2D case 2017-09-10 17:09:00 +02:00
wmayer
d11267ff1e load/save setting in techdraw panel 2017-09-10 17:08:23 +02:00
wmayer
c810508119 fix path to resource file in UI forms 2017-09-10 16:24:53 +02:00
WandererFan
b9f5de85b2 Handle Qt5 change from QString::sprintf to asprintf 2017-09-10 15:26:16 +02:00
WandererFan
d15cd94f19 Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +02:00
WandererFan
dfe174aec5 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00