Alexander Golubev
27667cf5e6
Fix warnings introduced in new PartDesign
...
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +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
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
68c78de00d
PartDesign/Gui: add origin sizing and rework datums sizing
2016-04-12 18:12:18 +02:00
Alexander Golubev
9347f66a9e
PartDesign/Gui: Move various utility stuff from Workbench to a separate file
...
Also do some header cleanup.
2016-04-12 18:12:17 +02:00
DeepSOIC
cd4dce2f1b
PartDesign workflow without part/body
...
PartDesign: make datum features work outside of body/part
PartDesign old workflow: remove a few messageboxes about no part
PartDesign: old workflow: multitransform without body
Still has visibility issues, but generally works.
2016-04-12 18:12:14 +02:00
Stefan Tröger
27d46a6593
primitive bug fixes, add cylinder and sphere
2016-04-12 18:12:07 +02:00
Stefan Tröger
a80c553999
fix datum plane transparency
...
one can not change the transparany type in the scene graph. Furthermore no normals are used, hence no normal binding is needed.
2016-04-12 18:12:04 +02:00
jriegel
ebad819fde
small fixes after merge from master
2016-04-12 18:11:59 +02:00
jrheinlaender
3e44a70755
Highlighting for datum features
2016-04-12 18:11:55 +02:00
jrheinlaender
245486b382
Fix bug that produced 'cannot update representation' error message on adding a fillet
2016-04-12 18:11:51 +02:00
jrheinlaender
fb9d56911d
Miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
c7d4ab22b9
Simplified datum features by making use of the placement property
2016-04-12 18:11:50 +02:00
jrheinlaender
c12f34300a
Improved bounding box calculation for datum feature display size
2016-04-12 18:11:49 +02:00
jrheinlaender
5ac8aeaf2c
Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted
2016-04-12 18:11:49 +02:00
jrheinlaender
857ede8847
Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign
2016-04-12 18:11:49 +02:00