Macro Line Length

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.

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

or choice

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

Script
Macro Line_Length.py