I'm trying to build a conical surface limited by a wire. However, I only manage to get the full conical surface, as shown in the picture. What I want to get is only a part of a cone, between the red and the blue edge (the smaller part, as these edges divide the cone in two unequal parts). I tried to create a cone with gp_Cone(), as well as with BRepPrimAPI_MakeCone() and then invoke BRepBuilderAPI_MakeFace(cone, wire) with my cone and wire as arguments. The wire consists of the red and blue edge, as well as of a shorter part of a circle connecting them. So far I don't get anything in the GUI if I use gp_cone() as an argument to BRepBuilderAPI_MakeFace(), and with BRepPrimAPI_MakeCone() I only managed to get the full cone, but not the part indicated by the wire. How do I get only the part of the cone that I need. Thanks!