Draft Constrain: Difference between revisions

From FreeCAD Documentation
(Removed "In progress".)
(Preferences)
 
(2 intermediate revisions by the same user not shown)
Line 6: 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 16: Line 16:
<translate>
<translate>


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


<!--T:1-->
<!--T:1-->
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_Module|Draft Workbench]] and the [[Image:Workbench_Arch.svg|24px]] [[Arch_Module|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.
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_Module|Draft]] and [[Arch_Module|Arch]] commands.
Constraining is available with most [[Draft_Workbench|Draft]] and [[Arch_Workbench|Arch]] commands.


</translate>
</translate>
Line 32: 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 46: Line 47:


<!--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 56: Line 57:
# X, Y and Z constraints are automatically disabled when the command is finished.
# X, Y and Z constraints are automatically disabled when the command is finished.


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


<!--T:12-->
<!--T:12-->
Line 62: Line 63:
* 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.
* 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 ==
== Preferences == <!--T:25-->


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


<!--T:27-->
* The default {{MenuCommand|Constrain mod}} key, {{KEY|Shift}}, can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → SnappingConstrain mod}}.
* The {{MenuCommand|X}}, {{MenuCommand|Y}} and {{MenuCommand|Z}} shortcuts can be changed: {{MenuCommand|Edit → Preferences... → Draft → User interface settingsIn-Command Shortcuts}}.
* The default {{MenuCommand|Constrain modifier}} key, {{KEY|Shift}}, can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snappingConstrain modifier}}.
* The {{MenuCommand|X}}, {{MenuCommand|Y}} and {{MenuCommand|Z}} shortcuts can be changed: {{MenuCommand|Edit → Preferences... → Draft → InterfaceIn-command shortcuts}}.




Line 74: 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.