wmayer
d604abdfc4
+ consistent naming
2016-04-13 11:37:09 +02:00
wmayer
cbb9485afd
+ remove obsolete #pragma
2016-04-13 11:22:40 +02:00
wwmayer
01568a1d96
Merge pull request #135 from blobfish/rebaseMaster
...
PartDesignNext rebased on master
2016-04-13 10:57:57 +02:00
Stefan Tröger
1bc2caebb4
remove unneeded orig files
2016-04-12 19:10:19 +02:00
Stefan Tröger
9c68424a1e
Fix compilation issue in Attacher code
2016-04-12 18:12:24 +02:00
Stefan Tröger
71ec726161
Fix test cases by adopting to new behavior
...
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
58056fa78c
Remove unneeded files
2016-04-12 18:12:24 +02:00
Stefan Tröger
4f0f1449eb
Part: Recalculate tessellation when requested
2016-04-12 18:12:23 +02:00
Stefan Tröger
c40d25c87f
PartDesign: Fix body command
2016-04-12 18:12:23 +02:00
Stefan Tröger
97a51686c7
PartDesign: Adopt primitive preview
...
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger
303578efc6
PartDesign: Fix attachment external references
2016-04-12 18:12:23 +02:00
Stefan Tröger
3e79c09d10
Fix rebase error
2016-04-12 18:12:23 +02:00
Stefan Tröger
ced37e29c1
Fix Windows build errors
2016-04-12 18:12:23 +02:00
Stefan Tröger
103ed524f5
PartDesign: Unify datum and shapebuilder visuals
2016-04-12 18:12:23 +02:00
Stefan Tröger
6fa3b94ff1
Override mode works with non-toplevel viewprovider
...
And adopt the part design body to handle the override mode correctly
2016-04-12 18:12:23 +02:00
Stefan Tröger
48b2bb86ab
PartDesign: body is responsible for visuals
...
-Hide all visual properties of features when they are part of a body
-Propagate all body visual changes to features
-Separate display mode from body mode to enable setting display mode for both "tip" and "through" modes
-Use default visuals for body shape and only make "through" a new display mask mode for the children
2016-04-12 18:12:23 +02:00
Stefan Tröger
49489bfe62
Fix sketch positioning with part and body
2016-04-12 18:12:23 +02:00
Stefan Tröger
8cbf27dbd6
PartDesign: Fix context menus
2016-04-12 18:12:23 +02:00
Stefan Tröger
e64569aa2c
PartDesign: prevent claiming features
2016-04-12 18:12:23 +02:00
Stefan Tröger
a6e885e867
Fix rebase error
2016-04-12 18:12:23 +02:00
Stefan Tröger
9ab137f3c9
PartDesign: prevent crash on delete and add body
2016-04-12 18:12:23 +02:00
Stefan Tröger
815a8e4d30
Remove ShapeBinder2D
...
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
2016-04-12 18:12:23 +02:00
Stefan Tröger
47985c4fc7
Fix workflow manager crash on windows
2016-04-12 18:12:23 +02:00
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
d6a2acbd3a
prevent parts from being dragged into parts
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
eaeba5686f
Suppress a couple more warnings
2016-04-12 18:12:21 +02:00
Alexander Golubev
81cb035efc
App/OriginGroup: add missing AppExport
2016-04-12 18:12:21 +02:00
sgrogan
918c04d640
Win build fixes
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
DeepSOIC
f143e08fad
Fix problems with unlimited external geometry
...
Caused by recent changes by abdullah, which assumes there is external
geometry only if sketch has support.
http://forum.freecadweb.org/viewtopic.php?f=3&t=12746&p=102087#p102087
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