Sketcher CreateSlot: Difference between revisions

From FreeCAD Documentation
(several ways added)
(some preparation before the final touch)
Line 24: Line 24:


<!--T:3-->
<!--T:3-->
Draws a slot by selecting the center of two semicircle. (In older FreeCAD versions by selecting one semicircle center and an endpoint of the other semicircle.)
The [[Image:Sketcher_CreateSlot.svg|24px]] [[Sketcher_CreateSlot|Sketcher CreateSlot]] tool draws a slot, a closed polyline consisting of two semicircles connected with two parallel straight lines, by picking its semicircle centers and a rim point. {{Version|0.22}}: Or optionally by entering the coordinates of one semicircle, distance and angle of the second semicircle, and thier radius.<br> (In older FreeCAD versions by picking one semicircle center and an endpoint of the other semicircle.)

<!--T:11-->
When starting the tool, the mouse pointer changes to a white cross with a red slot icon.
The coordinates of the pointer are shown beside it in blue in real time.


</translate>
</translate>
Line 35: 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 41: Line 42:
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateSlot.svg|16px]] Create Slot}} option from the menu.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateSlot.svg|16px]] Create Slot}} option from the menu.
#* The keyboard shortcut: {{KEY|G}} then {{KEY|S}}.
#* The keyboard shortcut: {{KEY|G}} then {{KEY|S}}.
# Click once to set the center of one semicircle, then move the mouse and click a second time to set center of the other semicircle.
# Pick the center of the first semicircle. Or with Pos-OVP: enter its X and/or Y coordinate.
# Pick the center of the second semicircle. Or with Dim-OVP: enter the length and/or angle of its (virtual) centerline. The angle is relative to the X axis of the sketch.
# Holding {{KEY|Ctrl}} when creating the second point will constrain the slot to be drawn horizontally or vertically {{Version|0.20}}
# Pick a point of the outline. Or with Dim-OVP: enter the radius of the semicircles.
# Pressing {{KEY|Esc}} or clicking the right mouse button cancels the function.
# The slot is created and applicable Pos-OVP and Dim-OVP based constraints are added.


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


<!--T:13-->
<!--T:13-->
* {{VersionMinus|0.21}} ({{Version|0.20}}): Holding {{KEY|Ctrl}} when creating the second center will constrain the slot to be drawn horizontally or vertically.
* A slot can also be constrained horizontally or vertically if the '''Auto constraints''' option is enabled. {{Version|0.20}}
* A slot can also be constrained horizontally or vertically if the '''Auto constraints''' option is enabled. {{Version|0.20}}



Revision as of 11:44, 13 February 2024

Sketcher CreateSlot

Menu location
Sketch → Sketcher geometries → Create slot
Workbenches
Sketcher
Default shortcut
G S
Introduced in version
-
See also
Sketcher CreateArcSlot

Description

The Sketcher CreateSlot tool draws a slot, a closed polyline consisting of two semicircles connected with two parallel straight lines, by picking its semicircle centers and a rim point. introduced in version 0.22: Or optionally by entering the coordinates of one semicircle, distance and angle of the second semicircle, and thier radius.
(In older FreeCAD versions by picking one semicircle center and an endpoint of the other semicircle.)

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 Create slot button.
    • Select the Sketcher → Sketcher geometries → Create Slot option from the menu.
    • The keyboard shortcut: G then S.
  2. Pick the center of the first semicircle. Or with Pos-OVP: enter its X and/or Y coordinate.
  3. Pick the center of the second semicircle. Or with Dim-OVP: enter the length and/or angle of its (virtual) centerline. The angle is relative to the X axis of the sketch.
  4. Pick a point of the outline. Or with Dim-OVP: enter the radius of the semicircles.
  5. The slot is created and applicable Pos-OVP and Dim-OVP based constraints are added.

Notes

  • version 0.21 and below (introduced in version 0.20): Holding Ctrl when creating the second center will constrain the slot to be drawn horizontally or vertically.
  • A slot can also be constrained horizontally or vertically if the Auto constraints option is enabled. introduced in version 0.20