Stefan Tröger
ad5785654e
add only a single reference copy
2016-04-12 18:12:21 +02:00
Stefan Tröger
fe5d8b957d
Fix incorrect ShapeBinder recalculation
2016-04-12 18:12:21 +02:00
Stefan Tröger
932f976dd9
Ensure correct sketch placement calculation
...
As bodies are movable now they need to be taken into account for calculating the sketch placement.
2016-04-12 18:12:21 +02:00
Stefan Tröger
d878028c60
Fix sketch on face of other body or part
...
The shapebinder object reduces the number of faces to 1, hence the subshape to select is always Face1 and not the original face name
2016-04-12 18:12:21 +02:00
Stefan Tröger
f784daf7f1
Ensure claimchildren3d is always respected
...
With the new setup object signals it may happen that a document object claims children but has no property changed after the viewprodivers creation. This scenario is not supportet up to now as the scene graph children are only set when the object changes.
2016-04-12 18:12:20 +02:00
Stefan Tröger
3fa3ef5856
ensure document objects claims in tree
...
It is possible that a newly reated document object already claims other existing objects. The tree needs to be recomputed in this case.
This happens for example for the origin, which creates its planes and axis first and claims them before its own viewprovider is created.
2016-04-12 18:12:20 +02:00
blobfish
503a475e63
Core: Gui: DAGView: see following note:
...
Rework highlight rendering.
Exception for topo sort.
2016-04-12 18:12:20 +02:00
Stefan Tröger
3b43f2cdc5
fix body booleans
2016-04-12 18:12:20 +02:00
Stefan Tröger
f2ad7bde4b
PartDesign/Gui: minor fix sWhatsThis of text
2016-04-12 18:12:20 +02:00
Stefan Tröger
08287504fa
Fix crossreference handling
2016-04-12 18:12:20 +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
b21950326c
Sketcher: when refusing to link external, print why (in statusbar)
2016-04-12 18:12:20 +02:00
DeepSOIC
81592ea816
SelectionGate: add capability to display why not allowed.
2016-04-12 18:12:20 +02:00
DeepSOIC
61dd847db1
Sketcher: allow referencing everything; add testing for circular references
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
Stefan Tröger
a8781fdacc
handle independent copies more gracefully
2016-04-12 18:12:20 +02:00
Stefan Tröger
afc666e587
change point of reference feedback for datums
...
On datum creation it is better to ask the user on OK than on tool activation, as he might hit cancel (and then the created references are till there) or even more important, he could add additional external references within the dialog. The disadvantae is that if the user sets "cross reference" ge gets asked again every time he opens and leaves the dialog.
2016-04-12 18:12:20 +02:00
Alexander Golubev
1ac37a44f3
PartDesign/Body: add ability to store facebinders inside a body
2016-04-12 18:12:20 +02:00
Stefan Tröger
4e1a9c05cb
ask user if he creates inter part/body references
2016-04-12 18:12:20 +02:00
Stefan Tröger
6f8dc62297
add task for datum shape features
2016-04-12 18:12:19 +02:00
Stefan Tröger
c8d9e76a65
PartDesign/Plane: several enhancements to plane icon
2016-04-12 18:12:19 +02:00
Stefan Tröger
00b230fdf8
Setup ShapeBinder Viewprovider and command
2016-04-12 18:12:19 +02:00
Stefan Tröger
21740ffda1
PartDesign: Reorder datum commands
2016-04-12 18:12:19 +02:00
Stefan Tröger
b610dcc97c
fix dependent copy references
...
to make them work with sketches an additional Part2DObject reference needed to be created
2016-04-12 18:12:19 +02:00
blobfish
241846dda2
Core: Gui: DAGView: using pending icon and showing valid status for tool tip
2016-04-12 18:12:19 +02:00
blobfish
cfed58cfd9
Core: Gui: DAGView: add pending icon
2016-04-12 18:12:19 +02:00
Alexander Golubev
266a36bb94
PartDesign/TaskLoftParameters: Added UpdateView checkbox +cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
96ae671a23
PartDesign/Gui: prevent Task*PatternParameters not crash on non sketchBased features
2016-04-12 18:12:19 +02:00
Alexander Golubev
3261fdce14
PartDesign/TaskLoftParameters: removed unused hidden widgets
2016-04-12 18:12:19 +02:00
Alexander Golubev
57c583bb09
Part/Gui: remove ViewProviderPart::onDelete which handled unnecessary body housekeaping
...
Also do some headers cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
3bbbb941d1
PartDesign/ViewProviderBody: reduce number of recalculations in the body
2016-04-12 18:12:19 +02:00
Alexander Golubev
ec47cfce54
PartDesign/Gui: rework of ViewProviderDatumCS
2016-04-12 18:12:19 +02:00
Alexander Golubev
4aaad7811f
PartDesign/ViewProviderDatum: minor enhancements
...
- added defaultSize constant
- fixed typo in margin{g,}Factor function name
2016-04-12 18:12:19 +02:00
Alexander Golubev
a8fcda3523
GeoFeaturertDesign/Gui: Add recompute sizes and datums to the body vp
2016-04-12 18:12:19 +02:00
Alexander Golubev
f7bcf565d9
App/OriginFeature: a minor cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
625ba08226
Gui: forbid to delete OriginFeatures
2016-04-12 18:12:19 +02:00
Alexander Golubev
ba57e0e4dd
PartDesign/Gui: rework ViewProviderDatumPlane
2016-04-12 18:12:19 +02:00
Alexander Golubev
0be77b1884
PartDesign/Gui: make Datums use general material interface
...
- Make Datums colorable and transparent
- Change default datums color to yellow and transparency to 60%
- Rework Lines and Points datum view provider
- Add ViewProviderDatum::defaultBoundBox()
2016-04-12 18:12:19 +02:00
Alexander Golubev
d62aa38ac4
PartDesign/App: cleanup datum's classes and headers
2016-04-12 18:12:19 +02:00
Alexander Golubev
2c3bca4c9e
PartDesign/CommandBody: a minor fix in MoveTip command
2016-04-12 18:12:19 +02:00
Alexander Golubev
68c78de00d
PartDesign/Gui: add origin sizing and rework datums sizing
2016-04-12 18:12:18 +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
3ed51ac4bd
PartDesign: add Origin to the Body and unstrap the module from the Parts
2016-04-12 18:12:18 +02:00
Alexander Golubev
88ad00e056
Gui/ViewProviderOriginFeature: remove the "New" selection model stuff
...
The new selection model is not usable for the OriginFeature's view
provider due to from one side it doesn't really have any subfeatures, so
it won't be really needed, and on the other side we will have to use
SoFCSelection because in that case it isn't possible to implement
highlighting in any sane way (unless we will reimplement drawing ourselfs).
2016-04-12 18:12:18 +02:00
Alexander Golubev
44dd2c8e22
Gui/ViewProviderOriginGroup: prevent recalculation of origin size on ViewProviderOriginFeature changes
2016-04-12 18:12:18 +02:00
Alexander Golubev
1b76b1117d
Gui: refactor Plane's and Line's ViewProviders and add yet another one for OriginFeature
...
- Share the code of Gui::ViewProviderPlanes and Gui::ViewProviderLine
in Gui::ViewProviderOriginFeature
- Add support for coloring and transparencing the OriginFeatures by
ViewProviderGeometryObject means.
2016-04-12 18:12:18 +02:00
Alexander Golubev
6414c3166b
Gui/SoFCSelection: added a methode for applying defaults from settings
2016-04-12 18:12:18 +02:00
Stefan Tröger
f6f2565b8c
fix origin plane and line viewprovider
...
master changed the highlight code for viewproviders, needed an adjustement after rebase
2016-04-12 18:12:18 +02:00
Alexander Golubev
a93fd8f6e9
Gui/ViewProviderGeoFeatureGroup: suppress DocumentObjectGroup's hide/show behavior
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