74a22df884
As discussed in https://forum.freecad.org/viewtopic.php?t=65959 reduce code duplications
As discussed in https://forum.freecad.org/viewtopic.php?t=65959 reduce code duplications