I am implementing a function for calculating mass properties for solids (CoG and Moment of Inertia). I do this since I would need a simple Gui for that and I also thought it would be a perfect way to learn the FreeCAD python interface. The first couple of steps have been fairly straight forward (with some help from the forum).

For the next step I would like to be able to specify a local coordinate system for which these properties are calculated (transformed from the global coordinate system). My problem is that I cannot find any way to create a local coordinate system. Is there a method for that?

Also, is it possible to display this coordinate system with three axes so that it is possible to select it?