
How can I make it so that when extruding the faces highlighted in orange (at the very top and the very bottom), the edges highlighted in red and green are filled in automatically (so that two new faces are formed)? In fact, I have a more complex model, and I can’t fill them in manually; I showed a similar situation in the photo to make it clearer.

