Part Line

Description
The Part Line command creates a parametric line shape.

FreeCAD creates a line, with default values for the start and finish vertex.

By default, the line starts at the origin (0,0,0) and ends at the finish vertex position (10,10,10).



Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) * Select the option from the menu.
 * 5) Set options and press.
 * 6) To close the dialog press.

Example


A Part Line object with the values of the bottom scripting example are shown here.

Properties
See also: Property editor.

A Part Line object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

 * : The x-coordinate of the vertex.
 * : The y-coordinate of the vertex.
 * : The z-coordinate of the vertex.


 * : The x-coordinate of the vertex.
 * : The y-coordinate of the vertex.
 * : The z-coordinate of the vertex.

Scripting
A Part Line is created with the method of the document.


 * Where is the name for the object.The name must be unique for the entire document.
 * The function returns the newly created object.

The is the user editable name for the object. It can be easily changed by

You can access and modify attributes of the object. For example, you may wish to modify the start and finish vertices.

start vertex

finish vertex

You can change its placement and orientation with: