Draft Constrain: Difference between revisions

From FreeCAD Documentation
No edit summary
(Preferences)
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Page in progress}}
<languages/>
<languages/>
<translate>
<translate>
Line 7: Line 6:
|[[Draft_Snap|Snap]]
|[[Draft_Snap|Snap]]
|[[Draft_Pattern|Pattern]]
|[[Draft_Pattern|Pattern]]
|[[Draft_Module|Draft]]
|[[Draft_Workbench|Draft]]
|IconL=
|IconL=
|IconR=
|IconR=
Line 17: Line 16:
<translate>
<translate>


== Description ==
== Description == <!--T:22-->


<!--T:1-->
<!--T:1-->
Apart from entering coordinates in the [[Task_panel|task panel]] of commands or using [[Draft_Snap|snapping]], there is another feature available in the [[Image:Workbench_Draft.svg|24px]] [[Draft_Module|Draft Workbench]] and the [[Image:Workbench_Arch.svg|24px]] [[Arch_Module|Arch Workbench]] to help you draw accurately. After picking a point you can constrain the movement of the cursor to the X, Y, or Z direction of the current [[Draft_SelectPlane|Draft working plane]] for the next point. This can for example be used to create a perfectly vertical line.
Apart from entering coordinates or using [[Draft_Snap|snapping]], there is a feature called constraining to help you draw accurately in the [[Image:Workbench_Draft.svg|24px]] [[Draft_Workbench|Draft Workbench]] and the [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch Workbench]]. For each subsequent point you can constrain the movement of the cursor to the X, Y, or Z direction of the [[Draft_SelectPlane|working plane]] coordinate system. This can for example be used to create a perfectly vertical line.

<!--T:23-->
Constraining is available with most [[Draft_Workbench|Draft]] and [[Arch_Workbench|Arch]] commands.


</translate>
</translate>
Line 26: Line 28:
<translate>
<translate>
<!--T:14-->
<!--T:14-->
{{Caption|While constraining the movement of the cursor the task panel will lock the coordinate values that are not being modified}}
{{Caption|While the cursor is constrained the task panel locks the values that are not being modified}}


== Usage horizontal constraint == <!--T:9-->
== Usage horizontal and vertical constraints == <!--T:9-->


<!--T:11-->
<!--T:11-->
# Choose a [[Draft_Workbench|Draft]] or [[Arch_Workbench|Arch]] command to create your geometry.
# Move the pointer to the left or right of the previous point.
# Pick a first point. A previous point is required.
# Hold down the {{KEY|Shift}} key.
# Do one of the following:
# The cursor is now constrained horizontally.
#* For a horizontal constraint: move the cursor to the left or right of the previous point.
# Pick a next point.
#* For a vertical constraint: move the cursor above or below the previous point.
# Optionally release the {{KEY|Shift}} key.
# Hold down {{KEY|Shift}}.
# The cursor is now constrained.
# Pick the next point.
# If the command is still active: optionally release {{KEY|Shift}} to disable the constraint.
# Always release {{KEY|Shift}} when the command is finished.


== Usage vertical constraint ==
== Usage X, Y and Z constraints == <!--T:15-->


<!--T:16-->
# Move the pointer above or below the previous point.
# Choose a [[Draft_Workbench|Draft]] or [[Arch_Workbench|Arch]] command to create your geometry.
# Hold down the {{KEY|Shift}} key.
# Pick a first point. A previous point is required.
# The cursor is now constrained vertically.
# Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} to specify the direction.
# Pick a next point.
# The cursor is now constrained.
# Optionally release the {{KEY|Shift}} key.
# Pick the next point.
# If the command is still active optionally do one of the following:
#* Press the same key to disable the constraint.
#* Press one of the two other keys to constrain in a different direction.
# X, Y and Z constraints are automatically disabled when the command is finished.


== X, Y, Z constraints == <!--T:15-->
== Notes == <!--T:24-->


<!--T:16-->
<!--T:12-->
* Constraining can be combined with [[Draft_Snap|snapping]].
Press one of the {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} keys after a point to constrain the next point on the specified X, Y, or Z direction. Press the same key again to release the constraint.
* The [[Draft_Offset|Draft Offset]] command and [[Draft_Trimex|Draft Trimex]] command use a different type of constraining, namely to restrict the operation to a certain segment.


<!--T:17-->
== Preferences == <!--T:25-->
Pressing {{KEY|X}} or {{KEY|Y}} is equivalent to holding {{KEY|Shift}} and constraining horizontally or vertically, respectively.


<!--T:26-->
== Notes ==
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].


<!--T:27-->
* Constraining can be combined with [[Draft_Snap|snapping]].
* The default {{MenuCommand|Constrain modifier}} key, {{KEY|Shift}}, can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Constrain modifier}}.
* The {{MenuCommand|X}}, {{MenuCommand|Y}} and {{MenuCommand|Z}} shortcuts can be changed: {{MenuCommand|Edit → Preferences... → Draft → Interface → In-command shortcuts}}.




Line 62: Line 77:
|[[Draft_Snap|Snap]]
|[[Draft_Snap|Snap]]
|[[Draft_Pattern|Pattern]]
|[[Draft_Pattern|Pattern]]
|[[Draft_Module|Draft]]
|[[Draft_Workbench|Draft]]
|IconL=
|IconL=
|IconR=
|IconR=

Latest revision as of 16:56, 3 December 2023

Description

Apart from entering coordinates or using snapping, there is a feature called constraining to help you draw accurately in the Draft Workbench and the Arch Workbench. For each subsequent point you can constrain the movement of the cursor to the X, Y, or Z direction of the working plane coordinate system. This can for example be used to create a perfectly vertical line.

Constraining is available with most Draft and Arch commands.

While the cursor is constrained the task panel locks the values that are not being modified

Usage horizontal and vertical constraints

  1. Choose a Draft or Arch command to create your geometry.
  2. Pick a first point. A previous point is required.
  3. Do one of the following:
    • For a horizontal constraint: move the cursor to the left or right of the previous point.
    • For a vertical constraint: move the cursor above or below the previous point.
  4. Hold down Shift.
  5. The cursor is now constrained.
  6. Pick the next point.
  7. If the command is still active: optionally release Shift to disable the constraint.
  8. Always release Shift when the command is finished.

Usage X, Y and Z constraints

  1. Choose a Draft or Arch command to create your geometry.
  2. Pick a first point. A previous point is required.
  3. Press X, Y or Z to specify the direction.
  4. The cursor is now constrained.
  5. Pick the next point.
  6. If the command is still active optionally do one of the following:
    • Press the same key to disable the constraint.
    • Press one of the two other keys to constrain in a different direction.
  7. X, Y and Z constraints are automatically disabled when the command is finished.

Notes

  • Constraining can be combined with snapping.
  • The Draft Offset command and Draft Trimex command use a different type of constraining, namely to restrict the operation to a certain segment.

Preferences

See also: Preferences Editor and Draft Preferences.

  • The default Constrain modifier key, Shift, can be changed: Edit → Preferences... → Draft → Grid and snapping → Constrain modifier.
  • The X, Y and Z shortcuts can be changed: Edit → Preferences... → Draft → Interface → In-command shortcuts.