Sketcher CreateRectangle: Difference between revisions

From FreeCAD Documentation
(Usage WIP)
No edit summary
Line 44: Line 44:
# The '''Rectangle parameters''' section ({{Version|0.22}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# The '''Rectangle parameters''' section ({{Version|0.22}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# Optionally press the {{KEY|U}} key, or check the '''Rounded corners''' checkbox, to apply round corners to the rectangle.
# Optionally press the {{KEY|U}} key, or check the '''Rounded corners''' checkbox, to apply round corners to the rectangle.
# Optionally press the {{KEY|J}} key, or check the '''Frame''' checkbox, to add a second rectangle with a constant offset to the first rectangle.
# Optionally press the {{KEY|J}} key, or check the '''Frame''' checkbox, to add a second rectangle with a constant offset to the result.
# Optionally press the {{KEY|M}} key, or select from the dropdown list in the parameters section, to change the tool '''Mode''':
# Optionally press the {{KEY|M}} key, or select from the dropdown list in the parameters section, to change the tool '''Mode''':
#* [[Image:Sketcher_CreateRectangle.svg|16px]] '''Corner, length & width''':
#* [[Image:Sketcher_CreateRectangle.svg|16px]] '''Corner, length & width''':
Line 50: Line 50:
#* [[Image:Sketcher_CreateRectangle3Points.svg|16px]] '''3 corners''':
#* [[Image:Sketcher_CreateRectangle3Points.svg|16px]] '''3 corners''':
#* [[Image:Sketcher_CreateRectangle3Points_Center.svg|16px]] '''Center and 2 corners''':
#* [[Image:Sketcher_CreateRectangle3Points_Center.svg|16px]] '''Center and 2 corners''':



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

Revision as of 13:55, 8 February 2024

Sketcher CreateRectangle

Menu location
Sketch → Sketcher geometries → Create rectangle
Workbenches
Sketcher
Default shortcut
G R
Introduced in version
-
See also
Sketcher Rounded rectangle, Sketcher Polyline

Description

This tool draws a rectangle by picking two opposite points. When starting the tool, the mouse pointer changes to a white cross with a red rectangle icon. The coordinates of the pointer are shown beside it in blue in real time.

To define a rectangle via a center point and an edge point, use the Centered rectangle tool.

Usage

  1. There are several ways to invoke the tool:
    • Press the Rectangle button.
    • Select the Sketcher → Sketcher geometries → Create rectangle option from the menu.
    • Right-click in the Sketch view and select the Create rectangle option from the context menu.
    • The keyboard shortcut: G then R.
  2. The Rectangle parameters section (introduced in version 0.22) is added at the top of the Sketcher Dialog.
  3. Optionally press the U key, or check the Rounded corners checkbox, to apply round corners to the rectangle.
  4. Optionally press the J key, or check the Frame checkbox, to add a second rectangle with a constant offset to the result.
  5. Optionally press the M key, or select from the dropdown list in the parameters section, to change the tool Mode:
    • Corner, length & width:
    • Center, length & width:
    • 3 corners:
    • Center and 2 corners:

Notes

  • All three buttons in this selection now launch the same tool but with different preset combinations of mode and options that can still be altered after the first click.
  • If ' is enabled, the offset is inward, and the offset value is larger than the corner radius, the offset contour will be created without fillets.
  • The modes 3 corners, and Center and two corners create parallelograms rather than rectangles.