Directions of the Principal Axis of a surface with Python script

the Rhino command AreaMoments returns, among other things, the direction of the principal axis of the surface.
The correspondong rhinoscript command SurfaceAreaMoments does not return those directions.
Is there a way to get those directions with a python script?

Hi @julien.sibassie,

Have a look at the AreaMassProperties class.

– Dale

Hello @dale !
That looks like exactly what I need! Thank you for your help.