Commit Graph

18499 Commits

Author SHA1 Message Date
luz.paz
34ee9afa75 Docs: Update Prefs > General > Macro dialog tooltips
Update the tooltip for the 'Macro' tab.
2019-10-09 14:10:52 +02:00
Zheng, Lei
bfe9681382 Gui: avoid unecessary visibility change when update view provider
This patch prevents syncing DocumentObject::Visibility when view
provider hides itself before updating. Some object may have additional
logic based on object visibility change. For example, GroupExtension
monitors its children visibility for exporting, and propgate changes to
upper hierarchy.
2019-10-09 14:01:44 +02:00
Zheng, Lei
363fe1b635 App: fix wrong python function type in FreeCAD.open() 2019-10-09 13:45:32 +02:00
Bernd Hahnebach
8d9e0c2c94 Arch: IFC import, better import of small assemblies for nonparametric arch and part shape mode 2019-10-09 08:16:14 +02:00
Bernd Hahnebach
3bc85bcc6c FEM: unit test, fix due to example renaming 2019-10-09 03:17:37 +02:00
Bernd Hahnebach
c3df99e984 FEM: examples, move dev in manager 2019-10-08 22:46:13 +02:00
Bernd Hahnebach
d780f7a356 'FEM: examples, better file names for meshes 2019-10-08 22:46:06 +02:00
Yorik van Havre
1b3c41bcaa Draft: Added property to hide lines in dimensions 2019-10-08 17:19:13 -03:00
Yorik van Havre
ead3f64b2b Merge branch 'master' of github.com:FreeCAD/FreeCAD 2019-10-08 17:16:46 -03:00
Bernd Hahnebach
326ea342d2 FEM: examples, manager, add recomputes 2019-10-08 21:56:55 +02:00
Bernd Hahnebach
e8bc344304 FEM: examples, delete not needed comment 2019-10-08 21:56:48 +02:00
Bernd Hahnebach
1ec2a9621b FEM: examples, better var name for solver type 2019-10-08 21:56:40 +02:00
Bernd Hahnebach
128358baaf FEM: examples, rename multi material example 2019-10-08 21:56:32 +02:00
Bernd Hahnebach
84c8652ee3 FEM: fem exapmles, add nonlinear material example to show peeq strain 2019-10-08 21:56:25 +02:00
Bernd Hahnebach
9763b52a2a FEM: frd reader, delete not needed import 2019-10-08 21:56:17 +02:00
Yorik van Havre
d96468734c Draft: Better fix of copy mode 2019-10-08 16:32:23 -03:00
Zheng, Lei
71c54272a0 Fix various Py::Object leak 2019-10-08 17:53:20 +02:00
Zheng, Lei
78999b471b Spreadsheet: fix test case
Because of change in RotationPy __pow__
2019-10-08 17:53:20 +02:00
wmayer
07975595ba fix build failure on Windows due to conflicting define of GDI API 2019-10-08 14:49:56 +02:00
wmayer
3006466a39 fix build failure with std::isdigit on Windows 2019-10-08 14:49:23 +02:00
wmayer
8f72e1fde6 fix typo 2019-10-08 10:36:19 +02:00
Zheng, Lei
059b2d4257 Gui: change default tree view document mode to Expand/Collapse 2019-10-08 10:28:13 +02:00
Zheng, Lei
f55da93297 Gui: improve scale handling in SoFCCSysDragger
Because of the scale transformion in Link, the dragger may have
undesired behavior. This patch checks scaling factor in scenegraph
transformation, and auto scale the dragger axis accordingly.
2019-10-08 10:27:56 +02:00
Zheng, Lei
23d42421d8 Gui: fix ViewProviderLink dragger behavior with scale 2019-10-08 10:27:30 +02:00
Zheng, Lei
2896791376 App: fix getSubObject() in Link
Do not include scale in transformation output in
LinkBaseExtension::extensionGetSubObject()
2019-10-08 10:26:29 +02:00
Zheng, Lei
6afe7071cd Gui: fix tree view option sync placement 2019-10-08 10:26:16 +02:00
Zheng, Lei
3de3f696e3 App: fix PropertyXLink file path update 2019-10-08 10:26:03 +02:00
Zheng, Lei
fbfad66d2b Gui: expose link actions to toolbar 2019-10-08 10:25:36 +02:00
Zheng, Lei
4eadbd038d App/Gui: add ObjectStatus::NoAutoExpand
Used by App::Origin to disable selection auto expanding in tree view.
2019-10-08 10:23:57 +02:00
Zheng, Lei
0d181d0dde App: allow link properties for all App::Link 2019-10-08 10:23:42 +02:00
Zheng, Lei
5c3e7d0925 Gui: fix missing tree view sync after drag and drop 2019-10-08 10:23:21 +02:00
Zheng, Lei
1833339359 App: add ScaleVector property to Link
This is a normally hidden property for non-uniform scaling
2019-10-08 10:23:05 +02:00
Zheng, Lei
472d114c00 App: fix Document::isTransactionEmpty() 2019-10-08 10:22:51 +02:00
Zheng, Lei
92c00e7324 Gui: improve array element color override in ViewProviderLink 2019-10-08 10:22:31 +02:00
Zheng, Lei
4c2647393d Part: add missing API ViewProviderPartExt::getElementColors()
This API is defined in Gui::ViewProvider to allow color override in
Link. In particular, the implementation in PartGui::ViewProviderPartExt
allows override for various part shapes.
2019-10-08 10:22:17 +02:00
Zheng, Lei
7c76d2f3c3 Part: fix TopoShape::getElementTypes()
This also fixes Std_BoxElementSelection in Gui/CommandView.cpp, which
relies on this API through Data::ComplexGeoData::getElementTypes().
2019-10-08 10:22:00 +02:00
Zheng, Lei
714d20895e Gui: fix tree view lingering sub element selection 2019-10-08 10:21:46 +02:00
Zheng, Lei
c4fec26aaa Gui: improve PropertyXLink display in property view 2019-10-08 10:21:31 +02:00
Zheng, Lei
998f801d37 App: migrate old SubElements in Link 2019-10-08 10:21:19 +02:00
Zheng, Lei
1e69eb0d8e Gui: improve SelectionSingleton::setVisible()
Change argument to enum type. Make setVisible() robust against
unexpected selection change.
2019-10-08 10:21:06 +02:00
Zheng, Lei
f57283f598 Link: change sub-element linking mechanism
Previous multi-sub-element linking (e.g. Face, Edge) is supported
through SubElements of type PropertyStringList, which does not support
geometry element update tracking. This patch changes it to use
PropertyXLink's new multi-subname capability.
2019-10-08 10:20:50 +02:00
Zheng, Lei
4042d83362 App: allow multiple subname in PropertyXLink
PropertyXLink and PropertyXLinkSub now only differ in getPyObject().
This is to allow Link support of multiple sub-element
2019-10-08 10:20:36 +02:00
Zheng, Lei
a03b847507 App: null pointer check in ComplexGeoData::noElementName() 2019-10-08 10:20:18 +02:00
Zheng, Lei
d8adbca942 Gui: minor fix of tree view drag move 2019-10-08 10:20:01 +02:00
Zheng, Lei
e03e6d9a44 Gui: expose link selection and navigation command 2019-10-08 10:19:20 +02:00
Zheng, Lei
68a9a847c5 Gui: improve Std_LinkSelect command
Recognize external object brought in by a link to a group. The
Std_LinkSelect will jump into the the owner document of the external
object.
2019-10-08 10:16:44 +02:00
Zheng, Lei
9e2bdd6ea8 Gui: assign default guesture to Std_SelBack/Forward 2019-10-08 10:16:20 +02:00
Zheng, Lei
845fa8471a Gui: add class GroupCommand help with grouped command
As an example usage, changed StdCmdTreeViewActions to be derived from
GroupCommand
2019-10-08 10:16:00 +02:00
Zheng, Lei
e97b89b4c7 Gui: output Cmt type macro line as comment in python console 2019-10-08 10:15:18 +02:00
Zheng, Lei
5c5ca1f523 Gui: add document to Command and Selection 2019-10-08 10:14:41 +02:00