Draft Constrain: Difference between revisions

From FreeCAD Documentation
No edit summary
Line 48: Line 48:
# Optionally release {{KEY|Shift}} to disable the constraint.
# Optionally release {{KEY|Shift}} to disable the constraint.


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


<!--T:16-->
<!--T:16-->
# Choose a [[Draft_Module|Draft]] or [[Arch_Module|Arch]] command to create your geometry.
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.
# Pick a first point. A previous point is required.

# Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} to specify the direction.
<!--T:17-->
# The cursor is now constrained.
Pressing {{KEY|X}} or {{KEY|Y}} is equivalent to holding {{KEY|Shift}} and constraining horizontally or vertically, respectively.
# Pick a next point.
# Do one of the following:
#* Press the same key to disable the constraint.
#* Press a different {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} key to use a different constraint.


== Notes ==
== Notes ==

Revision as of 15:44, 11 August 2021

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Description

Apart from entering coordinates in the task panel of commands or using snapping, there is another feature available in the Draft Workbench and the 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 working plane for the next point. This can for example be used to create a perfectly horizontal line.

While constraining the movement of the cursor the task panel will lock the coordinate values that are not being modified

Usage horizontal constraint

  1. Choose a Draft or Arch command to create your geometry.
  2. Pick a first point. A previous point is required.
  3. Move the cursor to the left or right of the previous point.
  4. Hold down Shift.
  5. The cursor is now constrained horizontally.
  6. Pick a next point.
  7. Optionally release Shift to disable the constraint.

Usage vertical constraint

  1. Choose a Draft or Arch command to create your geometry.
  2. Pick a first point. A previous point is required.
  3. Move the pointer above or below the previous point.
  4. Hold down Shift.
  5. The cursor is now constrained vertically.
  6. Pick a next point.
  7. Optionally release Shift to disable the constraint.

Usage X, Y or Z constraint

  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 a next point.
  6. Do one of the following:
    • Press the same key to disable the constraint.
    • Press a different X, Y or Z key to use a different constraint.

Notes

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