nds [Thu, 4 Jun 2015 08:50:09 +0000 (11:50 +0300)]
A fix for activate/deactivate selection from destructor. It is possible, that selection mode is not correct by a widget activation.
Scenario: sketch, create a poligon, start parallel operation, select two lines, result - a create new parallel feature operation is started. The first control is active, but previous parallel constraint is selectable. This is wrong. If the next operation is translation, the parallel constraint selection leads to crash.
Reason: The activateShapeSselection(false) called in the destructor of widget shape selector is called after starting/activation of a widget in a new operation. So, it clears the previous activation of the current operation, deactivate reset it.
nds [Thu, 4 Jun 2015 07:06:16 +0000 (10:06 +0300)]
An improvement of setCurrentFeature to avoid each object visualization in the viewer. It blocks flushes send and unblock them after the functionality is performed.
mpv [Wed, 3 Jun 2015 13:07:01 +0000 (16:07 +0300)]
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for correct update of evolution and set new shapes. Othervise the MODIFUNTIL name myStop filed in TNaming_Name loses connection with the OCAF label.
nds [Fri, 29 May 2015 13:20:30 +0000 (16:20 +0300)]
Visualize sketch nested created feature by mouse enters the view port
Scenario: sketch, start line creation, click 1st, click 2nd, click 3rd(2nd line), click Distance in tool bar, select a point, select a point. Result - distance is not visualized until another click in the viewer.
nds [Fri, 29 May 2015 11:34:47 +0000 (14:34 +0300)]
A fix to abort sketch operation if nothing is displayed in the viewer but values of the feature are valid
Scenario: start line creation, click 1st point, click 2nd point, click circle feature. The line become visible(to origin) in the previous version. Currently it is aborted, nothing is shown.
nds [Fri, 29 May 2015 11:32:39 +0000 (14:32 +0300)]
A fix to abort sketch operation if nothing is displayed in the viewer but values of the feature are valid
Scenario: start line creation, click 1st point, click 2nd point, click circle feature. The line become visible(to origin) in the previous version. Currently it is aborted, nothing is shown.
nds [Fri, 29 May 2015 07:40:14 +0000 (10:40 +0300)]
Delete: never delete results. About "Part" deletion: only one selected part can be deleted(realisation in PartSet), part objects are skipped in Workshop in delete algorithm.
nds [Fri, 29 May 2015 06:58:55 +0000 (09:58 +0300)]
Delete: never delete results. About "Part" deletion: only one selected part can be deleted(realisation in PartSet), part objects are skipped in Workshop in delete algorithm.
nds [Fri, 29 May 2015 06:58:18 +0000 (09:58 +0300)]
Delete: never delete results. About "Part" deletion: only one selected part can be deleted(realisation in PartSet), part objects are skipped in Workshop in delete algorithm.
nds [Thu, 28 May 2015 15:59:09 +0000 (18:59 +0300)]
Temporary fix, which will be corrected by MPV. Crash fix: Create circle, translation, Undo, Redo.
The reason is that SketchPlugin_Circle::execute() flushes redisplay on 1st result creation. SketcerPrs listen it and obtains all results in the references list. The 2nd result is not created yet and it leads to crash.
spo [Thu, 28 May 2015 12:24:24 +0000 (15:24 +0300)]
Issue #529: 4.07. Import IGES, export to BREP, STEP, IGES - If file for export is inputed by hand then file format is from extension and for IGES files it is IGES-5.1 format.
nds [Wed, 27 May 2015 18:03:54 +0000 (21:03 +0300)]
Issue #355 Delete: elements of sketch and constraints:
1. Search references in all documents if a feature from "PartSet" is removed
2. displayAllResults() is not used, so commented
3. !anObject->data() is removed because the data can not be empty in an object.
nds [Wed, 27 May 2015 18:02:07 +0000 (21:02 +0300)]
Fillet is macro, that means that this feature is deleted on commit of the operation.
There is a correction in sketch functionality, concered to the case that all comitted nested features are hardly visualized after commit(disappearing of the presentation by leaving viewer).
These feature are visualized on commit. The fillet can not be visualilzed because data() is invalid.
nds [Wed, 27 May 2015 17:57:26 +0000 (20:57 +0300)]
Fillet is macro, that means that this feature is deleted on commit of the operation.
There is a correction in sketch functionality, concered to the case that all comitted nested features are hardly visualized after commit(disappearing of the presentation by leaving viewer).
These feature are visualized on commit. The fillet can not be visualilzed because data() is invalid.
nds [Wed, 27 May 2015 07:51:38 +0000 (10:51 +0300)]
The validator shape_type is not used for the multi-selector and shape-selector control.
The reason is an extrusion feature. It should accept Sketch selected in the browser, but the Shape filter with the "Face" type deny it.
So, temporary, the method acceptSubShape() is used instead of the custom validator mechanizm.