Commit Graph

1118 Commits

Author SHA1 Message Date
luzpaz
987b8db0b5 More typos, grammar fixes, uniformity 2017-11-15 10:46:43 -05:00
wmayer
ca36e884bd fix German translation 2017-11-12 16:37:06 +01:00
wmayer
209271078b fix German translation 2017-11-12 00:54:51 +01:00
wmayer
74d1aa72ea fix German translation 2017-11-11 22:47:12 +01:00
DeepSOIC
db26cbcc4c Sketcher: fix false detection of doubleclick
Double-click detector code was comparing double-click threshold (value =
5) with distance between clicked objects in model space (i.e.
double-click distance threshold was equal to 5 mm in model space
regardless of zoom). The fix changes the comparison to pixels on screen
instead.

This fixes the inability to select sketch entities in quick succession,
when the sketch is small (i.e. less than 40 mm or so).
2017-11-10 18:12:48 +03:00
Abdullah Tahiri
41deaf82dd Sketcher: Delete all geometry menu command (in sketcher tools) 2017-11-06 14:18:12 +01:00
Abdullah Tahiri
3aec9b3859 Sketcher: Python command to delete all internal geometry and constraints of an sketch 2017-11-06 14:18:12 +01:00
Abdullah Tahiri
e4a52991b6 Sketcher: Restore inter-body expression engine links in Carbon Copy 2017-11-02 19:52:26 +01:00
wmayer
a16f5bf9aa override onExtendedDocumentRestored in AttachExtension 2017-10-25 22:52:39 +02:00
Yorik van Havre
cfe2d134a2 Updated translations from crowdin 2017-10-23 18:32:02 -02:00
wmayer
f5b6694c83 fixes #0002434: merge sketches produces sketch on XY plane when original sketches were on XZ 2017-10-18 21:17:15 +02:00
wmayer
6786bb4c79 issue #0002613: Create symmetric geometry with conic 2017-10-16 15:56:32 +02:00
wmayer
c9fb7985f9 issue #0002613: Create symmetric geometry with conic 2017-10-16 15:49:05 +02:00
wmayer
520ec2c095 issue #0002613: Create symmetric geometry with conic 2017-10-16 15:31:04 +02:00
wmayer
8b2fcf3677 fix several kind of warnings:
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
Unknown
772c5b1970 Doxygen Typos
+ doxy whitespace formatting
+ added more misc. typos
+ grammar fixes
[skip ci]
2017-10-15 16:27:42 +02:00
wmayer
fb2b9d6cef remove possibility of directly cross-referencing other body, use shape binder instead! 2017-10-13 17:28:21 +02:00
Unknown
15c0d38536 Capitalize beginning of tooltips + Typos
Capitalized all remaining uncapitalized tooltips. 
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT. 
+ other typos
2017-10-13 00:26:53 +02:00
wmayer
1be2d52deb whitespace improvements + some optimizations 2017-10-12 11:22:10 +02:00
wmayer
4c7841c071 don't select circle/ellipse center if not inside selection box 2017-10-12 11:07:27 +02:00
SparkyCola
5696a66850 changed touch-selection so that it doesn't select the center- and end-
points of an object when they're not boxed
2017-10-12 10:42:04 +02:00
SparkyCola
9fba505e84 fixed touch-selection of circle and ellipse centerpoints not working 2017-10-12 10:41:05 +02:00
SparkyCola
b32fce69f1 fixed selection of centerpoints when only selecting them resulted in not
selecting anything at all (in Sketcher touch-selection)
2017-10-12 10:36:13 +02:00
SparkyCola
aaae347dd8 resolves #3204 2017-10-12 10:35:52 +02:00
SparkyCola
0a0a9698db implemented simple selection of b-spline in touch mode, so far it allows
only to select the whole spline if one of the points is selected, a
better implementation requires much more sophisticated algorithms
2017-10-12 10:35:52 +02:00
SparkyCola
893c8e84c6 implemented touch mode for arc of parabola with precision inaccuracity 2017-10-12 10:35:52 +02:00
SparkyCola
646604740c implemented touch mode for arc of hyperbola 2017-10-12 10:35:52 +02:00
SparkyCola
bd2fd1a5f5 implemented arc of ellipses touch mode (precision issue as well) 2017-10-12 10:35:52 +02:00
SparkyCola
1639f37887 Implemented arc of circle in touch mode, same issue with precision as in
circle and ellipse
2017-10-12 10:35:52 +02:00
Mattis
2f18e25278 fixed issue related to polylines in touchmode, also implemented ellipse
touchmode (same issue as circle touching for now)
2017-10-12 10:35:52 +02:00
Mattis
2ec06ca548 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
c9c5ca3010 added selection of end-points to line touch-select 2017-10-12 10:35:52 +02:00
SparkyCola
2781585a66 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
30379bc1ce re-enable sketcher to reference elements of other body 2017-10-05 15:20:39 +02:00
luzpaz
ab8f8919b6 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
917e61a3be check for correct selection in Symmetry and Array sketcher commands 2017-09-27 19:12:30 +02:00
wmayer
ba092d2fa9 0002303: 404 from auto-generated Help > Automatic python modules documentation 2017-09-24 15:15:48 +02:00
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
wmayer
be6b8dcd40 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
949c86d364 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
fe3f671b81 Updated translation strings (and sent to crowdin) 2017-08-31 10:46:55 -03:00
Abdullah Tahiri
cea242d7fe Refactoring Sketcher execute() to use solve() 2017-08-19 17:14:28 +02:00
Abdullah Tahiri
3d4920e4e7 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
f974fec2bc Clarify solver situation at the end of of ViewProvider::OnDelete 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
48f76bd0af Fixing unreported bug behaving like #2710 without AutoUpdate under conflicting constraints + improving documentation 2017-08-19 17:14:27 +02:00
Abdullah Tahiri
aa43197976 Refactoring solve+recompute and reinstating initial solve+recompute behaviour 2017-08-19 17:14:27 +02:00
wmayer
2004544e57 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
3d86498a43 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
9251691a06 CommandSketcherBSpline Increaseknot extended to comply with the convention: if not rethrowing, must report 2017-08-17 22:54:19 +02:00
Abdullah Tahiri
4ad3f9993d SketchObject Modifyknotmultiplicity written to support translatable exception messages 2017-08-17 22:45:22 +02:00