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.
nds [Tue, 1 Dec 2015 12:21:09 +0000 (15:21 +0300)]
#1108 Point coordinates is changed after click in the viewer
The problem was in myClickedPoint, it was not cleared and after click, the new line used the old clicked coordinates. The point and coincide last point of the previous line are moved to a start point of a new line.
There is a problem with this flag during Alt+TAB when creation of a line is active.
So, the decision is to remove this flag. The case to be checked: contour creation. The preview of created lines should not dragged to an origin. How it is corrected: point 2D widget do not initialize attribute by activating.
Scenario: create contour, start horizontal constraint, select lines one after another. On the 3rd line, the operation is not restarted anymore.
Another scenario corrected:
Create a polyline
click on vertical constraint
click on first segment => V constraint added
click on another segment => V constraint added
click in the the background (not on a entitity)
=> Green OK disappear and sometimes the message : Modification of data structure outside of the transaction