nds [Mon, 25 May 2015 11:26:48 +0000 (14:26 +0300)]
Using validator in multi selector control for the "type_choice" key.
The reason is: preselection for translation sketch operation by rectangle. The vertex shapes should not be used in the multi selector control.
TODO: to use the same mechanizm for the shape selector control.
nds [Fri, 22 May 2015 18:14:39 +0000 (21:14 +0300)]
1. This is a fix for the disabled object visualized in the viewer. 2. Comment multi-selector using in the boolean operation.
Scenario: create a sketch with a circle. Create an extrusion. Set extrusion height is 0. Set height more than 0. Apply. Hide extrusion result. A cylinder is visualized in the viewer.
nds [Fri, 22 May 2015 18:13:12 +0000 (21:13 +0300)]
1. This is a fix for the disabled object visualized in the viewer. 2. Comment multi-selector using in the boolean operation.
Scenario: create a sketch with a circle. Create an extrusion. Set extrusion height is 0. Set height more than 0. Apply. Hide extrusion result. A cylinder is visualized in the viewer.
nds [Thu, 21 May 2015 05:32:41 +0000 (08:32 +0300)]
Code improvement: avoid the code duplication for setSelected method in the displayer. It gets currently a list of viewer prs instead of a list of objects. This is necessary to restore the shape selection.
nds [Thu, 21 May 2015 05:32:15 +0000 (08:32 +0300)]
Code improvement: avoid the code duplication for setSelected method in the displayer. It gets currently a list of viewer prs instead of a list of objects. This is necessary to restore the shape selection.
nds [Thu, 21 May 2015 05:05:59 +0000 (08:05 +0300)]
An improvement to deselect a value in a shape selector control in the same way as it is realized in multi selector.
The reason is the plane deselection in the extrusion operation.
This leads to a modification in selection behavior e.g for sketch parallel constraint. After the first line is selected, the second control gets the focus, it is empty, so, the selection in the viewer is also empty. So, the first object is not selected anymore and the user can not see it.
nds [Wed, 20 May 2015 12:58:56 +0000 (15:58 +0300)]
A fix for the bug: it is possible to apply extrusion even if the algorithm is failed to build the result.
Scenario: create a sketch, create a part, visualize all default planes, create extrusion, select a sketch, in "to" control select a perpendicular plane. An error message appears but "Apply" is enabled.
This fix disables the "Apply" button.
nds [Wed, 20 May 2015 12:30:23 +0000 (15:30 +0300)]
A fix for the bug: it is possible to apply extrusion even if the algorithm is failed to build the result.
Scenario: create a sketch, create a part, visualize all default planes, create extrusion, select a sketch, in "to" control select a perpendicular plane. An error message appears but "Apply" is enabled.
This fix disables the "Apply" button.
mpv [Mon, 18 May 2015 07:21:26 +0000 (10:21 +0300)]
Make features history working. Optimization of features and results management and access. Appending feature into the arbitrary position of the features list.
dbv [Fri, 8 May 2015 15:10:20 +0000 (18:10 +0300)]
Feature #527: 4.04. Extrusion and Revolution from and up to planar face or plane
Added new method in GeomAlgoAPI_FaceBuilder for building plane from origin and axis
Added new GeomAlgoAPI_Prism class for building extrusion from base face between bounding planes
FeaturePlugin_Extrusion now uses GeomAlgoAPI_Prism instead of GeomAlgoAPI_Extrusion
Added new GeomAlgoAPI_ShapeProps class for computing different shape props. Currently it have only one method to compute shape volume.
Updated tests according to changes in extrusion.