Some bits and pieces for FreeCAD