Draft Line/ru

Описание
Инструмент «Линия» создает прямую линию, определяемую двумя точками. Он использует набор Draft Linestyle на панели инструментов «Тревожный лоток». Инструмент «Линия» ведет себя точно так же, как инструмент Draft Wire, за исключением того, что он останавливается после двух точек.

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



Применение
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.

Опции
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.
 * To use polar coordinates 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.
 * Press to change the focus from the  input box to the  input box and back. Depending on the input box that receives the focus the  checkbox is checked or unchecked.
 * 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, displayed in FreeCAD version 0.19 and earlier, has no purpose for this command.
 * Press to switch Draft snapping on or off.
 * Press or the  button to abort the command.

Примечания

 * A Draft Line can be edited with the Draft Edit command.
 * Draft Lines and Draft Wires can be joined with the Draft Wire command, the Draft Join command or the Draft Upgrade command.

Настройки
See also: Preferences Editor and Draft Preferences.


 * To change the number of decimals used for the input of coordinates, lengths and angles:.
 * To change the initial focus of the task panel to the input box: . Note that you must move the pointer in the 3D view for the change to take effect.
 * If the option is checked, the command will create a Part Line instead of a Draft Line.

Свойства
См. Draft Wire.

Программирование
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.

Пример: