The BRepPrimAPI package allows construction of relatively simple 3D objects
IKO_BRepPrimAPI_MakePrism