Sketcher SelectRedundantConstraints: Difference between revisions

From FreeCAD Documentation
(Proposal to match with SelectElementsWithDoFs)
(MenuLocation)
 
(7 intermediate revisions by the same user not shown)
Line 15: Line 15:
{{GuiCommand
{{GuiCommand
|Name=Sketcher SelectRedundantConstraints
|Name=Sketcher SelectRedundantConstraints
|MenuLocation=Sketch → Sketcher tools → Select redundant constraints
|MenuLocation=Sketch → Sketcher visual → Select redundant constraints
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|Z}} {{KEY|P}} {{KEY|R}}
|Shortcut={{KEY|Z}} {{KEY|P}} {{KEY|R}}
Line 24: Line 24:


<!--T:2-->
<!--T:2-->
The [[Image:Sketcher_SelectRedundantConstraints.svg|24px]] [[Sketcher_SelectRedundantConstraints|Sketcher SelectRedundantConstraints]] command selects the redundant constraints of a sketch.
The [[Image:Sketcher_SelectRedundantConstraints.svg|24px]] [[Sketcher_SelectRedundantConstraints|Sketcher SelectRedundantConstraints]] tool selects the redundant constraints in the sketch.


<!--T:12-->
In edit mode the '''Solver messages''' section at the top of the [[Task_panel|Tasks panel]], one of the following messages will be displayed:
If such constraints exist in a sketch the [[Sketcher_Dialog#Solver_messages|Solver messages section of the Sketcher Dialog]] displays this message:
* <span style="color:red;">Redundant constraints: </span><span style="color:blue;text-decoration:underline;">(#, #, #)</span>
Where ''(#, #, #)'' are the indices of the constraints. Clicking the underlined text will select the redundant constraints.


<!--T:13-->
* <blockquote><span style="color:green;">Fully constrained sketch </span> </blockquote>
Please note that a sketch can also have redundant constraints if this message is displayed:
* <blockquote>Under-constrained sketch with <span style="color:blue;text-decoration:underline;">X degrees</span> of freedom</blockquote>
* <span style="color:red;">Over-constrained: </span><span style="color:blue;text-decoration:underline;">(#, #, #)</span>
: where "X" is the number of degrees of freedom remaining in the sketch. A click on the blue link invokes the [[Image:Sketcher_SelectElementsWithDoFs.svg|16px]] [[Sketcher_SelectElementsWithDoFs|Sketcher SelectElementsWithDoFs]] command.
* <blockquote><span style="color:red;">Over-constrained sketch </span> <span style="color:blue;text-decoration:underline;">(X)</span> </blockquote>
: where "X" is a list of the index numbers of the conflicting constraints in the sketch. A click on the blue link invokes the [[Image:Sketcher_SelectConflictingConstraints.svg|16px]] [[Sketcher_SelectConflictingConstraints|Sketcher SelectConflictingConstraints]] command.
* <blockquote><span style="color:red;">Redundant constraints </span> <span style="color:blue;text-decoration:underline;">(X)</span> </blockquote>
: where "X" is a list of the index numbers of the redundant constraints in the sketch. A click on the blue link invokes this [[Image:Sketcher_SelectRedundantConstraints.svg|16px]] [[Sketcher_SelectRedundantConstraints|Sketcher SelectRedundantConstraints]] command to select all redundant constraints.


==Usage== <!--T:3-->
==Usage== <!--T:3-->


<!--T:5-->
<!--T:5-->
# In Sketcher edit mode there are several ways to invoke this command:
# There are several ways to invoke the tool:
#* Click on the blue link in the [[Task_panel|Tasks panel]] as described above.
#* Click the underlined text in the Sketcher Dialog as described above.
#* Select the {{MenuCommand|Sketch → Sketcher tools → [[Image:Sketcher_SelectRedundantConstraints.svg|16px]] Select redundant constraints}} option from the menu.
#* Select the {{MenuCommand|Sketch → Sketcher visual → [[Image:Sketcher_SelectRedundantConstraints.svg|16px]] Select redundant constraints}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Z}} then {{KEY|P}}, then {{KEY|R}}.
#* Use the keyboard shortcut: {{KEY|Z}} then {{KEY|P}}, then {{KEY|R}}.
#The redundant constraints of the sketch will be selected.
# The redundant constraints are selected.
# Optionally click in an empty area in the [[3D_view|3D view]] to clear the selection.

==Notes== <!--T:14-->

<!--T:15-->
* Redundant constraints must be removed from the sketch.
* Instead of the proposed indices it is also possible to delete other constraints.





Latest revision as of 10:27, 7 May 2024

Sketcher SelectRedundantConstraints

Menu location
Sketch → Sketcher visual → Select redundant constraints
Workbenches
Sketcher
Default shortcut
Z P R
Introduced in version
0.15
See also
None

Description

The Sketcher SelectRedundantConstraints tool selects the redundant constraints in the sketch.

If such constraints exist in a sketch the Solver messages section of the Sketcher Dialog displays this message:

  • Redundant constraints: (#, #, #)

Where (#, #, #) are the indices of the constraints. Clicking the underlined text will select the redundant constraints.

Please note that a sketch can also have redundant constraints if this message is displayed:

  • Over-constrained: (#, #, #)

Usage

  1. There are several ways to invoke the tool:
    • Click the underlined text in the Sketcher Dialog as described above.
    • Select the Sketch → Sketcher visual → Select redundant constraints option from the menu.
    • Use the keyboard shortcut: Z then P, then R.
  2. The redundant constraints are selected.
  3. Optionally click in an empty area in the 3D view to clear the selection.

Notes

  • Redundant constraints must be removed from the sketch.
  • Instead of the proposed indices it is also possible to delete other constraints.