Part Line/pl

Description
A Part Line is a parametric line that can be created with the  Part Primitives command. The coordinates of its start and end point are relative to the coordinate system defined by its property.



Usage
See Part Primitives.

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 object has the same attachment properties as a Part Part2DObject.


 * : The X coordinate of the start point of the line. The default is.
 * : The Y coordinate of the start point of the line. The default is.
 * : The Z coordinate of the start point of the line. The default is.


 * : The X coordinate of the end point of the line. The default is.
 * : The Y coordinate of the end point of the line. The default is.
 * : The Z coordinate of the end point of the line. The default is.

Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Line can be created with the method of the document:


 * Where is the name for the object.
 * The function returns the newly created object.

Example: