Commit Graph

1088 Commits

Author SHA1 Message Date
Mattis
f674cf5544 touch mode for circle implemented, does work for 90% of the cases, not
yet with relatively big circles and a narrow selectionbox.
2017-10-12 10:35:52 +02:00
Mattis
776cfe62ed added selection of end-points to line touch-select 2017-10-12 10:35:52 +02:00
SparkyCola
826551b740 Added touchMode-detection and partially implemented touchMode for line-
detection (only works when one end-point is selected, yet).
The touchMode refers to a rectangular selection where objects are
selected even if only a part of them is int the box. It's used when the
selection box is drawn from right to left.
2017-10-12 10:35:52 +02:00
wmayer
1d17c043eb re-enable sketcher to reference elements of other body 2017-10-05 15:20:39 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
a2bfe1bbe1 check for correct selection in Symmetry and Array sketcher commands 2017-09-27 19:12:30 +02:00
wmayer
b72884a468 0002303: 404 from auto-generated Help > Automatic python modules documentation 2017-09-24 15:15:48 +02:00
wmayer
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
wmayer
58e9f7477d create shape of sketch on project load in case it has been saved without a recompute beforehand 2017-09-12 15:55:35 +02:00
wmayer
0d617f97d6 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Yorik van Havre
b16b17ced2 Updated translation strings (and sent to crowdin) 2017-08-31 10:46:55 -03:00
Abdullah Tahiri
3be1611684 Refactoring Sketcher execute() to use solve() 2017-08-19 17:14:28 +02:00
Abdullah Tahiri
395f9e1576 Sketcher: Extension to report redundancy, Standardisation of return codes for solve, documentation, initialisation of solver information
========================================================================================================================================

Motivation:
- Improve notifications of redundancy in the solver (Bonus effect, now the sketcher refuses to add a redundant datum constraint)
- Initialize all solver information, so that it is accurate also in corner cases.
- Provide different return codes for the different solver status/conflicting/redundant/overconstraint (also looking forward for a future refactoring)

Impact:
- Python users that are currently using the return code of solve() for detecting overconstraint/conflicting/solver error, if any, might have to adapt their scripts.
Those who are just checking for zero/non-zero will have to do nothing.
2017-08-19 17:14:28 +02:00
Abdullah Tahiri
3a9e5499a6 Clarify solver situation at the end of of ViewProvider::OnDelete 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
32f868f1ca Fixing unreported bug behaving like #2710 without AutoUpdate under conflicting constraints + improving documentation 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
58210251ca Refactoring solve+recompute and reinstating initial solve+recompute behaviour 2017-08-19 17:14:27 +02:00
wmayer
5661d91371 fixes #0002710: Freecad doesn't show sketch elements added when overconstrained
issue #0002836: Crash in sketcher
2017-08-19 17:14:27 +02:00
wmayer
e73a16e7b4 when drawing constraint icon handle the case when view provider of sketch is not in sync with geometry 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
46a8598e71 CommandSketcherBSpline Increaseknot extended to comply with the convention: if not rethrowing, must report 2017-08-17 22:54:19 +02:00
Abdullah Tahiri
daffa8e08e SketchObject Modifyknotmultiplicity written to support translatable exception messages 2017-08-17 22:45:22 +02:00
Abdullah Tahiri
fa3a4f1f4c Exceptions: translation support 2017-08-17 22:44:11 +02:00
luzpaz
bcda03b1da Sketcher: typo fix 2017-07-24 18:21:17 -03:00
wmayer
9948041175 fix text of commands to create B-spline curves 2017-07-17 11:54:18 +02:00
wmayer
b9135b594f do not hide any drawing elements when entering edit mode of a sketch 2017-07-15 15:47:22 +02:00
luzpaz
6307cbd1d7 Sketcher: typo 2017-07-11 13:12:14 -04:00
luzpaz
17df8c858d Sketcher: typo 2017-07-11 13:08:29 -04:00
Kurt Kremitzki
93d08f253e Add TestSketcherApp.CreateCircleSketch and refactor CreateRectangleSketch 2017-07-01 19:30:49 -05:00
Kurt Kremitzki
38ae53ea04 Complete PartDesign::Pad test cases 2017-06-20 15:26:22 -05:00
Kurt Kremitzki
96b029aece Add Sketcher test rectangle function 2017-06-20 15:26:22 -05:00
wmayer
90653787a6 various fixes:
+ fix typos
+ fix const correctness
+ whitespace improvements
2017-06-19 17:18:16 +02:00
Stefan Tröger
4b3fb99bf0 GeoFeatureGroup: Make link collection non-DAG save 2017-06-19 15:37:09 +02:00
Stefan Tröger
fd62ef30f3 Unify and fix group handling in geofeaturegroups 2017-06-19 15:37:09 +02:00
Stefan Tröger
8a4821f8fc Sketcher: Use correct global placements 2017-06-19 15:37:09 +02:00
wmayer
a5a04e359c fix bug in pr774, improve whitespaces 2017-06-19 13:32:27 +02:00
Alexander Lin
b05c9393df Fix 'shrink curve' misbehaviors for Sketcher Extend 2017-06-19 13:07:55 +02:00
Alexander Lin
144e4759ce Adds extend feature to Mod/Sketcher
Fixes #1187
2017-06-19 13:07:37 +02:00
Felis Catus
4e9a802e25 Sketcher Extend Icon 2017-06-19 13:07:18 +02:00
wmayer
d6b62293a0 various fixes from pr813:
fix crash due to invalifated iterator
minor performance improvement
do not connect twice automatically connected signal-slot
fix compiler warning
2017-06-18 21:25:31 +02:00
wmayer
1533947e49 improve readability, minor performance improvements 2017-06-18 18:01:27 +02:00
Abdullah Tahiri
2cf73103dc Sketcher: redundant autoconstraint avoidance - Edit control checkbox
fixes #3079
2017-06-18 17:37:27 +02:00
Abdullah Tahiri
902997df69 Sketcher: redundant avoidance - remove old inferior mechanism 2017-06-18 17:37:27 +02:00
Abdullah Tahiri
107fdc5996 Sketcher: extension of redundant avoidance to indirect coincidence 2017-06-18 17:37:27 +02:00
Abdullah Tahiri
b4e65f64d0 horiz/vert redundant autoconstraint avoidance extended to Polyline tool 2017-06-18 17:37:27 +02:00
Abdullah Tahiri
354350c5cf Sketcher: avoid horiz and vertical autoconstraint redundants on line creation 2017-06-18 17:37:27 +02:00
Abdullah Tahiri
058d01f612 fixes #0002499 2017-06-01 07:47:31 +02:00
Abdullah Tahiri
318db40af8 Fixes #0002735 2017-05-31 23:59:17 +02:00
Abdullah Tahiri
4e9c5bd4c6 fixes #0003018 2017-05-26 23:28:08 +02:00
Yorik van Havre
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
Abdullah Tahiri
51e90dd52b SketchObject:ModifyBSplineKnotMultiplicity re
written to use THROW macro and CADKernelError exception
2017-05-13 15:27:57 +02:00
wmayer
22473ae4a8 fix creation of NaN that invalidates the view frustum 2017-05-12 08:05:12 +02:00