Sketcher CreatePolyline/sv: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{Docnav
{{Docnav
|[[Sketcher_CreatePoint|Point]]
|[[Sketcher_CreatePeriodicBSplineByInterpolation|Periodic B-spline by knots]]
|[[Sketcher_CreateLine|Line]]
|[[Sketcher_CompCreateRectangles|Create a rectangle]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePoint.svg
|IconL=Sketcher_CreatePeriodicBSplineByInterpolation.svg
|IconR=Sketcher_CreateLine.svg
|IconR=Sketcher_CompCreateRectangles.png
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 16: Line 16:
==Description==
==Description==


This tool works like the [[Sketcher_CreateLine|Sketcher Line]] tool, but creates continuous line and arc segments connected by their vertices. When starting the tool, the mouse pointer changes to a white cross with a red polyline icon. The coordinates of the pointer are shown beside it in blue in real time.
The [[Image:Sketcher_CreatePolyline.svg|24px]] [[Sketcher_CreatePolyline|Sketcher CreatePolyline]] tool creates a series of line and arc segments connected by their endpoints. The tool has several modes.


[[Image:Sketcher_PolylineExample1.png]]
[[Image:Sketcher_PolylineExample1.png]]
Line 24: Line 24:
==Usage==
==Usage==


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
The polyline always starts with a straight line segment: click - move the mouse - click. Move the mouse again. After placing the first line segment, the Sketcher polyline tool has multiple modes that can be toggled with the {{KEY|M}} key. For example you can draw tangent or perpendicular arcs following a line or arc segment. Repeatedly pressing the {{KEY|M}} key toggles through these different modes:


# There are several ways to invoke the tool:
# Press the {{KEY|M}} key: the new segment is a line which is perpendicular to the previous segment.
#* Press the {{Button|[[Image:Sketcher_CreatePolyline.svg|16px]] [[Sketcher_CreatePolyline|Create polyline]]}} button.
# Press the {{KEY|M}} key again: the new segment is a line which is tangential to the previous segment.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreatePolyline.svg|16px]] Create polyline}} option from the menu.
# Press the {{KEY|M}} key again: the new segment is an arc which is tangential to the previous segment.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_CreatePolyline.svg|16px]] Create polyline}} option from the context menu.
# Press the {{KEY|M}} key again: the new segment is an arc which is perpendicular (left) to the previous segment.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|M}}.
# Press the {{KEY|M}} key again: the new segment is an arc which is perpendicular(right) to the previous segment.
# The cursor changes to a cross with the tool icon.
# Press the {{KEY|M}} key again: You are again in the state where you started; the line is only connected with a coincidence to the previous segment.
# The modes of the tool require a previous segment. Do one of the following:

#* Pick two points to define a line segment.
* {{VersionPlus|0.18}} While in any of the arc modes, holding down the {{KEY|Ctrl}} key (MacOS: {{KEY|CMD}} key) and moving the cursor causes the arc to snap by increments of 45 degrees, relative to the previously created polyline segment.
* Pick points on an empty area of the 3D view, or on an existing object (auto constraints must be active in TaskView).
#* Pick the endpoint of an existing line or arc segment ([[Sketcher_Workbench#Auto_constraints|Auto constraints]] must be enabled).
# Optionally press the {{KEY|M}} key one or more times to cycle through the modes for the next segment. The available modes are:
* Pressing {{KEY|Esc}} or clicking the right mouse button ''before'' closing the polyline to a loop ends the current polyline and you can continue with a new one. Pressing {{KEY|Esc}} or clicking the right mouse button again ends the polyline function.
#* Line perpendicular to the previous segment.
* Pressing {{KEY|Esc}} or clicking the right mouse button ''after'' closing the polyline to a loop ends the polyline function.
#* Line tangential to the previous segment (this is the initial mode if the previous segment is an arc).
#* Arc tangential to the previous segment.
#* Arc perpendicular (left) to the previous segment.
#* Arc perpendicular (right) to the previous segment.
#* Line only connected to the previous segment.
# While in any of the arc modes, optionally hold down the {{KEY|Ctrl}} key to snap the arc to increments of 45° relative to the previous segment.
# Pick the endpoint of the segment.
# Optionally repeat this to create more segments.
# To finish the input do one of the following:
#* Snap to the start point to create a closed polyline.
#* Right-click or press {{KEY|Esc}} to create an open polyline.
# The polyline segments have been created and applicable constraints have been added.
# If the tool runs in [[Sketcher_Workbench#Continue_modes|continue mode]]:
## Optionally keep creating polylines.
## To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.




{{Docnav
{{Docnav
|[[Sketcher_CreatePoint|Point]]
|[[Sketcher_CreatePeriodicBSplineByInterpolation|Periodic B-spline by knots]]
|[[Sketcher_CreateLine|Line]]
|[[Sketcher_CompCreateRectangles|Create a rectangle]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CreatePoint.svg
|IconL=Sketcher_CreatePeriodicBSplineByInterpolation.svg
|IconR=Sketcher_CreateLine.svg
|IconR=Sketcher_CompCreateRectangles.png
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}

Latest revision as of 14:25, 23 April 2024

Sketcher CreatePolyline

Menyplacering
Sketch → Sketcher geometries → Create polyline
Arbetsbänkar
Sketcher
Standard genväg
Ingen
Introducerad i version
-
Se även
Sketcher Line

Description

The Sketcher CreatePolyline tool creates a series of line and arc segments connected by their endpoints. The tool has several modes.

Polyline started with a line, a tangent arc, a perpendicular arc then a tangent line.

Usage

See also: Drawing aids.

  1. There are several ways to invoke the tool:
    • Press the Create polyline button.
    • Select the Sketcher → Sketcher geometries → Create polyline option from the menu.
    • Right-click in the 3D view and select the Create polyline option from the context menu.
    • Use the keyboard shortcut: G then M.
  2. The cursor changes to a cross with the tool icon.
  3. The modes of the tool require a previous segment. Do one of the following:
    • Pick two points to define a line segment.
    • Pick the endpoint of an existing line or arc segment (Auto constraints must be enabled).
  4. Optionally press the M key one or more times to cycle through the modes for the next segment. The available modes are:
    • Line perpendicular to the previous segment.
    • Line tangential to the previous segment (this is the initial mode if the previous segment is an arc).
    • Arc tangential to the previous segment.
    • Arc perpendicular (left) to the previous segment.
    • Arc perpendicular (right) to the previous segment.
    • Line only connected to the previous segment.
  5. While in any of the arc modes, optionally hold down the Ctrl key to snap the arc to increments of 45° relative to the previous segment.
  6. Pick the endpoint of the segment.
  7. Optionally repeat this to create more segments.
  8. To finish the input do one of the following:
    • Snap to the start point to create a closed polyline.
    • Right-click or press Esc to create an open polyline.
  9. The polyline segments have been created and applicable constraints have been added.
  10. If the tool runs in continue mode:
    1. Optionally keep creating polylines.
    2. To finish, right-click or press Esc, or start another geometry or constraint creation tool.