nds [Wed, 26 Aug 2015 09:08:43 +0000 (12:08 +0300)]
Providing Action class to have a common approach to start/finish/abort model transactions for such actions as Delete/Detach and others.
The common functionality:
1.On the start of the action, the message about aborting the previous operation should be shown.
2. On commit, ApplyAll button[sketch operation] enable state should be updated, SetModified[sketch operation] of the parent operation update[in order to have a message about aborting transaction].
In the current integration, ModuleBase_Operation is separated to ModuleBase_OperationFeature and ModuleBase_OperationAction.
nds [Tue, 25 Aug 2015 13:32:16 +0000 (16:32 +0300)]
Synchronize AcceptAll actions state between Tool bar and property panel.
In the new realized version, this button state is updated by commit modification to the document and when the operation is started. In the previous version this state was updated by any modification of the model during operaion.
mpv [Tue, 25 Aug 2015 09:27:27 +0000 (12:27 +0300)]
Make Boolean operation conceal the selected argument: sub-body of compsolid or the whole compsolid. And these arguments are erased in the viewer on "Apply"
nds [Tue, 25 Aug 2015 05:26:29 +0000 (08:26 +0300)]
AcceptAll is always enabled. This is a temporary fix to hide a regression, where a sketch in the ExtrusionCut/Fuse can not be created. [parent operation extrusion cut/fuse is used instead of sketch to check whether parameters are valid].
nds [Mon, 24 Aug 2015 09:05:33 +0000 (12:05 +0300)]
Abort operation correction, Cases are: 1. Deselect feature button in ToolBar, 2. "Cancel" in warning of abort dialog should not abort the current operation.
nds [Mon, 24 Aug 2015 09:02:17 +0000 (12:02 +0300)]
Abort operation correction, Cases are: 1. Deselect feature button in ToolBar, 2. "Cancel" in warning of abort dialog should not abort the current operation.
nds [Fri, 21 Aug 2015 14:19:02 +0000 (17:19 +0300)]
Result compsolid should change the display flag of sub-results itself.
WorkshopListener in displayObject() should ignore the compsolid result and wait when sub-solid results comes in selection.
onFeatureCreateMsg moving rows: 1.canBeDisplayed before setDisplayed, displayObject - this is a previous version. It is more correctly firstly change display state of the object and after try to display it in the viewer. It is possible that flag is switch on, but the object will be visualized during redisplay.
nds [Thu, 20 Aug 2015 12:50:55 +0000 (15:50 +0300)]
Boolean result build correction. There was a stabilization fix, which disconnected widgets. But debug the active widget can be used during validating if selection is changed. It is not correct after commit is pressed and should not influence on the feature.
So, it is more correctly to clean content of the property panel before commit.
Scenario to reproduce the problem: Create sketch(contour), create sketch(circles in the contour), create extrusion(contour), extrusion(circles), create boolean from contour-based to Cut circle-based extrusions. Apply, the circle-based extrusions are disappeared from the second control.
nds [Thu, 20 Aug 2015 07:24:03 +0000 (10:24 +0300)]
1. Mirror/Rotation/Translation constraint: using RefList instead of SelectionList
2. External edge: do not use execute() for external objects, created temporary for validating; union create/remove external objects
3. Compsolid redisplay: erase CompSolid on redisplay signal if it is visualized but number of sub results is positive
4. Deviation coefficient for visualized shapes with Edge shape type.