nds [Fri, 18 Dec 2015 08:35:01 +0000 (11:35 +0300)]
#1141 Part is not deleted
It was decided to perform Delete of Parts on the XGUI level. In the previous realization the RemoveFeature was used for this.
However, as the result of not loaded Parts do not exists and this feature are simple, it was decided with Mikhail, that this feature(Part) will be removed in the same way as other features. Later, it is possible, the RemoveFeature will be deleted from the application tool bar.
azv [Tue, 15 Dec 2015 08:55:25 +0000 (11:55 +0300)]
First phase of SketchSolver refactoring
1. SketchSolver now is a base library for all other solvers
2. Created SolveSpaceSolver library to use SolveSpace.
3. Implemented minimal set of constraints: Coincidence, Fixed
4. Constraints: Horizontal, Vertical, Parallel, Perpendicular
5. Constraints: Distance, Length
6. Correct multi-coincidence of points
7. Constraints: Angle, Equal, Tangent
8. Replace list of base constraints in SketchSolver_Constraint by a single constraint
9. Constraint Mirror
10. Fix problem in arc movement
11. Multi-Rotation and Multi-Translation constraints
12. Process parametric values
13. Problem with mirror of an arc
14. Update multi-coincidence processing (several coincident points placed on single feature)
nds [Tue, 15 Dec 2015 12:58:14 +0000 (15:58 +0300)]
#1123 Cancel constraint after preview: the edge does not go back to its previous position
In the previous case(create, delete) in the bug scenario, logic was the following:
1. The constraint feature is removed from the model, values are aborted by document. Values are correct.
2. signal created emulate signal updated. Sketch solver listens it and updates features values according to constraint(the solver did not accept delete and has knowledge about constraint)
3. signal delete is listened by solver. It removes constraint. However values of the features are modified as the constraint is applyed.
So, the solver need to obtain delete signal before create/update.
nds [Tue, 15 Dec 2015 09:42:11 +0000 (12:42 +0300)]
#1112 tab key doesn't work on the last field of left panels
Improvement: modification of the value in the property panel should make enabled the Apply button in the panel. The value is not applyed to the model yet, but click on Apply leads to the values apply. The button becomes disabled if the result is invalid feature.
azv [Tue, 15 Dec 2015 06:39:23 +0000 (09:39 +0300)]
First phase of SketchSolver refactoring
1. SketchSolver now is a base library for all other solvers
2. Created SolveSpaceSolver library to use SolveSpace.
3. Implemented minimal set of constraints: Coincidence, Fixed
4. Constraints: Horizontal, Vertical, Parallel, Perpendicular
5. Constraints: Distance, Length
6. Correct multi-coincidence of points
7. Constraints: Angle, Equal, Tangent
8. Replace list of base constraints in SketchSolver_Constraint by a single constraint
9. Constraint Mirror
10. Fix problem in arc movement
11. Multi-Rotation and Multi-Translation constraints
12. Process parametric values
13. Problem with mirror of an arc
14. Update multi-coincidence processing (several coincident points placed on single feature)
nds [Thu, 10 Dec 2015 07:32:56 +0000 (10:32 +0300)]
#1042 Sometimes when setting distance constraints, the input field is not displayed in the 3D view
SALOME mode: debug: wrong case: Several times click on dimension constraint digit - some times digit is not shown, sometimes it is shown.
Edit distance, double click, when operation is moved to Sketch, before launching a new operation, double click is processed by QApplication::processEvents.
nds [Tue, 8 Dec 2015 12:32:46 +0000 (15:32 +0300)]
Correction for squish tests. This is a regression for avoid of initialization of the line point in activate().
Erroneous case: Create lin(do not move over viewer), by tab change focus to the End point, input value. Alt+Tab to Start point. BUG: Apply is disabled. Start attribute is not initialized.