Macro Line Length/de

Description
This small macro create a line giving as an argument the XYZ coordinates, length, and angle

Use
Can be used from the Freecad macro editor.

the default values are : x1 = 0, y1 = 0, z1 = 0, length = 10, angle = 0

Script
Macro Line_Length.py

Example
If the macro is copied in the Python console, you can use it by:

or choice