Then, you can use a reverse Axis transformation.
Transform xy plane 2.jpg
The following code would for instance transform any given face to be in the XY plane, with its barycentre at the Origin.
The drawback of the above method is that the orientation of the transformed face in the XY plane is not predetermined.
So, if you wish to have a privileged direction, for instance an edge of the face to define the X axis, then use the following code instead, which will ensure that the selected <edge> defines the X axis, and that the Origin corresponds to the Start vertex of the edge.
origin = edge.start.position xvec = origin.vector_to edge.end.position zvec = face.normal yvec = zvec * xvec t = Geom;;Transformation.axes(origin, xvec, yvec, zvec).inverseTransform xy plane.jpg
Note that you can use the transformation <t> to calculate the coordinates of points to reconstruct a copy of the face, instead of transform it.
Hope this help!
Fredo