Paddle
e7b0ffffc4
Sketcher_Dimension: Implement Point-to-Circle distance.
2023-09-01 08:00:21 -05:00
Paddle
a121f8710f
Sketcher_Dimension Fix the transaction auto-closing issue
2023-09-01 07:58:45 -05:00
Paddle
c72c9eaaa3
Sketcher_Dimension : Implement selection->tool workflow
2023-09-01 07:58:45 -05:00
Paddle
d74e67336e
Sketcher_Dimension : Turn the command into a group-command to have at hand individual commands.
2023-09-01 07:57:44 -05:00
luzpaz
9ed299a57a
Fix typos
2023-08-31 22:29:17 -05:00
Florian Foinant-Willig
ae60811fba
Sketcher: Point to Circle Distance Constraints ( #9559 )
2023-08-28 10:58:09 -05:00
Paddle
11fd7f3a32
Implement GeomSelectionSizes to further refactor Dimension::makeAppropriateConstraint
2023-08-27 18:48:33 +02:00
Paddle
4d3b27f9a8
Dimension: Fix 2 circles concentric and length mode.
2023-08-27 18:48:00 +02:00
Paddle
212c0a75af
Fix crash when user click 'Close' button while Dimension is active.
...
TaskDlgEditSketch didn't purge the handler first as is doing CmdSketcherLeaveSketch.
2023-08-27 09:26:44 +02:00
Paddle
178257c544
Refactor makeAppropriateConstraint
2023-08-27 08:25:20 +02:00
Paddle
4c161a544d
Replace multiple occurence of selVec.size() by s_vec to clean the makeAppropriateConstraint function
2023-08-27 07:26:53 +02:00
Paddle
00cb724341
Small simplification by removing useless tests in makeAppropriateConstraint
2023-08-26 22:13:11 +02:00
Paddle
0908f07521
refactor Sketcher Dimension releaseButton
2023-08-26 19:47:23 +02:00
Paddle
421f35fe95
Remove superfluous virtual add missing override.
2023-08-26 19:13:52 +02:00
Paddle
2b2ba0b08a
Change the name to 'Dimension' instead of 'Constrain Contextual'
2023-08-26 08:35:27 +02:00
Paddle
8a858ae7ec
Sketcher: Constrain Contextual implementation.
2023-08-26 07:41:09 +02:00
Abdullah Tahiri
ec899d75c6
SketcherGui: apply clang-format
2023-05-25 17:08:03 +02:00
Roy-043
630afe1e7c
Sketcher: fix typo in Refraction constraint menu text
2023-05-25 14:12:06 +02:00
Abdullah Tahiri
60d99ca570
Sketcher: Obey non-intrusive preferences for modal pop-ups
...
==========================================================
This commit turns the remaining blocking pop-ups in which the user can only click "ok"
into non-intrusive notifications, depending on the user preferences in settings.
2023-05-24 18:35:41 +02:00
Abdullah Tahiri
0e85b24348
Sketcher: Command constraints error handling adaptation
...
=======================================================
- Better handling for exceptions originating in Python addConstraint.
- Refactor to reuse code for handling of exceptions
2023-05-23 14:24:45 +02:00
Abdullah Tahiri
2338ae633e
Sketcher: Make Command Constraints show the severity of warning for typical user mistakes
2023-05-23 14:24:45 +02:00
Chris Hennes
a0fc6bc727
Sketcher: Tweak wording as suggested by translators
2023-05-02 20:29:36 +02:00
Florian Foinant-Willig
70eb14ac9c
Sketcher : Circle to Line Distance Constraint
2023-05-02 15:41:51 +02:00
0penBrain
8bea52a5bf
Gui: prevent crashes on MacOS using boost::format
2023-03-31 15:22:03 +02:00
wmayer
506615042e
Sketch: fix trailing whitespaces of recorded sketcher commands
2023-03-26 18:41:56 +02:00
flachyjoe
21c2eb6014
Sketcher: Add circle to circle distance constraint
2023-03-19 14:05:35 +01:00
Abdullah Tahiri
5b3c86d8e3
Sketcher: Constraint - notification and internal geometry command clean up
...
==========================================================================
- Migration of all constraints to the new non-intrusive notification framework.
- Removal of internal geometry command
- Command to create manually internal geometries is removed (deprecated).
2023-03-13 16:21:01 +01:00
Ajinkya Dahale
862bc58809
[Sketcher] Substitute knot tangent related constraints
2023-01-23 20:43:51 +01:00
Ajinkya Dahale
05295be7cd
[Sketcher] Enable point-on-B-spline in Sketcher and GUI
...
Also squashes:
[Sketcher] Allow point on external B-spline
2023-01-21 21:41:27 +01:00
Ajinkya Dahale
982152c332
[Sketcher] Add line tangent at knot through endpoint
2023-01-17 16:02:23 +01:00
Ajinkya Dahale
e8838b8ef5
[Sketcher] Disallow tangent at knot with non-line in GUI
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
3bccd6686a
[Sketcher] Do not use TangentViaPoint for tangent-at-knot
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
a609bce527
[Sketcher] Use tangent at B-spline knot constraint
...
Also squashes:
[Sketcher] Make tangent-at-knot with just knot and line
[Sketcher] Disallow tangent at C0 knot
If passed on to planegcs can cause segmentation fault.
[Sketcher] (Re-)Support tangent at B-spline end-knots
New code had introduced problems for non-periodic spline end-points, and
periodic spline "end-points" were not supported anyway.
(here end-points mean star/end points)
2022-12-24 18:22:16 -06:00
Uwe
08932bd92d
[Sketch] Gui: A - D: remove unused headers
...
- also some sorting
2022-12-11 23:47:03 +01:00
luz paz
875f9eaad6
Sketcher: remove trailing whitespace
2022-11-17 23:56:13 +01:00
Ajinkya Dahale
430b0baa00
[Sketcher] Stop treating knots as fixed in GUI commands
...
This stops constraints from becoming non-driving when not set.
Follow 0penbrain's comments
typo
2022-11-16 15:35:37 +01:00
Paddle
f9ba739e70
Sketcher: Coincidence constraint: fix error introduced by concentric capability.
2022-11-14 17:39:09 +01:00
Paddle
caa953ac55
Sketcher: Add concentric capabilities to coincidence constraint.
2022-11-04 13:21:01 -05:00
wmayer
e2a552a9c6
Sketcher: [skip ci] remove unused includes
2022-09-25 11:09:29 +02:00
Uwe
2ef4b7a06b
[Gui] fix some CI warnings
...
- narrowing conversion from 'unsigned long' to signed type 'int' is implementation-defined
- floating point literal has suffix 'f', which is not uppercase
- narrowing conversion from 'double' to 'float'
- Slots named on_foo_bar are error prone
- also tome Clang style fixes
(see here for the reports: https://github.com/FreeCAD/FreeCAD/pull/7522/commits/d9c2efcc )
2022-09-24 19:58:11 +02:00
0penBrain
5cd2160bf5
Sketcher/constraints: improve command opening management
...
TODO : do same in CmdSketcherConstrainTangent::substituteConstraintCombinations
2022-09-24 16:05:23 +02:00
0penBrain
e4916d8057
Sketcher: fix misleading indentation
2022-09-24 16:05:23 +02:00
0penBrain
189875b769
[Bugfix]Sketcher/Point-on-object: do not substitute constraint if conditions are not OK
2022-09-24 16:05:23 +02:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
Chris Hennes
a72bf218f9
Sketcher: Tweak tip language for ConstrainRadiam
...
Based on a question in CrowdIn.
2022-08-20 18:11:11 -05:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Roy-043
2e646c9147
Sketcher: Fix sWhatsThis for Sketcher_CompConstrainRadDia ( #7324 )
2022-08-08 02:11:06 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00