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
Stefan Tröger
2ab25ea414
Fix incorrect ShapeBinder recalculation
2016-04-12 18:12:21 +02:00
Stefan Tröger
4ed0302404
Ensure correct sketch placement calculation
...
As bodies are movable now they need to be taken into account for calculating the sketch placement.
2016-04-12 18:12:21 +02:00
Stefan Tröger
ef2437bb5c
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
5f9bd72581
Ensure claimchildren3d is always respected
...
With the new setup object signals it may happen that a document object claims children but has no property changed after the viewprodivers creation. This scenario is not supportet up to now as the scene graph children are only set when the object changes.
2016-04-12 18:12:20 +02:00
Stefan Tröger
35a5727474
ensure document objects claims in tree
...
It is possible that a newly reated document object already claims other existing objects. The tree needs to be recomputed in this case.
This happens for example for the origin, which creates its planes and axis first and claims them before its own viewprovider is created.
2016-04-12 18:12:20 +02:00
blobfish
03ad4d752c
Core: Gui: DAGView: see following note:
...
Rework highlight rendering.
Exception for topo sort.
2016-04-12 18:12:20 +02:00
Stefan Tröger
e7a96ac26f
fix body booleans
2016-04-12 18:12:20 +02:00
Stefan Tröger
585e4cebb5
PartDesign/Gui: minor fix sWhatsThis of text
2016-04-12 18:12:20 +02:00
Stefan Tröger
2ff2d29f02
Fix crossreference handling
2016-04-12 18:12:20 +02:00
Stefan Tröger
83eedba043
crossreferences only with ctrl button and fix missing return value
2016-04-12 18:12:20 +02:00
DeepSOIC
e2f70e5e5b
Sketcher: when refusing to link external, print why (in statusbar)
2016-04-12 18:12:20 +02:00
DeepSOIC
cc89deccbf
SelectionGate: add capability to display why not allowed.
2016-04-12 18:12:20 +02:00
DeepSOIC
3df305cc4e
Sketcher: allow referencing everything; add testing for circular references
2016-04-12 18:12:20 +02:00
DeepSOIC
a1557d07da
App: circular reference testing routine for new links
...
DocumentObject::testIfLinkDAGCompatible: return true if link can be
created (no cycles will be made). False if the link will cause a
circular dependency and break recomputes.
2016-04-12 18:12:20 +02:00
Stefan Tröger
5725dd7721
handle independent copies more gracefully
2016-04-12 18:12:20 +02:00
Stefan Tröger
3bd09ea570
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
1f3d2df4d5
PartDesign/Body: add ability to store facebinders inside a body
2016-04-12 18:12:20 +02:00
Stefan Tröger
d5e035741a
ask user if he creates inter part/body references
2016-04-12 18:12:20 +02:00
Stefan Tröger
655bf961be
add task for datum shape features
2016-04-12 18:12:19 +02:00
Stefan Tröger
34541dea2f
PartDesign/Plane: several enhancements to plane icon
2016-04-12 18:12:19 +02:00
Stefan Tröger
e58ae2b616
Setup ShapeBinder Viewprovider and command
2016-04-12 18:12:19 +02:00
Stefan Tröger
811ccc410c
PartDesign: Reorder datum commands
2016-04-12 18:12:19 +02:00
Stefan Tröger
9969aac671
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
blobfish
78f3e9786b
Core: Gui: DAGView: using pending icon and showing valid status for tool tip
2016-04-12 18:12:19 +02:00
blobfish
e6f77dc067
Core: Gui: DAGView: add pending icon
2016-04-12 18:12:19 +02:00
Alexander Golubev
36fbf73011
PartDesign/TaskLoftParameters: Added UpdateView checkbox +cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
efef23d8e2
PartDesign/Gui: prevent Task*PatternParameters not crash on non sketchBased features
2016-04-12 18:12:19 +02:00
Alexander Golubev
aa7d054d47
PartDesign/TaskLoftParameters: removed unused hidden widgets
2016-04-12 18:12:19 +02:00
Alexander Golubev
0ff24fd618
Part/Gui: remove ViewProviderPart::onDelete which handled unnecessary body housekeaping
...
Also do some headers cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
ba57a843ad
PartDesign/ViewProviderBody: reduce number of recalculations in the body
2016-04-12 18:12:19 +02:00
Alexander Golubev
3be2f99b52
PartDesign/Gui: rework of ViewProviderDatumCS
2016-04-12 18:12:19 +02:00