Sketcher CreateHexagon: Difference between revisions

From FreeCAD Documentation
(context menu added to usage)
(some preparation before the final touch)
Line 24: Line 24:


<!--T:3-->
<!--T:3-->
Draws an hexagon inscribed in a construction geometry circle.
The [[Image:Sketcher_CreateHexagon.svg|24px]] [[Sketcher_CreateHexagon|Sketcher CreateHexagon]] tool draws a Hexagon inscribed in a construction geometry circle. {{Version|0.22}}: Or optionally any regular polygon.
When starting the tool, the mouse pointer changes to a white cross with a red hexagon icon.
The coordinates of the pointer are shown beside it in blue in real time.


</translate>
</translate>
Line 33: Line 31:


==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-->
Line 40: Line 43:
#* Right-click in the Sketch view and select the {{MenuCommand|[[Image:Sketcher_CreateHexagon.svg|16px]] Create hexagon}} option from the context menu.
#* Right-click in the Sketch view and select the {{MenuCommand|[[Image:Sketcher_CreateHexagon.svg|16px]] Create hexagon}} option from the context menu.
#* The keyboard shortcut: {{KEY|G}} then {{KEY|P}}, {{KEY|6}}.
#* The keyboard shortcut: {{KEY|G}} then {{KEY|P}}, {{KEY|6}}.
# The cursor changes to a white cross with the command icon.
# Click once to set the center, then move the mouse and click a second time to set one of the vertices.
# The '''Polygon parameters''' section ({{Version|0.22}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# Pressing {{KEY|Esc}} or clicking the right mouse button cancels the function.
# Optionally change the number of '''Sides''':
#* Enter an integer value greater than two.
#* Press the {{KEY|U}} key to increase the number.
#* Press the {{KEY|J}} key to decrease the number.
# Pick the center of the hexagon/polygon. Or with Pos-OVP: enter its X and/or Y coordinate.
# Pick the first point of the hexagon/polygon, this also sets the radius of the circumscribing construction circle. Or with Dim-OVP: enter the radius of the circle and/or the angle of the first point. The angle is relative to the X axis of the sketch.
# The geometry is created and applicable Pos-OVP and Dim-OVP based constraints are added.


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

Revision as of 20:40, 10 February 2024

Sketcher CreateHexagon

Menu location
Sketch → Sketcher geometries → Create hexagon
Workbenches
Sketcher
Default shortcut
G P 6
Introduced in version
0.15
See also
None

Description

The Sketcher CreateHexagon tool draws a Hexagon inscribed in a construction geometry circle. introduced in version 0.22: Or optionally any regular polygon.

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 command:
    • Press the Hexagon button.
    • Select the Sketcher → Sketcher geometries → Create hexagon option from the menu.
    • Right-click in the Sketch view and select the Create hexagon option from the context menu.
    • The keyboard shortcut: G then P, 6.
  2. The cursor changes to a white cross with the command icon.
  3. The Polygon parameters section (introduced in version 0.22) is added at the top of the Sketcher Dialog.
  4. Optionally change the number of Sides:
    • Enter an integer value greater than two.
    • Press the U key to increase the number.
    • Press the J key to decrease the number.
  5. Pick the center of the hexagon/polygon. Or with Pos-OVP: enter its X and/or Y coordinate.
  6. Pick the first point of the hexagon/polygon, this also sets the radius of the circumscribing construction circle. Or with Dim-OVP: enter the radius of the circle and/or the angle of the first point. The angle is relative to the X axis of the sketch.
  7. The geometry is created and applicable Pos-OVP and Dim-OVP based constraints are added.

Notes

The circumscribed circle is construction geometry, which is only visible when editing the sketch.