Create a gp_Trsf and use the SetRotation member to apply a rotation of 1.57 radians about the appropriate axis. Then, use BRepBuilderAPI_Transform to apply the transformation to your shape. Note that the rotation, by default, will happen about the origin (0,0,0).
Archived discussion
Rotate a TopoDS_Shape...
How do rotate a TopoDS_Shape for e.g. 1.57 radians...?
Discussion
2 archived replies
Posts are displayed in their archived order.
Many thanks!!