Draft Line/pl

Description
The Draft Line command creates a straight line.

A Draft Line is in fact a Draft Wire with only two points.



Usage
See also: Draft Tray, Draft Snap and Draft Constrain.


 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) * Use the keyboard shortcut: then.
 * 5) The  task panel opens. See Options for more information.
 * 6) Pick the first point in the 3D view, or type coordinates and press the  button.
 * 7) Pick the second point in the 3D view, or type coordinates and press the  button.

Options
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.


 * To manually enter coordinates enter the X, Y and Z component, and press after each. Or you can press the  button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
 * You can use polar coordinates for the second point. Enter a value for the and a value for the, and press  after each.
 * Check the checkbox to constrain the pointer to the specified angle. For this to work the  input box must contain a non-zero value.
 * Press or click the  checkbox to toggle relative mode. If relative mode is on, the coordinates of the second point are relative to the first point, else they are relative to the coordinate system origin.
 * Press or click the  checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system.
 * Press or click the  checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing, allowing you to continue creating lines.
 * The button has no purpose for this command.
 * Press or the  button to abort the command.

Właściwości
Zobacz Draft Wire.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Line use the method  of the Draft module. This method replaces the deprecated method.


 * Creates a object between points  and, each defined by its , with units in millimeters.
 * Creates a object from a.
 * Creates a object from the first vertex to the last vertex of the given.

Example: