wwmayer
081b86c212
Merge pull request #135 from blobfish/rebaseMaster
...
PartDesignNext rebased on master
2016-04-13 10:57:57 +02:00
Stefan Tröger
483e64f368
remove unneeded orig files
2016-04-12 19:10:19 +02:00
Stefan Tröger
4119bb7adc
Fix compilation issue in Attacher code
2016-04-12 18:12:24 +02:00
Stefan Tröger
cd2da9fe6d
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
52ebfae6b1
Remove unneeded files
2016-04-12 18:12:24 +02:00
Stefan Tröger
788035b80e
Part: Recalculate tessellation when requested
2016-04-12 18:12:23 +02:00
Stefan Tröger
5f45bcbc94
PartDesign: Fix body command
2016-04-12 18:12:23 +02:00
Stefan Tröger
8b0d53358a
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
6bf31e841e
PartDesign: Fix attachment external references
2016-04-12 18:12:23 +02:00
Stefan Tröger
306611e8f8
Fix rebase error
2016-04-12 18:12:23 +02:00
Stefan Tröger
036d0691dd
Fix Windows build errors
2016-04-12 18:12:23 +02:00
Stefan Tröger
e9b9d285ac
PartDesign: Unify datum and shapebuilder visuals
2016-04-12 18:12:23 +02:00
Stefan Tröger
666a5968cb
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
048c374080
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
03b08a311c
Fix sketch positioning with part and body
2016-04-12 18:12:23 +02:00
Stefan Tröger
d7e52f11a7
PartDesign: Fix context menus
2016-04-12 18:12:23 +02:00
Stefan Tröger
64de3b64e1
PartDesign: prevent claiming features
2016-04-12 18:12:23 +02:00
Stefan Tröger
90debce159
Fix rebase error
2016-04-12 18:12:23 +02:00
Stefan Tröger
3b27def228
PartDesign: prevent crash on delete and add body
2016-04-12 18:12:23 +02:00
Stefan Tröger
e7d8a1a9a4
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
2b0e6883c3
Fix workflow manager crash on windows
2016-04-12 18:12:23 +02:00
Stefan Tröger
4ec7fe6303
PartDesign: Adopt pattern to face based features
2016-04-12 18:12:22 +02:00
Stefan Tröger
f712f5e4ac
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
7dea66872e
Datums not selectable during edit
2016-04-12 18:12:22 +02:00
Stefan Tröger
5002e8e430
Fix crash on aborted pattern external axis
2016-04-12 18:12:22 +02:00
Stefan Tröger
2585598c55
prevent parts from being dragged into parts
2016-04-12 18:12:22 +02:00
Stefan Tröger
7d30833349
PartDesign: Adopt to new property status bits
2016-04-12 18:12:22 +02:00
Stefan Tröger
a6c8f38cf0
no body allowed as body base feature
2016-04-12 18:12:22 +02:00
Stefan Tröger
7cd20adc9a
ShapeBinder: fix Null shape on recompute for copy
2016-04-12 18:12:22 +02:00
Stefan Tröger
e88b042a26
Fix shape binder placement
...
-- hidden for user
-- inherited by linked part
2016-04-12 18:12:22 +02:00
Stefan Tröger
4164f8fc4c
Ensure only a single PartDesign feature is visible
2016-04-12 18:12:22 +02:00
Stefan Tröger
24bdc173f7
PartDesign mirror must work with base planes
2016-04-12 18:12:22 +02:00
Stefan Tröger
99ef8e756d
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
16433939e1
Add missing files
2016-04-12 18:12:22 +02:00
Stefan Tröger
c0b2568091
fix reference selection of origin features
2016-04-12 18:12:22 +02:00
Stefan Tröger
4be81b01e4
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
3792f38191
Fix shutdown crash with primitives in the document
...
and cleanup the header
2016-04-12 18:12:22 +02:00
Stefan Tröger
4d12023f17
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
28965457aa
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
d43525370c
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
96486cc4ed
PartDesign/App: a small fix to offset constraint syntax for Pad and Pocket
2016-04-12 18:12:21 +02:00
Alexander Golubev
6b75141514
Suppress a couple more warnings
2016-04-12 18:12:21 +02:00
Alexander Golubev
d523377631
App/OriginGroup: add missing AppExport
2016-04-12 18:12:21 +02:00
sgrogan
393ba05726
Win build fixes
2016-04-12 18:12:21 +02:00
Alexander Golubev
0cfc0cd424
Fix warnings introduced in new PartDesign
...
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
DeepSOIC
81015b3f44
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
e675c43ddf
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
005c3db946
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
80fe971b55
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
76c8cb3b69
add only a single reference copy
2016-04-12 18:12:21 +02:00