Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

**First time visiting? Here are some places to start:**

- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

# extrude the region resulting between a bunch of intersection() lines

adamohern
Member, OS Professional Posts:

**216**PRO
Let's say I select four faces on a model, then use the intersection() function to create four lines at the intersection between the input faces and some arbitrary plane. Let's say that these intersecting faces are perpendicular to each other, and thus there is only one closed region defined by the boundary: a rectangle.

Question 1: How might I extrude this rectangle?

To make matters more complex, let's say that the input faces are *not* parallel. This means there are now at least two regions resulting from the (infinite) plane intersection lines we've created.

Question 2: Assuming that Question 1 above has an answer, how would I then figure out which region to extrude given non-parallel intersection() lines?

Question 1: How might I extrude this rectangle?

To make matters more complex, let's say that the input faces are *not* parallel. This means there are now at least two regions resulting from the (infinite) plane intersection lines we've created.

Question 2: Assuming that Question 1 above has an answer, how would I then figure out which region to extrude given non-parallel intersection() lines?

0

## Comments

946An alternative if you really want a region, is to make a sketch with the four skLines (again extending out far). Once the sketch is solved, that will create a bunch of convex regions. For each region, you can get a point in the interior by taking the average of vertex positions. You can then test the point against the original face planes (which you can get with evFaceTangentPlane) -- only one point will be to the negative side of all of the planes, and that one belongs to the region you want.

216PRO946216PRO74