Markus Lampert
e4dbc896df
Set focus to sketcher window when a new handler is activated to ensure proper handling of keys, espcially Escape.
2018-09-11 07:30:43 +02:00
Abdullah Tahiri
2a6655e176
Sketcher: UI option to enable/disable the automatic redundant removal mechanism
2018-08-26 20:54:02 +02:00
Abdullah Tahiri
8505b0eff4
Sketcher: Automatic redundant removal mechanism
...
===============================================
It is a long felt need that redundant constraints are not generated while autoconstraining.
The solver sketcher in v0.17 is überpicky with redundants due to the new popularity contest algorithm. The former behaviour is exhacerbated.
This new mode enables automatic redundant constraint removal.
In UI operations IN EDIT MODE, upon detection of redundancy by the solver, the Sketcher will remove all redundant constraints detected by that solve.
This makes the sketcher much less annoying.
How to test this?
The easiest example is to create a vertical line. Then make the endpoints symmetric with respect to the horizontal axis. Without this mode,
the vertical constraint and the symmetry constraint are redundant. With this mode, the vertical constraint gets automatically removed by the Sketcher.
2018-08-26 20:54:01 +02:00
wmayer
2dc8089852
handle case if a B-spline is straight and thus maximum curvature is zero
2018-08-26 19:17:16 +02:00
wmayer
93163b28d0
Improve usability of expression dialog:
...
+ add signal showFormulaDialog to QuantitySpinBox in order to indicate whether the formula dialog opens or closes
+ when formula dialog opens then hide the button box in the parent dialog, show it again when the formula dialog closes
2018-08-23 12:22:57 +02:00
wmayer
2455b5fe39
CMP0050: make Sketcher module aware of cmake policy
2018-08-20 18:04:58 +02:00
luz.paz
321b159f27
More typos
2018-08-18 21:48:43 +02:00
luz.paz
781d007321
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
wmayer
36fa72488c
comment out unused icons (to fix C2603 MSVC error)
2018-07-30 09:52:41 +02:00
Abdullah Tahiri
3d4c5eda21
Sketcher: Fix typos
2018-07-30 00:47:26 +02:00
Abdullah Tahiri
de7bab2f4a
Sketcher: Fix Radius/Diameter shortcut
2018-07-30 00:47:26 +02:00
Abdullah Tahiri
c84fe5fa3d
Sketcher: Add diameter constraint to the menu and the toolbar
...
fixes #1632
2018-07-30 00:47:25 +02:00
Abdullah Tahiri
26f93eef96
Sketcher: Geometry Element Widget Support for Diameter Constraint shortcuts
2018-07-30 00:47:25 +02:00
Abdullah Tahiri
1414f986dc
Sketcher: Constraint Widget support for the diameter constraint
2018-07-30 00:47:25 +02:00
Abdullah Tahiri
6ce8dcdfc4
Sketcher: Support for editing datum dialog
2018-07-30 00:47:24 +02:00
Abdullah Tahiri
3147691013
Sketcher: Diameter Constraint Property representation
2018-07-30 00:47:24 +02:00
Abdullah Tahiri
a582da50b8
Sketcher: New command to add a Diameter Constraint
2018-07-30 00:47:24 +02:00
Abdullah Tahiri
1fbdc7c1dd
Sketcher: Diameter constraint art
2018-07-30 00:47:23 +02:00
Abdullah Tahiri
de3da81293
Sketcher: ViewProvider representation of the Diameter Constraint
2018-07-30 00:47:23 +02:00
Abdullah Tahiri
2e33aba01e
Sketcher: Double arrow label for Diameter Constraint
2018-07-30 00:47:20 +02:00
Abdullah Tahiri
1899987e89
Sketcher: Add command to delete all constraints to menu
2018-07-29 13:44:09 +02:00
Abdullah Tahiri
74a5a066c9
Sketcher: UI command to delete all the constraints at once
2018-07-29 13:44:09 +02:00
Abdullah Tahiri
3dfb202380
Sketcher: Make use of Sketch Analysis for Sketch Validation - refactoring
2018-07-29 13:44:06 +02:00
luz.paz
0576524144
Misc. code comment typo fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
2018-07-27 10:39:43 -03:00
hokieengr
2b08754c17
Fixed default HideUnits option to FALSE
2018-07-23 12:44:26 -03:00
hokieengr
d7e5534d51
Added code to strip units from display string
2018-07-23 12:44:26 -03:00
hokieengr
b9767f0036
Updated hide units GUI option with more text
2018-07-23 12:44:26 -03:00
hokieengr
f8327a009b
WIP. Moving to other machine.
2018-07-23 12:43:46 -03:00
hokieengr
4c2e36b645
WIP. Added logic to not hide non-base units.
2018-07-23 12:43:46 -03:00
hokieengr
841dfeadbe
WIP. Moved code to hide units to seperate function
2018-07-23 12:43:46 -03:00
hokieengr
3f1216a58d
WIP. Added logic to hide units on distance dimensions.
...
More of a prototype than anything else right now. Will find a better way to add this functionality to the rest of Sketcher.
2018-07-23 12:41:14 -03:00
hokieengr
5e3ce0331e
Added option to hide units in sketch
...
Currently not hooked up to anything just yet.
2018-07-23 12:41:14 -03:00
JimStar
63f085dd78
Extended global marker size to be used for Sketcher
2018-07-11 21:22:28 -03:00
Abdullah Tahiri
1e37612a27
Sketcher: Fix deleteall crash
2018-06-10 19:57:42 +02:00
Abdullah Tahiri
d02d0da7de
Sketcher: Do not update point height when highlighted i.e. (pre)selected
2018-06-02 16:44:57 +02:00
Abdullah Tahiri
39e82c79f6
Sketcher: New tool bar icon under the copy command to move
2018-05-31 14:35:54 +02:00
Abdullah Tahiri
7c586b6c1a
Sketcher: move icon art
2018-05-31 14:35:14 +02:00
Abdullah Tahiri
ec6eaa509d
Sketcher: Improved B-Spline creation
2018-05-31 14:33:58 +02:00
Abdullah Tahiri
4805927170
Sketcher: Extend existing rendering order for lines to points
2018-05-31 14:31:29 +02:00
Abdullah Tahiri
dccb86a5db
Sketcher: Optional extended naming for constraints widget giving first-second-third information
2018-05-31 14:29:00 +02:00
wmayer
717abd0cf3
fix string
2018-05-31 13:27:38 +02:00
Abdullah Tahiri
8d7622b4a9
Sketcher: error message when trying to increase the degree of not-a-bspline fixes #3471
2018-05-31 11:42:24 +02:00
Abdullah Tahiri
bfef80f9c0
Sketcher: bspline knot increase wrong string fixes #3470
2018-05-31 11:42:11 +02:00
Abdullah Tahiri
d75be15f64
Sketch: DoF finder icon/resource file
2018-05-31 11:41:04 +02:00
Abdullah Tahiri
f7a7d2bade
Sketcher Toolbar: Removing DoF finder from the toolbar, as it can be accessed from the solver messages now
...
- Renaming of command
2018-05-31 11:40:53 +02:00
Abdullah Tahiri
14c7349e2e
Sketcher: DoF finder command while using the default SparseQR
...
=============================================================
- Modification to transparently switch from SparseQR to DenseQR and back to SparseQR when using the DoF finder command.
- Command Tools dof finder command name change
2018-05-31 11:40:40 +02:00
Abdullah Tahiri
1d63ed717a
Sketcher: Support for clickable DoFs to launch DoF finder
2018-05-31 11:40:28 +02:00
Abdullah Tahiri
ce4503ae40
Sketcher: New Command to select geometric elements with dependent parameters
2018-05-31 11:39:41 +02:00
Abdullah Tahiri
ab478f947c
Sketcher: Section Command enabling the clipping planes
2018-05-25 17:24:57 -03:00