Changesets: FreeCAD

master f4205130

2019-06-28 02:16:42

Zheng, Lei


Committer: wmayer Details Diff
App: Property related API changes

Property:

* Extended property status bitset. Mirror most of PropertyType and
allow dynamic change property type.

* Cache property name and type to improve performance

* Centralize property status change signalling

* Change aboutToSetValue()/hasSetValue() to virtual

* Add new API getFullName() to obtain full quanlified name of the property

AtomicPropertyChangeInterface:

* Allow calling aboutToSetValue()/hasSetValue() when actually changed

PropertyLists:

* Refactor implementation by an abstract class PropertyListBase and a
template class PropertyListsT, to allow better code reuse.
PropertyListT is derived from AtomicPropertyChangeInterface to allow
more efficient change on individual elements.

* All list type property now accept setting python value as a dictionary
with index as key to set individual element of a list.

* Add touch list for more efficient handling of value changes. The list
contains the index of changed value. And empty touch list should be
treated as the entire list is changed. PropertyContainerPy expose this
functionality with getPropertyTouchList().

PropertyPersistentObject:

* New property to allow dynamic creation of any FreeCAD object derived
from Base::Persistence, and use it as a property.

DynamicProperty:

* Use boost multi_index_container for efficient property lookup while
keeping order.

* Modify to be allowed to use in PropertyContainer directly

PropertyContainer:

* Use boost multi_index_container for efficient property lookup while
keeping order.

* Allow adding/removing dynamic property on all property container

* Modify Save/Restore() to persist property status, and better handle
transient property which can now be dynamically enabled/disabled per
object.

* Add new API getFullName() to obtain full quanlified name of the property.
Implemented by Document, DocumentObject, and also
ViewProviderDocumentObject if future patch

DocumentObject and FeaturePython are modified to accommondate the
dynamic property changes.

Removed get/setCustomAttribute() implementation from DocumentObjectPy,
and rely on PropertyContainerPy for the implementation, because of the
additional dynamic property support in property container.

Gui::ViewProviderDocumentObject, which is derived from
PropertyContainer, is also modified accordingly
Attach Issues:
mod - src/App/Application.cpp Diff File
mod - src/App/Application.h Diff File
mod - src/App/Document.cpp Diff File
mod - src/App/Document.h Diff File
mod - src/App/DocumentObject.cpp Diff File
mod - src/App/DocumentObject.h Diff File
mod - src/App/DocumentObjectPyImp.cpp Diff File
mod - src/App/DynamicProperty.cpp Diff File
mod - src/App/DynamicProperty.h Diff File
mod - src/App/FeatureCustom.h Diff File
mod - src/App/FeaturePython.h Diff File
mod - src/App/PreCompiled.h Diff File
mod - src/App/Property.cpp Diff File
mod - src/App/Property.h Diff File
mod - src/App/PropertyContainer.cpp Diff File
mod - src/App/PropertyContainer.h Diff File
mod - src/App/PropertyContainerPy.xml Diff File
mod - src/App/PropertyContainerPyImp.cpp Diff File
mod - src/App/PropertyGeo.cpp Diff File
mod - src/App/PropertyGeo.h Diff File
mod - src/App/PropertyStandard.cpp Diff File
mod - src/App/PropertyStandard.h Diff File
mod - src/Gui/ViewProviderDocumentObject.cpp Diff File
mod - src/Gui/ViewProviderDocumentObject.h Diff File
mod - src/Gui/ViewProviderPythonFeature.h Diff File

master 49067725

2019-06-27 17:53:02

yorik

Details Diff
AddonManager: Fixed image links
Attach Issues:
mod - src/Mod/AddonManager/addonmanager_workers.py Diff File

master 4fc39dfb

2019-06-27 17:41:46

russ4262

Details Diff
PathDrilling 4th-axis integration

Initial integration of 4th-axis functionality to the Drilling op in PathWB
Attach Issues:
mod - src/Mod/Path/PathScripts/PathCircularHoleBase.py Diff File
mod - src/Mod/Path/PathScripts/PathDrilling.py Diff File

master 115ff019

2019-06-27 17:27:47

wmayer

Details Diff
improve projection of points onto mesh
Attach Issues:
mod - src/Mod/MeshPart/App/CurveProjector.cpp Diff File

master c5e400cd

2019-06-27 17:27:12

wmayer

Details Diff
Add methods to get intersections of mesh edges, project point on edge
Attach Issues:
mod - src/Mod/Mesh/App/Core/Elements.cpp Diff File
mod - src/Mod/Mesh/App/Core/Elements.h Diff File

master ffd00190

2019-06-27 17:22:30

Kunda1


Committer: yorik Details Diff
Fix for ac2eb3 + general unifromity fix

Previous commit (ac2eb3) was incomplete. This commit fixes it. The commit also includes an general uniformity fix.
Attach Issues:
mod - src/Mod/AddonManager/Resources/AddonManager.qrc Diff File
mod - src/Mod/AddonManager/addonmanager_workers.py Diff File

master 5fb22278

2019-06-27 14:54:15

yorik

Details Diff
Arch: Removed log message in DAE exporter
Attach Issues:
mod - src/Mod/Arch/importDAE.py Diff File

master 0944d2f4

2019-06-27 11:22:14

berndhahnebach

Details Diff
FEM: flake8, lgtm, try to get them both quiet
Attach Issues:
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintSelfWeight.py Diff File

master ac2eb360

2019-06-27 11:06:59

Kunda1


Committer: yorik Details Diff
[AddonManager] Add DynamicData WB Logo
Attach Issues:
mod - src/Mod/AddonManager/Resources/AddonManager.qrc Diff File
add - src/Mod/AddonManager/Resources/icons/DynamicData_workbench_icon.svg Diff File

master 251a3b1f

2019-06-26 22:20:00

berndhahnebach

Details Diff
FEM: gui objects, catch a syntax error, if the user triggers the OK button with a wrong input
Attach Issues:
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintElectrostaticPotential.py Diff File

master b6fa7bd7

2019-06-26 22:01:35

berndhahnebach

Details Diff
FEM: gui objects, fix problems because off different Attribute names of part to mesh in mesh objs
Attach Issues:
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintElectrostaticPotential.py Diff File
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintFlowVelocity.py Diff File
mod - src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintInitialFlowVelocity.py Diff File

master 441b3d51

2019-06-26 21:55:38

berndhahnebach

Details Diff
FEM: utils, add a method to get the Part to mesh
Attach Issues:
mod - src/Mod/Fem/femtools/femutils.py Diff File

master ece1b7ec

2019-06-26 19:35:46

berndhahnebach


Committer: GitHub Details Diff
FEM: gui, commands, typo the second one :-)
Attach Issues:
mod - src/Mod/Fem/Gui/Command.cpp Diff File

master c1d9087d

2019-06-26 14:57:14

wmayer

Details Diff
add method to project points on mesh
Attach Issues:
mod - src/Mod/MeshPart/App/AppMeshPartPy.cpp Diff File
mod - src/Mod/MeshPart/App/CurveProjector.cpp Diff File
mod - src/Mod/MeshPart/App/CurveProjector.h Diff File

master 916fe7ce

2019-06-25 23:28:48

wandererfan

Details Diff
[TD]Remove tracker on Cancel
Attach Issues:
mod - src/Mod/TechDraw/Gui/TaskLeaderLine.cpp Diff File

master 9a3fe1fb

2019-06-25 19:44:15

TheMarkster


Committer: wmayer Details Diff
TaskCheckGeometry -- log geometry check errors to report view Affected Issues
0004034
mod - src/Mod/Part/Gui/TaskCheckGeometry.cpp Diff File

master e0db5b62

2019-06-25 16:15:10

wmayer

Details Diff
workaround in PyCXX classes due to removed support of old-style classes
Attach Issues:
mod - src/Base/GeometryPyCXX.cpp Diff File
mod - src/CXX/Python3/ExtensionOldType.hxx Diff File

master 76953d93

2019-06-25 12:02:12

berndhahnebach


Committer: GitHub Details Diff
FEM: gui commands, typo in comment
Attach Issues:
mod - src/Mod/Fem/Gui/Command.cpp Diff File

master 0bab3933

2019-06-25 09:36:54

realthunder


Committer: wmayer Details Diff
BrowserView: fix QWebEngine focus problem
Attach Issues:
mod - src/Mod/Web/Gui/BrowserView.cpp Diff File

master 961ffce9

2019-06-25 01:42:13

TheMarkster


Committer: wmayer Details Diff
TaskCheckGeometry settings panel with runBOPCheck option Affected Issues
0004034
mod - src/Mod/Part/Gui/TaskCheckGeometry.cpp Diff File
mod - src/Mod/Part/Gui/TaskCheckGeometry.h Diff File

master 72d4c36f

2019-06-24 22:09:52

berndhahnebach

Details Diff
FEM: gmsh tools, comment not used variable
Attach Issues:
mod - src/Mod/Fem/femmesh/gmshtools.py Diff File

master 73d8b31b

2019-06-24 22:05:05

berndhahnebach

Details Diff
FEM: mesh tools, quad4, fix mesh area (this has been wrong for years :-()
Attach Issues:
mod - src/Mod/Fem/femmesh/meshtools.py Diff File

master c06178bf

2019-06-24 22:03:17

berndhahnebach

Details Diff
FEM: lgtm, red rid of unnecessary assignments
Attach Issues:
mod - src/Mod/Fem/femmesh/meshtools.py Diff File

master 79016e08

2019-06-24 22:02:21

berndhahnebach

Details Diff
Materials: code formating, flake8
Attach Issues:
mod - src/Mod/Material/Material.py Diff File

master f445e34f

2019-06-24 21:47:57

berndhahnebach

Details Diff
FEM: vtk post processing, fix result type names in linearization plot
Attach Issues:
mod - src/Mod/Fem/Gui/Command.cpp Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 236 237 238 239 240 241 242 ... 300 ... 360 ... 420 ... 480 ... 540 ... 579 580 581  Next  Last