Sketcher CreateLine: Difference between revisions

From FreeCAD Documentation
m (several ways added so far)
(Usage)
Line 34: Line 34:


==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 command:
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_CreateLine.svg|16px]] [[Sketcher_CreateLine|Center and end points]]}} button.
#* Press the {{Button|[[Image:Sketcher_CreateLine.svg|16px]] [[Sketcher_CreateLine|Create line]]}} button.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateLine.svg|16px]] Create line}} option from the menu.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateLine.svg|16px]] Create line}} option from the menu.
#* The keyboard shortcut: {{KEY|G}} then {{KEY|L}}.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|L}}.
# The cursor changes to a white cross with the command icon.
# Pick points on an empty area of the 3d view, or on an existing object (auto constraints must be active in [[Task_panel|Task panel]]).
# The '''Line 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 press the {{KEY|M}} key or select from the dropdown list in the parameters section to change the tool '''Mode''':
#* [[Image:Sketcher_CreateLineAngleLength.svg|16px]] '''Point, length, angle''': {{Version|0.22}}
#*# Pick the start point of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick the endpoint of the line. Or with Dim-OVP: enter the length and/or angle of the line. The angle is relative to the X axis of the sketch.
#* [[Image:Sketcher_CreateLineLengthWidth.svg|16px]] '''Point, width, height''': {{Version|0.22}}
#*# Pick the start point of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick the endpoint of the line. Or with Dim-OVP: enter its X and/or Y distance from the start point.
#* [[Image:Sketcher_CreateLine.svg|16px]] '''2 points''':
#*# Pick the start point of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick the endpoint of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
# The geometry is created and applicable Pos-OVP and Dim-OVP based constraints are added.





Revision as of 20:42, 9 February 2024

Sketcher CreateLine

Menu location
Sketch → Sketcher geometries → Create line
Workbenches
Sketcher
Default shortcut
G L
Introduced in version
-
See also
Sketcher Polyline

Description

This tool draws a line by picking two points in the 3D view. When starting the tool, the mouse pointer changes to a white cross with a red line icon. Besides are coordinates shown in real time.

The created line object starts and ends at the given points, but the line is infinite regarding the constraints Tangent, Point On Object and Internal Angle. This means for example, that a point with the constraint Point On Object may not be located between the two given points but can lie outside of the two points on the extension of the drawn line.

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 Create line button.
    • Select the Sketcher → Sketcher geometries → Create line option from the menu.
    • Use the keyboard shortcut: G then L.
  2. The cursor changes to a white cross with the command icon.
  3. The Line parameters section (introduced in version 0.22) is added at the top of the Sketcher Dialog.
  4. Optionally press the M key or select from the dropdown list in the parameters section to change the tool Mode:
    • Point, length, angle: introduced in version 0.22
      1. Pick the start point of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick the endpoint of the line. Or with Dim-OVP: enter the length and/or angle of the line. The angle is relative to the X axis of the sketch.
    • Point, width, height: introduced in version 0.22
      1. Pick the start point of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick the endpoint of the line. Or with Dim-OVP: enter its X and/or Y distance from the start point.
    • 2 points:
      1. Pick the start point of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick the endpoint of the line. Or with Pos-OVP: enter its X and/or Y coordinate.
  5. The geometry is created and applicable Pos-OVP and Dim-OVP based constraints are added.