Sketcher CreateRectangle

From FreeCAD Documentation
Revision as of 14:46, 8 February 2024 by Roy 043 (talk | contribs)

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

See also: Drawing aids.
Pos-OVP = Positional On-View-Parameters. introduced in version 0.22
Dim-OVP = Dimensional On-View-Parameters. introduced in version 0.22

  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:
      1. Pick the first corner of the rectangle. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick the opposite corner of the rectangle. Or with Dim-OVP: enter the length and/or width of the rectangle.
    • Center, length & width:
      1. Pick the center of the rectangle. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick a corner of the rectangle. Or with Dim-OVP: enter the length and/or width of the rectangle.
    • 3 corners:
      1. Pick the first corner of the rectangle. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick the endpoint of the first edge of the rectangle. Or with Dim-OVP: enter the length and/or angle of the first edge. The angle is relative to the X axis of the sketch.
      3. Pick the third corner, opposite the first, of the rectangle. Or with Dim-OVP: enter the length and/or angle of the second edge. The angle is relative to the first edge.
      4. Only if the last Dim-OVP angle is provided and a multiple of 90° will the result be a rectangle, else a parallelogram is created.
    • 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.