Commit Graph

29 Commits

Author SHA1 Message Date
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
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
Alexander Golubev
f6b0ed3a47 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
DeepSOIC
3e8b547354 Datum UI: fixes
* fix messagebox not popping when clicking OK but status is error
* accept preselection
* unify code for all datum commands
* edit selected datum if type matches, instead of creating new one
2016-04-12 18:12:13 +02:00
DeepSOIC
2dac8f2fdd Datum UI: fixes
* fix highlighting of reference buttons when active
* fix selection of whole objects
* fix some other logic
2016-04-12 18:12:13 +02:00
Stefan Tröger
efa9038b90 no temporaries at by reference parameter 2016-04-12 18:12:12 +02:00
DeepSOIC
3330cb706a PartDesign: adapt Datum UI to work using Attacher
* adapt
* introduce mode selection
* kill selection gate to allow selecting whole objects (selection gate
should be reintroduced to disallow references between parts, no
restrictions is a temporary state)
* prevent auto-switchover to next ref after an explicit push of a button
* fix highlighting of buttons when selecting corresponding reference
* allow creation of a feature, even if no mode fits references. With a
warning.
2016-04-12 18:12:12 +02:00
Stefan Tröger
ad352e9b33 make multisection work 2016-04-12 18:12:09 +02:00
Stefan Tröger
be7d962595 add options for pipe tool 2016-04-12 18:12:09 +02:00
Stefan Tröger
eba61e360d make origin work correct with multiple parts 2016-04-12 18:12:08 +02:00
Stefan Tröger
fc2fb1e42e make datum feedback more prominent 2016-04-12 18:12:08 +02:00
Stefan Tröger
b4dd0072ab fix selection error on datum exception
and add user feedback for failed selections
2016-04-12 18:12:08 +02:00
Stefan Tröger
07099e1163 add coordinate system datum 2016-04-12 18:12:07 +02:00
Stefan Tröger
616e372e4a switch linear pattern to coordinate system axis 2016-04-12 18:12:05 +02:00
Stefan Tröger
8af2eeb245 allow origin lines in datum features 2016-04-12 18:12:05 +02:00
blobfish
9e6777ece3 Part Design: Datum Task: recompute document upon dialog rejections 2016-04-12 18:12:05 +02:00
blobfish
9b9d79d2fe Part Design: adding const char PDBODYKEY and using. No functional change. 2016-04-12 18:12:04 +02:00
jriegel
d7c932d714 Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jrheinlaender
ef31d1ca20 Allow datum point and line from circular reference 2016-04-12 18:11:55 +02:00
jrheinlaender
5aa16e7807 Allow datum points and lines to have offsets from their references 2016-04-12 18:11:55 +02:00
jrheinlaender
12bf1d58f6 Allow extruding from a datum plane to another face or plane, optionally with an offset 2016-04-12 18:11:53 +02:00
jrheinlaender
be85d85800 Allow creating a datum plane tangential to a cylinder and parallel to another plane 2016-04-12 18:11:52 +02:00
jrheinlaender
939c39c515 Miscellaneous fixes 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
jrheinlaender
6b21b6937f Datum planes with offset and angle. Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
696bdf9a2a Specialized viewproviders for datum features, create points from intersection of edges and faces 2016-04-12 18:11:49 +02:00
jrheinlaender
d13560bea5 Work on Gui of Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
a1359fc9e9 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
571d5d2b7d Second step for implementing datum features 2016-04-12 18:11:48 +02:00