Commit Graph

28 Commits

Author SHA1 Message Date
Alexander Golubev
c782a11aab 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
8c5d514b18 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
DeepSOIC
72c70bcc50 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
4e57b1a2ec 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
7deb6393cc no temporaries at by reference parameter 2016-04-12 18:12:12 +02:00
DeepSOIC
a3d9907e8c 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
df386cc3c1 make multisection work 2016-04-12 18:12:09 +02:00
Stefan Tröger
9c4e1070eb add options for pipe tool 2016-04-12 18:12:09 +02:00
Stefan Tröger
6347fe8c86 make origin work correct with multiple parts 2016-04-12 18:12:08 +02:00
Stefan Tröger
4087ffaef7 make datum feedback more prominent 2016-04-12 18:12:08 +02:00
Stefan Tröger
d3a7e9a928 fix selection error on datum exception
and add user feedback for failed selections
2016-04-12 18:12:08 +02:00
Stefan Tröger
8fdde38e75 add coordinate system datum 2016-04-12 18:12:07 +02:00
Stefan Tröger
d6440b4143 switch linear pattern to coordinate system axis 2016-04-12 18:12:05 +02:00
Stefan Tröger
4c29efea1f allow origin lines in datum features 2016-04-12 18:12:05 +02:00
blobfish
40d144b11b Part Design: Datum Task: recompute document upon dialog rejections 2016-04-12 18:12:05 +02:00
blobfish
10a7f15c37 Part Design: adding const char PDBODYKEY and using. No functional change. 2016-04-12 18:12:04 +02:00
jriegel
45f7c99c1c Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jrheinlaender
cdb49c28e5 Allow datum point and line from circular reference 2016-04-12 18:11:55 +02:00
jrheinlaender
b6932b0bdb Allow datum points and lines to have offsets from their references 2016-04-12 18:11:55 +02:00
jrheinlaender
f1b5a6044d Allow extruding from a datum plane to another face or plane, optionally with an offset 2016-04-12 18:11:53 +02:00
jrheinlaender
34acc5f8b4 Allow creating a datum plane tangential to a cylinder and parallel to another plane 2016-04-12 18:11:52 +02:00
jrheinlaender
f6fb4814d1 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
5b3d5e6bd8 Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign 2016-04-12 18:11:49 +02:00
jrheinlaender
20ba1983a4 Datum planes with offset and angle. Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
1c1531278c Specialized viewproviders for datum features, create points from intersection of edges and faces 2016-04-12 18:11:49 +02:00
jrheinlaender
4f80b72508 Work on Gui of Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
d8d945a8b6 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
3b81168e41 Second step for implementing datum features 2016-04-12 18:11:48 +02:00