Sketcher CreateLine/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
 
(Updating to match new version of source page)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>


{{Docnav
{{GuiCommand|Name=Sketcher CreateLine|Workbenches=[[Sketcher Workbench|Sketcher]]|MenuLocation=Sketch → Sketcher geometries → Create line|Shortcut=L|SeeAlso=[[Sketcher Polyline|Sketcher Polyline]]}}
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_CreateArc|Arc by center]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePolyline.svg
|IconR=Sketcher_CreateArc.svg
|IconC=Workbench_Sketcher.svg
}}

{{GuiCommand
|Name=Sketcher CreateLine
|MenuLocation=Sketch → Sketcher geometries → Create line
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|G}} {{KEY|L}}
|SeeAlso=[[Sketcher_CreatePolyline|Sketcher CreatePolyline]]
}}


==Description==
==Description==


The [[Image:Sketcher_CreateLine.svg|24px]] [[Sketcher_CreateLine|Sketcher CreateLine]] tool creates a line. {{Version|1.0}}: If [[Sketcher_Preferences#General|On-View-Parameters]] are enabled the tool has three modes.

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.


[[Image:Sketcher_LineExample1.png‎]]
[[Image:Sketcher_LineExample1.png‎]]
==How to use==


==Usage==

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

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

# There are several ways to invoke the tool:
#* 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.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|L}}.
# The cursor changes to a cross with the current tool mode icon.
# If [[Sketcher_Preferences#General|On-View-Parameters]] are enabled the '''Line parameters''' section ({{Version|1.0}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# 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|1.0}}
#*# 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|1.0}}
#*# 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 line 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 lines.
## To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.


* Pick points on an empty area of the 3d view, or on an existing object (auto constraints must be active in TaskView).
* Pressing {{KEY|ESC}} or clicking the right mouse button cancels the function.


{{Docnav
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_CreateArc|Arc by center]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePolyline.svg
|IconR=Sketcher_CreateArc.svg
|IconC=Workbench_Sketcher.svg
}}


{{Sketcher Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 11:01, 23 April 2024

Sketcher CreateLine

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

Description

The Sketcher CreateLine tool creates a line. introduced in version 1.0: If On-View-Parameters are enabled the tool has three modes.

Usage

See also: Drawing aids.

Pos-OVP = Positional On-View-Parameters. introduced in version 1.0
Dim-OVP = Dimensional On-View-Parameters. introduced in version 1.0

  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 cross with the current tool mode icon.
  3. If On-View-Parameters are enabled the Line parameters section (introduced in version 1.0) 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 1.0
      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 1.0
      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 line is created and applicable Pos-OVP and Dim-OVP based constraints are added.
  6. If the tool runs in continue mode:
    1. Optionally keep creating lines.
    2. To finish, right-click or press Esc, or start another geometry or constraint creation tool.