Stefan Tröger
12e793bde8
PartDesign: Adopt pattern to face based features
2016-04-12 18:12:22 +02:00
Stefan Tröger
ae9dac71d7
PartDesign: Modeling features work with faces
...
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Stefan Tröger
7e97cdaafe
Datums not selectable during edit
2016-04-12 18:12:22 +02:00
Stefan Tröger
463070b1f6
Fix crash on aborted pattern external axis
2016-04-12 18:12:22 +02:00
Stefan Tröger
3c39410002
PartDesign: Adopt to new property status bits
2016-04-12 18:12:22 +02:00
Stefan Tröger
c027277128
no body allowed as body base feature
2016-04-12 18:12:22 +02:00
Stefan Tröger
063ffd8700
ShapeBinder: fix Null shape on recompute for copy
2016-04-12 18:12:22 +02:00
Stefan Tröger
a924d723c5
Fix shape binder placement
...
-- hidden for user
-- inherited by linked part
2016-04-12 18:12:22 +02:00
Stefan Tröger
73ab046ad6
Ensure only a single PartDesign feature is visible
2016-04-12 18:12:22 +02:00
Stefan Tröger
f392ed30d2
PartDesign mirror must work with base planes
2016-04-12 18:12:22 +02:00
Stefan Tröger
6b7b2176fb
Fix transform feature crash on apply
...
-Redundant "reset edit" and command commit removed
-Redundant apply call removed
2016-04-12 18:12:22 +02:00
Stefan Tröger
7609c6e8c1
Add missing files
2016-04-12 18:12:22 +02:00
Stefan Tröger
0d4e941b0a
fix reference selection of origin features
2016-04-12 18:12:22 +02:00
Stefan Tröger
732834c6d8
Handle external references for revolution et all
...
The reference selection, used in multiple part design features, treated body external references not corectly.
2016-04-12 18:12:22 +02:00
Stefan Tröger
846aa8febe
Fix shutdown crash with primitives in the document
...
and cleanup the header
2016-04-12 18:12:22 +02:00
Stefan Tröger
cf4964fa8b
Prevent dressup crash due to multi command commit
...
the same functionality is provided by upstream accept functions
2016-04-12 18:12:21 +02:00
Stefan Tröger
252865d43f
Active view may not be 3d viewer
...
When for example the spreadsheet is open and an recompute is issued, the active view is not the 3d viewer which leads to crash if used for scene graph calculations.
2016-04-12 18:12:21 +02:00
Alexander Golubev
e8b323ba20
PartDesignGui: small rework to sketch-based task parameters
...
This done mostly for thurther unification them with other task
parameters/dialogs.
2016-04-12 18:12:21 +02:00
Alexander Golubev
7d8fc476bd
PartDesign/App: a small fix to offset constraint syntax for Pad and Pocket
2016-04-12 18:12:21 +02:00
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
Stefan Tröger
1a748c4d51
Simplify the feature pick dialog
...
less options are easier to grasp for the user
2016-04-12 18:12:21 +02:00
Stefan Tröger
f058ae12e9
fix sketch classification for other body
...
hasObject does search recursive only in groups, but a body is not a group. Hence for sketches within a body this will always return false. Annother logic must be used to detect sketches in bodies.
2016-04-12 18:12:21 +02:00
Stefan Tröger
571e5d55d2
fix sketch selection in part design
...
validateSketch was faulty: as every sketch is valid (non is removed) it could happen that the returned number was >0 but the iterator firstValidSketch was NULL nontheless. The routine needed to be udated to make snese and the usage in prepareSketchbased together with it.
2016-04-12 18:12:21 +02:00
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
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
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
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
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
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
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