Commit Graph

9110 Commits

Author SHA1 Message Date
wmayer
d5077eae1e expose FeatureAddSub to Python, fixes #0000955 2017-09-14 15:09:53 +02:00
wmayer
712966ff50 rename method from remObject to removeObject to be more readable 2017-09-13 18:57:38 +02:00
wmayer
52ef3a5d19 avoid permanently throwing exception by attach engine 2017-09-13 18:42:33 +02:00
wmayer
0983c7e9ac fix cyclic dependency if body is created when creating a shape binder 2017-09-13 12:20:16 +02:00
Markus Lampert
9354a28659 Replace Base property type with LinkSubListGlobal in order to keep Path ops working. 2017-09-13 09:46:59 +02:00
Markus Lampert
14e3d29dee Removed debug logging. 2017-09-13 09:35:27 +02:00
Markus Lampert
715f136a8a Fixed Job cancellation - to cleanup job again. 2017-09-13 09:35:27 +02:00
Markus Lampert
1f0f02de7b 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
a9652ea214 Fixed job removal for non-path base objects 2017-09-13 09:35:27 +02:00
looooo
fd9de86ec0 Fem: fix one import statement for python3 2017-09-13 08:01:29 +02:00
Markus Lampert
1c26a26548 Run recompute() after creating a Draft.clone. 2017-09-12 12:13:07 -07:00
wmayer
9024ad34d0 fix inconsistency between context-menu and default edit mode PD primitives 2017-09-12 19:49:07 +02:00
wmayer
58e9f7477d 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
b9c2b58bd5 don't reverse orientation after converting mesh to shape 2017-09-12 07:59:31 +02:00
Bernd Hahnebach
098ec55b58 FEM: py3, set prints in brackets 2017-09-11 10:21:01 +02:00
Bernd Hahnebach
07a7b1b055 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
8bf409eb74 fix warning 2017-09-10 18:32:06 +02:00
DeepSOIC
a22c1206d1 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
8284e60401 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
4277c83b20 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
6dba95c7f0 add security check for data validation in FEM fluid boundary panel 2017-09-10 17:52:11 +02:00
qingfengxia
bfa78670d2 FEM: bugfix for Console print std::string which needs c_str() conversion 2017-09-10 17:09:44 +02:00
qingfengxia
5dd6073715 FEM: enable thermal and turbulence boundary setting UI 2017-09-10 17:09:19 +02:00
qingfengxia
d03f09d7ae FEM: enable edge selection for FemConstraintFluidBoundary of 2D case 2017-09-10 17:09:00 +02:00
wmayer
71eb988a45 load/save setting in techdraw panel 2017-09-10 17:08:23 +02:00
wmayer
53c4587df4 fix path to resource file in UI forms 2017-09-10 16:24:53 +02:00
WandererFan
4125bfe9c3 Handle Qt5 change from QString::sprintf to asprintf 2017-09-10 15:26:16 +02:00
WandererFan
ac762c32ea Ensure DrawView picks up DrawPage Scale at creation 2017-09-10 15:25:58 +02:00
WandererFan
c0cddda862 Use system Decimals, alternate or custom for Dimensions
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
fc6f8a91ce Fix page alignment when change to different Template 2017-09-10 15:25:22 +02:00
WandererFan
8e2e70c76e Prevent crash when Source(s) have no Shape 2017-09-10 15:25:05 +02:00
WandererFan
e94dce3906 Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan
bba800af1d Fix handling of Scale change in DrawViewSymbol classes 2017-09-10 15:24:30 +02:00
WandererFan
481008629b Add dumpSymbol method to DrawViewSymbol based classes
- this is mainly for debugging output from Arch/Draft
2017-09-10 15:24:14 +02:00
WandererFan
31535e9b53 Add preference for Template edit dot size 2017-09-10 15:24:00 +02:00
WandererFan
15be0f285e Include osifont in TechDraw
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
caace9d617 Add RedrawPage command 2017-09-10 15:23:23 +02:00
WandererFan
eb59620e4d Fix #2967 Allow fcstd to open without drawing TechDraw::DrawPage 2017-09-10 15:23:04 +02:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
2524053887 Add Page level redraw signal 2017-09-10 15:22:34 +02:00
WandererFan
ddbbae9956 Allow DrawPage updates to be suspended 2017-09-10 15:21:54 +02:00
Itai Nahshon
f981cf6572 PathJobGui - use correct unit to show feedrates in the tool tab. 2017-09-10 15:05:37 +02:00
Markus Lampert
831f9535ba Added buttons to use Z level of current selection for start or final depth. 2017-09-10 14:42:30 +02:00
Peter Lama
6f2f3f2e6e Fix Shape Binder crash when nothing selected first
Partially resolves issue #2517
2017-09-10 14:08:39 +02:00
wmayer
39b67da0d7 check for null shapes before performing boolean operation 2017-09-10 12:41:46 +02:00
wmayer
4ca7224312 support of loading old projects with shape binder or PartDesign boolean 2017-09-09 22:47:28 +02:00
Pablo Gil
a07790f0df updating Body, Part and Assembly icons 2017-09-09 18:29:53 +02:00
wmayer
3a0c3499e5 improve whitespaces 2017-09-09 18:07:46 +02:00
Stefan Tröger
104c7db3f9 Remove unneeded debug print in test case 2017-09-09 16:55:55 +02:00
Stefan Tröger
efe33757ee Make sure all relevant links are found for object in GeoFeatureGroup. issue0003150 2017-09-09 16:55:55 +02:00