Sketcher CreateRectangle: Difference between revisions

From FreeCAD Documentation
(formatting)
No edit summary
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>

<!--T:7-->
<!--T:7-->
{{Docnav
{{Docnav
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_CompCreateRectangles|Create rectangles]]
|[[Sketcher_CreateRectangle_Center|Centered rectangle]]
|[[Sketcher_CreateRectangle_Center|Centered rectangle]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePolyline.svg
|IconL=Sketcher_CompCreateRectangles.png
|IconR=Sketcher_CreateRectangle_Center.svg
|IconR=Sketcher_CreateRectangle_Center.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
Line 16: Line 18:
|MenuLocation=Sketch → Sketcher geometries → Create rectangle
|MenuLocation=Sketch → Sketcher geometries → Create rectangle
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|R}}
|Shortcut={{KEY|G}} {{KEY|R}}
|SeeAlso=[[Sketcher_CreatePolyline|Sketcher Polyline]]
|SeeAlso=[[Sketcher_CreatePolyline|Sketcher CreatePolyline]]
}}
}}


Line 23: Line 25:


<!--T:3-->
<!--T:3-->
The [[Image:Sketcher_CreateRectangle.svg|24px]] [[Sketcher_CreateRectangle|Sketcher CreateRectangle]] tool creates a rectangle. {{Version|0.22}}: The tool has four modes, two of which can also produce parallelograms. Rounded corners and creating an offset copy are optional features.
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.


</translate>
</translate>
[[Image:SketcherCreateRectangleExample.png‎]]
[[Image:SketcherCreateRectangleExample.png‎]]
<translate>
<translate>

==Usage== <!--T:4-->
==Usage== <!--T:4-->

See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].

Pos-OVP = Positional [[Sketcher_Preferences#General|On-View-Parameters]]. {{Version|0.22}}<br>
Dim-OVP = Dimensional On-View-Parameters. {{Version|0.22}}


<!--T:5-->
<!--T:5-->
# There are several ways to invoke the tool:
* After pressing the [[File:Sketcher_CreateRectangle.svg|24px]] [[Sketcher_CreateRectangle|Create rectangle]] toolbar button, click once to set the first corner, then move the mouse and click a second time to set the opposite corner.
#* Press the {{Button|[[Image:Sketcher_CreateRectangle.svg|16px]] [[Sketcher_CreateRectangle|Rectangle]]}} button.
* Pressing {{KEY|Esc}} or clicking the right mouse button cancels the function.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateRectangle.svg|16px]] Create rectangle}} option from the menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_CreateRectangle.svg|16px]] Create rectangle}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|R}}.
# The cursor changes to a white cross with the current tool mode icon.
# 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 fillets to the rectangle. {{Version|0.22}}
# Optionally press the {{KEY|J}} key or check the '''Frame''' checkbox to create a second offset shape. {{Version|0.22}}
# 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, width, height''':
#*# Pick the first corner of the rectangle. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick the opposite corner of the rectangle. Or with Dim-OVP: enter the width and/or height of the rectangle.
#* [[Image:Sketcher_CreateRectangle_Center.svg|16px]] '''Center, width, height''': {{Version|0.22}}
#*# Pick the center of the rectangle. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick a corner of the rectangle. Or with Dim-OVP: enter the width and/or height of the rectangle.
#* [[Image:Sketcher_CreateRectangle3Points.svg|16px]] '''3 corners''': {{Version|0.22}}
#*# Pick the first corner of the rectangle. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# 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.
#*# 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. Only if this angle is 90° will the result be a rectangle.
#* [[Image:Sketcher_CreateRectangle3Points_Center.svg|16px]] '''Center, 2 corners''': {{Version|0.22}}
# If '''Rounded corners''' is selected: Pick a point to determine the fillet radius. Or with Dim-OVP: enter it.
# If '''Frame''' is selected: Pick a point to determine the offset distance. Or with Dim-OVP: enter it. If the offset is inward and larger than the radius, the offset shape will not have fillets.
# The geometry is created and applicable Pos-OVP and Dim-OVP based constraints are added.
# If the tool runs in [[Sketcher_Workbench#Continue_modes|continue mode]]:
## Optionally keep creating rectangles.
## To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.




<!--T:8-->
<!--T:8-->
{{Docnav
{{Docnav
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_CompCreateRectangles|Create rectangles]]
|[[Sketcher_CreateRectangle_Center|Centered rectangle]]
|[[Sketcher_CreateRectangle_Center|Centered rectangle]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePolyline.svg
|IconL=Sketcher_CompCreateRectangles.png
|IconR=Sketcher_CreateRectangle_Center.svg
|IconR=Sketcher_CreateRectangle_Center.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
Line 48: Line 79:


</translate>
</translate>
{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 14:44, 24 March 2024

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

Sketcher CreateRectangle

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

Description

The Sketcher CreateRectangle tool creates a rectangle. introduced in version 0.22: The tool has four modes, two of which can also produce parallelograms. Rounded corners and creating an offset copy are optional features.

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 3D view and select the Create rectangle option from the context menu.
    • Use the keyboard shortcut: G then R.
  2. The cursor changes to a white cross with the current tool mode icon.
  3. The Rectangle parameters section (introduced in version 0.22) is added at the top of the Sketcher Dialog.
  4. Optionally press the U key or check the Rounded corners checkbox to apply fillets to the rectangle. introduced in version 0.22
  5. Optionally press the J key or check the Frame checkbox to create a second offset shape. introduced in version 0.22
  6. Optionally press the M key or select from the dropdown list in the parameters section to change the tool mode:
    • Corner, width, height:
      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 width and/or height of the rectangle.
    • Center, width, height: introduced in version 0.22
      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 width and/or height of the rectangle.
    • 3 corners: introduced in version 0.22
      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. Only if this angle is 90° will the result be a rectangle.
    • Center, 2 corners: introduced in version 0.22
  7. If Rounded corners is selected: Pick a point to determine the fillet radius. Or with Dim-OVP: enter it.
  8. If Frame is selected: Pick a point to determine the offset distance. Or with Dim-OVP: enter it. If the offset is inward and larger than the radius, the offset shape will not have fillets.
  9. The geometry is created and applicable Pos-OVP and Dim-OVP based constraints are added.
  10. If the tool runs in continue mode:
    1. Optionally keep creating rectangles.
    2. To finish, right-click or press Esc, or start another geometry or constraint creation tool.