Sketcher CreateLine: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>

<!--T:8-->
{{Docnav
|[[Sketcher_CreatePoint|Point]]
|[[Sketcher_CreateArc|Arc]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePoint.svg
|IconR=Sketcher_CreateArc.svg
|IconC=Workbench_Sketcher.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=Sketcher CreateLine|Workbenches=[[Sketcher Workbench|Sketcher]]|MenuLocation=Sketch → Sketcher geometries → Create line|Shortcut=L|SeeAlso=[[Sketcher Polyline|Sketcher Polyline]]}}
|Name=Sketcher CreateLine
|MenuLocation=Sketch → Sketcher geometries → Create line
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|G}} {{KEY|L}}
|SeeAlso=[[Sketcher_CreatePolyline|Sketcher CreatePolyline]]
}}


==Description== <!--T:2-->
==Description== <!--T:2-->



<!--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.
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.


</translate>
</translate>
[[Image:Sketcher_LineExample1.png‎]]
[[Image:Sketcher_LineExample1.png‎]]
<translate>
<translate>
==How to use== <!--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 tool:
* Pick points on an empty area of the 3d view, or on an existing object (auto constraints must be active in TaskView).
#* Press the {{Button|[[Image:Sketcher_CreateLine.svg|16px]] [[Sketcher_CreateLine|Create line]]}} button.
* Pressing {{KEY|Esc}} or clicking the right mouse button cancels the function.
#* 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 white 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]].
# 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 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.



<!--T:9-->
{{Docnav
|[[Sketcher_CreatePoint|Point]]
|[[Sketcher_CreateArc|Arc]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePoint.svg
|IconR=Sketcher_CreateArc.svg
|IconC=Workbench_Sketcher.svg
}}


</translate>
</translate>
{{Sketcher Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 19:35, 6 March 2024

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

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 0.22: 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 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 current tool mode icon.
  3. If On-View-Parameters are enabled 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 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.