wmayer
d03a8fd386
+ fix various gcc & clang warnings
2016-04-24 16:21:19 +02:00
DeepSOIC
6b5554fb03
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
e797054304
Fix files encoding. Go from ISO8859-1 to UTF-8.
2016-04-15 10:22:08 +02:00
wmayer
0a7ab4e1ff
+ add missing license text
2016-04-13 15:20:41 +02:00
wmayer
5de9696365
+ fix warnings:
...
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
e3b609b309
+ consistent naming
2016-04-13 11:37:09 +02:00
Stefan Tröger
483e64f368
remove unneeded orig files
2016-04-12 19:10:19 +02:00
Stefan Tröger
cd2da9fe6d
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
7d30833349
PartDesign: Adopt to new property status bits
2016-04-12 18:12:22 +02:00
Alexander Golubev
6b75141514
Suppress a couple more warnings
2016-04-12 18:12:21 +02:00
Alexander Golubev
d523377631
App/OriginGroup: add missing AppExport
2016-04-12 18:12:21 +02:00
sgrogan
393ba05726
Win build fixes
2016-04-12 18:12:21 +02:00
Stefan Tröger
83eedba043
crossreferences only with ctrl button and fix missing return value
2016-04-12 18:12:20 +02:00
DeepSOIC
a1557d07da
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
0c620cc885
App/OriginFeature: a minor cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
56823eeb9d
App/Part: add getPartOfObject() to search a part for object
2016-04-12 18:12:18 +02:00
Alexander Golubev
2c2d155ee9
OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup
2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11
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
ecbb576330
App: minor fix of spacing
2016-04-12 18:12:17 +02:00
Alexander Golubev
26bb702ff6
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
c6797b6c29
Revert "part deletion handling"
...
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Alexander Golubev
dbb5786ffd
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
aa32522115
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
a35c231d2a
first take on enhanced feature pick task
2016-04-12 18:12:14 +02:00
Stefan Tröger
07b7d9ff08
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
fa441a9623
PropertyLinkSubList, Sketcher: move legacy Support readout from PropertyContainer to Part2DObject
2016-04-12 18:12:12 +02:00
DeepSOIC
ac5730996d
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
4b48362ec6
PartDesign: refactor positionBySketch
...
Rename it to positionByPrevious. Rewrite.
Rewrite SketchBased::transformPlacement.
2016-04-12 18:12:11 +02:00
Stefan Tröger
7f80e711f6
better active part and document tip handling
2016-04-12 18:12:10 +02:00
Stefan Tröger
0e8b78d2fb
make bodies, origins, planes and lines unmovable
2016-04-12 18:12:06 +02:00
Stefan Tröger
d6440b4143
switch linear pattern to coordinate system axis
2016-04-12 18:12:05 +02:00
Stefan Tröger
3f5caa2181
group coordinate planes and lines
2016-04-12 18:12:05 +02:00
Stefan Tröger
915b8ef446
add base lines
2016-04-12 18:12:05 +02:00
blobfish
b9512a2663
App: Part: rename base planes.
2016-04-12 18:12:03 +02:00
jriegel
884ae139fa
Several enhancements
...
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jriegel
d59904fd37
some fixes
2016-04-12 18:12:02 +02:00
jriegel
dc4fdc2c53
Assembly: Rename to setActiveBody and make link indeipendant Part initialization
2016-04-12 18:12:02 +02:00
jriegel
51b46e1e37
Assembly: Add GeoFeatureGroup and helpers
2016-04-12 18:12:02 +02:00
jriegel
e9744c842d
Make Part working
2016-04-12 18:12:02 +02:00
jriegel
602aeecaaf
add Python objects for Part and GeoFeature
2016-04-12 18:12:02 +02:00
jriegel
396f188f30
Tip property in Document and special load save handling
2016-04-12 18:12:02 +02:00
jriegel
86bbde4bda
Add path and view provider for Part
2016-04-12 18:12:02 +02:00
jriegel
35e35527db
Start of rework of class structure
2016-04-12 18:12:01 +02:00
jriegel
c46097654f
Const correctness in DocumentObjectGroup
2016-04-12 18:12:01 +02:00
jrheinlaender
2c378a4f8c
Add check in Document.cpp recompute() to check for invalid pointers
2016-04-12 18:11:49 +02:00
jrheinlaender
a6431ee5cf
Improved bounding box calculation for datum feature display size
2016-04-12 18:11:49 +02:00
jrheinlaender
efd33c8465
Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren()
2016-04-12 18:11:48 +02:00
jriegel
4d49b0b059
PropertyMap and new Attributes for the Assembly object and the Document
2016-04-12 18:11:46 +02:00
jriegel
4f0f3e8c94
implementing Plane visual
2016-04-12 18:11:44 +02:00
jriegel
95c9259765
Run arbitrary scripts from Cmd command line
2016-04-12 18:11:44 +02:00