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
nds [Wed, 18 Nov 2015 12:01:38 +0000 (15:01 +0300)]
SALOME mode correction for dimension constraints editor.
1. The enter is processed by enterClicked() only because operation manager do not receive this signal in SALOME mode
2. Sketcher Renetrant manager should not restart internal edit and create new feature if it is started.
nds [Wed, 18 Nov 2015 06:52:08 +0000 (09:52 +0300)]
SALOME mode: dimension constraint operaion is not restarted by enter in the widget editor. Key release is not emitted and is not processed by operation manager.