Commit Graph

7636 Commits

Author SHA1 Message Date
wmayer
d6ffe12db1 + consistent context-menu to double-click event for ViewProviderBody 2016-05-22 18:47:13 +02:00
wmayer
8ca5e0b5f1 + fix gcc warning of unused variable 2016-05-22 18:45:37 +02:00
wmayer
dc74f02fad + improve whitespaces 2016-05-22 18:44:49 +02:00
DeepSOIC
218c81b7cc PartDesign: deactivate a container on double-click if already active
Before, it was impossible to deactivate a container (Part, Body) via gui
(or it wasn't obvious).
2016-05-21 01:31:06 +03:00
DeepSOIC
f873a24b84 PartDesign (core): fix inability to deactivate active object
It was impossible to deactivate active object (Part or Body) with:
Gui.ActiveDocument.ActiveView.setActiveObject("pdbody",None)
2016-05-21 01:31:06 +03:00
DeepSOIC
02bdaea6f7 PartDesign: fixes for new body creation
Upon creation, new bodies used to steal bits from other parts and
bodies, if they were accidentally selected. Extra checks have been added
to make that much less likely.
2016-05-21 01:31:06 +03:00
DeepSOIC
7cea600c08 Sketcher: change rules of external linkage
Was:
+ allowed: links to support
+ allowed: free links within one body,
+ Ctrl-protected: links between bodies of ?one? part
- blocked: (everything else) . i.e., if sketch is not in a body, only
links to support are allowed.

New:

* Across Parts, from Part to outside part, from document into part:
blocked
* Within one part (also if directly in document): allowed.
except links from body to outside or to other bodies are screened (hold
Ctrl to allow).
Support (attachment) is totally ignored in this logic.
2016-05-21 01:31:06 +03:00
wwmayer
e6dc897dfe Merge pull request #170 from f3nix/gcc-warnings-2
Fix some GCC warnings.
2016-05-20 22:23:36 +02:00
wwmayer
f30c333bf1 Merge pull request #173 from sgrogan/USE_VTK-fix
add AppFemExport to FemPostFunctionProvider
2016-05-20 22:12:04 +02:00
wwmayer
da9810ad95 Merge pull request #172 from bblacey/master
Increased travis git clone depth to fix version count mechanism
2016-05-20 22:10:38 +02:00
Bruce B. Lacey
cc39168879 Increased travis git clone depth to fix version count mechanism 2016-05-20 10:18:19 -07:00
sgrogan
09a967bcc3 add AppFemExport to FemPostFunctionProvider 2016-05-20 09:53:53 -04:00
wmayer
ace981d855 + fix crash in DocumentObserverPython if a property has no name (because it's not part of an object) 2016-05-20 13:57:30 +02:00
wmayer
090950ddba + rework message box in revert command 2016-05-20 13:02:28 +02:00
wmayer
efe1d18a57 + issue #0002521: SIGSEGV when trying to revert to saved file. 2016-05-20 13:01:23 +02:00
Wolfgang E. Sanyer
4f264cff28 Bug fix for ID#0002453
Note that the version of Bison and Flex used to generate the two .c files are newer than
in the last commit from 2010. Also,for anyine working on tbis in the future, dont forget
to run flex and bison on the .l and .y files respectively.
2016-05-20 10:05:18 +02:00
Yorik van Havre
a2fc92970d Moving NormandC to his new home 2016-05-19 20:07:44 -03:00
Yorik van Havre
78b29b7967 Merge pull request #171 from DeepSOIC/Attacher19
Attacher19: patch attachable objects in Draft to recompute properly; make Part primitives attachable.
2016-05-19 20:02:29 -03:00
DeepSOIC
66e8aa32ba Part: make primitives attachable 2016-05-20 00:11:16 +03:00
DeepSOIC
c7e4fbdf16 Draft: patch attachable objects + make clones attachable
Pathcing: add calls to positionBySupport on recomputes of features built on Part2DObjectPython.
Clone: make it attachable, regardless of source object type
2016-05-20 00:11:16 +03:00
DeepSOIC
fea4899630 Attacher: fix defaulting to 3D of AttachableObject 2016-05-20 00:11:16 +03:00
Mateusz Skowroński
dfed4adeff Fix some GCC warnings. 2016-05-19 22:22:12 +02:00
wmayer
295eb2455c + extend Gui.Selection.addSelection to pass object and tuple of sub-element names 2016-05-19 17:36:28 +02:00
Stefan Tröger
30f87e885e PartDesign: Implement voted tool ordering 2016-05-18 23:54:59 +02:00
Stefan Tröger
609da4749a fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
Stefan Tröger
30d763a67a PartDesign: Fix loft preview 2016-05-18 23:54:03 +02:00
Stefan Tröger
42cb9ee8cd PartDesign: Fix pipe preview display
When a base feature was available the preview mode did not show the pipe and also set the visibility of the pipe to false
2016-05-18 23:53:49 +02:00
Stefan Tröger
bad7901b66 PartDesign: Handle pipe external references 2016-05-18 23:53:33 +02:00
wmayer
cbfe92bcb5 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-05-18 23:44:59 +02:00
wmayer
3feaef3d2e + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC
1cf0e3de02 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC
7d7cf5c723 Attacher: add general purpose editor UI (python)
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
Yorik van Havre
f40758eba9 removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Stefan Tröger
ec16290be2 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger
e8f1bd65bf FEM Post: fix vtk include wthout guard 2016-05-18 21:35:15 +02:00
Stefan Tröger
3d5bcb5083 FEM Post: Handle wireframe with internal wires 2016-05-18 21:35:15 +02:00
Stefan Tröger
524dd7dbdc FEM Post: integrate FreeCAD color system 2016-05-18 21:35:15 +02:00
Stefan Tröger
f01235486b FEM Post: Remove unused files 2016-05-18 21:35:15 +02:00
Stefan Tröger
d79550fe40 FEM Post: import VTK types only when possible 2016-05-18 21:35:15 +02:00
Stefan Tröger
c9fb89fd31 FEM Post: Add missing property files 2016-05-18 21:35:15 +02:00
Stefan Tröger
affbf2b9d7 FEM Post: Give access to cmake BUILD variables from python
This commit adds a attribute __cmake__ to App which is a list holding all compile time cmake variables starting with BUILD.

Only export BUILD variables
2016-05-18 21:35:15 +02:00
Stefan Tröger
53312d2d10 FEM Post: Fix cutter error and "remove crashs" 2016-05-18 21:35:15 +02:00
Stefan Tröger
e801be0ccd FEM Post: Clean up work 2016-05-18 21:35:15 +02:00
Stefan Tröger
336e014130 FEM Post: Fix and extend file handling
-Fix crash on saving due to bad result to pipeline transfer
-fix vtk smart pointer usage
-support more file types(new vtk xml formats)
2016-05-18 21:35:15 +02:00
Stefan Tröger
c2a5cfb2f1 FEM Post: FreeCADify the vtk post processing
- Data property for saving/loading vtk data
- Use FreeCAD recompute system instead of vtk pipeline
2016-05-18 21:35:15 +02:00
Stefan Tröger
7ad1eae9b7 FEM Post: Add icons 2016-05-18 21:35:15 +02:00
Stefan Tröger
cbda698dee FEM Post: Fix crash due to wrong initalisation 2016-05-18 21:35:15 +02:00
Stefan Tröger
4ed61f5bba FEM Post: Update function manipulators
Update includes view and transformation handling
2016-05-18 21:35:15 +02:00
Stefan Tröger
fdfcf56369 FEM Post: Fix crash on gui dialog only 2016-05-18 21:35:15 +02:00
Stefan Tröger
44fea819ce FEM Post: Add icons for fem post processing 2016-05-18 21:35:15 +02:00