Draft Constrain: Difference between revisions

From FreeCAD Documentation
(Preferences)
 
(15 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 called "constraining" to help you draw accurately in the [[Image:Workbench_Draft.svg|24px]] [[Draft_Module|Draft Workbench]] and the [[Image:Workbench_Arch.svg|24px]] [[Arch_Module|Arch Workbench]]. After picking a point you can constrain the movement of the cursor to the X, Y, or Z direction for the next point. This can for example be used to create a perfectly horizontal line. The directions are relative to the [[Draft_SelectPlane|working plane]] coordinate system.
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 31: Line 33:


<!--T:11-->
<!--T:11-->
# Choose a [[Draft_Module|Draft]] or [[Arch_Module|Arch]] command to create your geometry.
# Choose a [[Draft_Workbench|Draft]] or [[Arch_Workbench|Arch]] command to create your geometry.
# Pick a first point. A previous point is required.
# Pick a first point. A previous point is required.
# Do one of the following:
# Do one of the following:
Line 40: Line 42:
# Pick the next point.
# Pick the next point.
# If the command is still active: optionally release {{KEY|Shift}} to disable the constraint.
# If the command is still active: optionally release {{KEY|Shift}} to disable the constraint.
# Always release {{KEY|Shift}} when the command is finished.


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


<!--T:16-->
<!--T:16-->
# Choose a [[Draft_Module|Draft]] or [[Arch_Module|Arch]] command to create your geometry.
# Choose a [[Draft_Workbench|Draft]] or [[Arch_Workbench|Arch]] command to create your geometry.
# Pick a first point. A previous point is required.
# Pick a first point. A previous point is required.
# Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} to specify the direction.
# Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} to specify the direction.
Line 51: Line 54:
# If the command is still active optionally do one of the following:
# If the command is still active optionally do one of the following:
#* Press the same key to disable the constraint.
#* Press the same key to disable the constraint.
#* Press the key belonging to one of the other directions to use that direction instead.
#* 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.


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


<!--T:12-->
<!--T:12-->
* Constraining can be combined with [[Draft_Snap|snapping]].
* Constraining can be combined with [[Draft_Snap|snapping]].
* The [[Draft_Offset|Draft Offset]] command and [[Draft_Trimex|Draft Trimex]] command use the {{KEY|Shift}} key for a different type of constraining, namely to restrict the operation to a certain segment.
* 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.

== Preferences == <!--T:25-->

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

<!--T:27-->
* 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 64: 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.