Draft Constrain/sv: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 2: Line 2:


{{Docnav
{{Docnav
|[[Draft_Snap|Snap]]
|
|[[Draft_Snap|Snapping]]
|[[Draft_Pattern|Pattern]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=
|IconL=
Line 10: Line 10:
}}
}}


{{TOCright}}
{{GuiCommand

|Name=Draft Constrain
== Description ==
|Empty=1
|MenuLocation=Taskview
|Workbenches=[[Draft_Module|Draft]], [[Arch_Module|Arch]]
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 21: Line 18:
</div>
</div>


Constraining is available with most [[Draft_Module|Draft]] and [[Arch_Module|Arch]] commands.
'''However''', when these parameters need to be precise, it is possible to enter the exact coordinates in the dialog for the tool.


[[Image:Draft_Constrain_taskpanel_example.png]]
Another way of selecting more precise points is by constraining the movement of the pointer to a particular X, Y, or Z direction.
{{Caption|While the cursor is constrained the task panel locks the values that are not being modified}}


== Horizontal and vertical constraints ==
== Usage horizontal and vertical constraints ==

{{TOCright}}
[[Image:Draft_Constrain_example.jpg]]
{{Caption|Perpendicular lines that were created by constraining the position of the points orthogonally}}


# Choose a [[Draft_Module|Draft]] or [[Arch_Module|Arch]] command to create your geometry.
Hold the {{KEY|Shift}} key while drawing to force the next point to be constrained horizontally (X direction) or vertically (Y direction) in relation to the last point entered. The horizontal or vertical orientation depends on the position of the pointer when you press {{KEY|Shift}}; if you are more east or west from the last point, it will be horizontal; if you are more north or south, it will be vertical. To change the orientation, just release {{KEY|Shift}}, move the pointer to a new location, and hold {{KEY|Shift}} again.
# Pick a first point. A previous point is required.
# 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.
# 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 X, Y and Z constraints ==
Some tools like [[Draft_Offset|Draft Offset]] and [[Draft_Trimex|Draft Trimex]] use constraining differently. They do not constrain vertically or horizontally but use a different method more adapted to the particular tool, for example, constraining the operation to a certain line segment.


# Choose a [[Draft_Module|Draft]] or [[Arch_Module|Arch]] command to create your geometry.
While constraining the movement of the pointer, the Taskview panel will lock the coordinate values that are not being modified. For example, if using a horizontal constraint, only the X value changes, while the Y and Z values remain at their original relative or absolute coordinates, depending on whether relative mode is active or not.
# Pick a first point. A previous point is required.
# Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} to specify the direction.
# The cursor is now constrained.
# 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.


== Notes ==
[[Image:Draft_Constrain_Shift_Taskview_example.png]]
{{Caption|Taskview when using a horizontal constraint while holding the Shift key}}


* Constraining can be combined with [[Draft_Snap|snapping]].
== X, Y, Z constraints ==
* 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 ==
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.


See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].
Pressing {{KEY|X}} or {{KEY|Y}} is equivalent to holding {{KEY|Shift}} and constraining horizontally or vertically, respectively.


* The default {{MenuCommand|Constrain mod}} key, {{KEY|Shift}}, can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Snapping → Constrain mod}}.
[[Image:Draft_Constrain_Y_Taskview_example.png]]
* The {{MenuCommand|X}}, {{MenuCommand|Y}} and {{MenuCommand|Z}} shortcuts can be changed: {{MenuCommand|Edit → Preferences... → Draft → User interface settings → In-Command Shortcuts}}.
{{Caption|Taskview when using a vertical constraint after pressing the Y key}}





Revision as of 08:26, 20 August 2021

Description

För att använda begränsning, tryck på SKIFT medan du ritar.

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 mod key, Shift, can be changed: Edit → Preferences... → Draft → Grid and snapping → Snapping → Constrain mod.
  • The X, Y and Z shortcuts can be changed: Edit → Preferences... → Draft → User interface settings → In-Command Shortcuts.