Creating pitched roof from a wire in FreeCAD
$ sudo apt install freecad-python3
$ sudo update-alternatives --set freecad /usr/lib/freecad/bin/freecad-python3
$ pip install euclid3
$ mkdir -p $HOME/.FreeCAD/Mod
$ cd $HOME/.FreeCAD/Mod
$ git clone https://github.com/ebrahimraeyat/PitchedRoof.git
Forum thread to discuss this workbench can be found in the FreeCAD Subforums
Pull Requests are welcome. Please feel free to discuss them on the forum thread.