Bernd Hahnebach
d377e17f0b
Fem+App: use Tuple in PropertyLinkSubList::getPyObject
...
- fix appropriate methods in FemMeshTools
- fix task panels in FEM
- fix FemInputWriter
2016-05-26 12:06:44 +02: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
efe1d18a57
+ issue #0002521 : SIGSEGV when trying to revert to saved file.
2016-05-20 13:01:23 +02:00
Stefan Tröger
ec16290be2
FEM Post: Fix rebase errors
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
David Pello
21ffb0305f
BSD Porting fixes, conditional compilation and use of gettimeofday()
2016-05-15 12:08:43 +02:00
wmayer
61aa0fcafe
+ implement PropertyMaterialListItem
2016-05-08 19:28:02 +02:00
wmayer
9d7b3c87be
+ restore old behaviour of PropertyLinkSubList::getPyObject to fix failure in ccxInpWriter.py
2016-05-08 14:50:50 +02:00
wmayer
926e5e127d
+ editor for PropertyMaterial
2016-05-07 22:11:37 +02:00
wmayer
3c5e2ea401
+ simplify initialization of some Python types
2016-05-07 21:18:47 +02:00
wmayer
4d94fbc15f
+ expose Material class to Python
2016-05-07 21:15:01 +02:00
wmayer
e9a46f658e
+ implement PropertyMaterialList
2016-05-07 14:41:24 +02:00
DeepSOIC
97f0e15175
App: fix ObjectIdentifier causing link errors
...
Add missing AppExport to hash_value().
2016-05-07 11:24:41 +02:00
wmayer
0509fcfc9e
+ avoid code duplication
2016-05-05 18:38:36 +02:00
wmayer
7f1f9b1256
+ fixes #0002518 : Propertylink enhancement.
2016-05-05 17:12:17 +02:00
Johannes Obermayr
bd3f6f4052
Fix boost::any bug with Boost 1.54.
...
and set BOOST_MIN_VERSION to 1.48.
Fixes:
- http://freecadweb.org/tracker/view.php?id=0002505
- http://forum.freecadweb.org/viewtopic.php?f=13&t=15310
- http://forum.freecadweb.org/viewtopic.php?f=3&t=15400
- http://forum.freecadweb.org/viewtopic.php?f=10&t=14108
2016-05-02 18:31:08 +02:00
wmayer
62ef3dd923
+ add new class ParameterSerializer to load and save parameter files
2016-04-29 17:43:07 +02:00
wmayer
d1bc34441d
+ fix various gcc & clang warnings
2016-04-24 16:21:19 +02:00
DeepSOIC
7b90837b9c
PartDesign: reverse XZ plane to match legacy orientations
...
discussion in forum thread "ZX plane in PartDesign Next (instead of XZ)"
http://forum.freecadweb.org/viewtopic.php?f=8&t=15319
2016-04-19 21:36:31 +03:00
Mateusz Skowroński
b6bace2cc4
Fix files encoding. Go from ISO8859-1 to UTF-8.
2016-04-15 10:22:08 +02:00
wmayer
b6892c5424
+ add missing license text
2016-04-13 15:20:41 +02:00
wmayer
6380881b58
+ fix warnings:
...
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
d604abdfc4
+ consistent naming
2016-04-13 11:37:09 +02:00
Stefan Tröger
1bc2caebb4
remove unneeded orig files
2016-04-12 19:10:19 +02:00
Stefan Tröger
71ec726161
Fix test cases by adopting to new behavior
...
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
3c39410002
PartDesign: Adopt to new property status bits
2016-04-12 18:12:22 +02:00
Alexander Golubev
eaeba5686f
Suppress a couple more warnings
2016-04-12 18:12:21 +02:00
Alexander Golubev
81cb035efc
App/OriginGroup: add missing AppExport
2016-04-12 18:12:21 +02:00
sgrogan
918c04d640
Win build fixes
2016-04-12 18:12:21 +02:00
Stefan Tröger
a92746da22
crossreferences only with ctrl button and fix missing return value
2016-04-12 18:12:20 +02:00
DeepSOIC
565a191689
App: circular reference testing routine for new links
...
DocumentObject::testIfLinkDAGCompatible: return true if link can be
created (no cycles will be made). False if the link will cause a
circular dependency and break recomputes.
2016-04-12 18:12:20 +02:00
Alexander Golubev
f7bcf565d9
App/OriginFeature: a minor cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
a3e3c78388
App/Part: add getPartOfObject() to search a part for object
2016-04-12 18:12:18 +02:00
Alexander Golubev
d72a919384
OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup
2016-04-12 18:12:18 +02:00
Alexander Golubev
305151be34
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
8bad396f16
App: minor fix of spacing
2016-04-12 18:12:17 +02:00
Alexander Golubev
54e572fd4c
App: add two callback to DocumentObject to perform initialization/uninitialization inside an object
...
Added two callbacks to App::DocumentObject
- setupObject()
- unsetupObject()
All associated code was added to App::Document
Also was added a specific flag ObjectFlag::Deleted wich is set when performing the deletion.
2016-04-12 18:12:17 +02:00
Alexander Golubev
ade1dec103
Revert "part deletion handling"
...
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Alexander Golubev
e26c6174ac
App/GeoFeatureGroup: derive from DocumentObjectGroup
...
Refactor GeoFeatureGroup and derive it from DocumentObjectGroup rather
than GeoFeatureObject to unify code of those two classes.
2016-04-12 18:12:17 +02:00
Alexander Golubev
57a913f796
DocumentObjectGroup: fix deleting of groups in case of malformed links
...
This one prevents thurther object structure damage if
DocumentObjectGroup::Group connains multiple links to the same feature.
Also minorr changes:
- Fix some spacing
- Ask the user if he wants to delete group content
2016-04-12 18:12:17 +02:00
Stefan Tröger
a2dba9be6e
first take on enhanced feature pick task
2016-04-12 18:12:14 +02:00
Stefan Tröger
1ebe3e729c
part deletion handling
...
-remove everxthing that belongs to a part on deletion
-disallow to delete the origin by the user and only remove it when Part is being deleted
2016-04-12 18:12:13 +02:00
DeepSOIC
9a48d210cf
PropertyLinkSubList, Sketcher: move legacy Support readout from PropertyContainer to Part2DObject
2016-04-12 18:12:12 +02:00
DeepSOIC
179f569036
PropertyLinkSubList: make it backwards-compatible with PropertyLinkSub
...
To assist porting Sketch's Support property from linkSub to linkSubList.
Includes file reading backwards compatibility.
2016-04-12 18:12:11 +02:00
DeepSOIC
f20ff5a8d4
PartDesign: refactor positionBySketch
...
Rename it to positionByPrevious. Rewrite.
Rewrite SketchBased::transformPlacement.
2016-04-12 18:12:11 +02:00
Stefan Tröger
b733d38064
better active part and document tip handling
2016-04-12 18:12:10 +02:00
Stefan Tröger
e6b96067f9
make bodies, origins, planes and lines unmovable
2016-04-12 18:12:06 +02:00
Stefan Tröger
616e372e4a
switch linear pattern to coordinate system axis
2016-04-12 18:12:05 +02:00
Stefan Tröger
46e4e3b2b4
group coordinate planes and lines
2016-04-12 18:12:05 +02:00
Stefan Tröger
b401f07bdf
add base lines
2016-04-12 18:12:05 +02:00