How to get rotation of any surface/face

Reading step file and then converting it to topDS shape and then extracting information of the surfaces . So that using these info I can render surfaces on client.

Im facing issue on getting the rotation of faces like cone . Also facing problem in getting information of partial geometrical surfaces( sphere which is 3/4 sphere or cylinder having cut)