Sketcher CreateLine: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
<!--T:8-->
<!--T:8-->
{{Docnav
{{Docnav
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_CreatePoint|Point]]
|[[Sketcher_CreateArc|Arc]]
|[[Sketcher_CreateArc|Arc by center]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePoint.svg
|IconL=Sketcher_CreatePolyline.svg
|IconR=Sketcher_CreateArc.svg
|IconR=Sketcher_CreateArc.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
Line 24: Line 24:


<!--T:3-->
<!--T:3-->
The [[Image:Sketcher_CreateLine.svg|24px]] [[Sketcher_CreateLine|Sketcher CreateLine]] tool creates a line. {{Version|0.22}}: If [[Sketcher_Preferences#General|On-View-Parameters]] are enabled the tool has three modes.
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.


</translate>
</translate>
Line 36: Line 36:


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


<!--T:5-->
<!--T:5-->
Line 44: Line 44:
#* 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.
#* Use 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 current tool mode icon.
# 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|0.22}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# 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:
# 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}}
#* [[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 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.
#*# 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}}
#* [[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 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.
#*# Pick the endpoint of the line. Or with Dim-OVP: enter its X and/or Y distance from the start point.
Line 64: Line 64:
<!--T:9-->
<!--T:9-->
{{Docnav
{{Docnav
|[[Sketcher_CreatePolyline|Polyline]]
|[[Sketcher_CreatePoint|Point]]
|[[Sketcher_CreateArc|Arc]]
|[[Sketcher_CreateArc|Arc by center]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePoint.svg
|IconL=Sketcher_CreatePolyline.svg
|IconR=Sketcher_CreateArc.svg
|IconR=Sketcher_CreateArc.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg

Latest revision as of 10:56, 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.