Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a thin-walled hollow object that I made by extruding a closed path that formed an outline. So the objecft is like a hollow pipe with a 1mm-thick wall (but the cross-section isn't a simple oval). Now I'd like to fit a cap for it. Since my objectt is hollow, I can't just boolean-intersect the shape with a block to make a cap -- that just gives me the outline of a cap.

How can I produce the shape for the cap I need?

If there were a "fill hollow shape by deleting all internal faces" tool, that would help. Or maybe there is a more obvious approach?

share|improve this question
    
Do you need the cap to be a separate piece? Or can it just be part of the object? –  Byte56 Dec 28 '11 at 16:51
    
I'm having a hard time figuring out what you mean. Can you add a screenshot? –  bummzack Dec 28 '11 at 17:28
add comment

1 Answer

up vote 3 down vote accepted

Sounds like you'll want to do some Face Filling.

For example, starting with something like this:

enter image description here

First, if you're putting a cap on this shape, you likely don't need that internal ring of vertices. You can join the vertex pairs that make up the current "cap" between the internal and external faces. Select the vertex pairs across from each other and merge them into one, using Alt+M.

enter image description here

When you're done it should look something like this:

enter image description here

Then you can generate new faces to cap your object. Select the perimeter of vertices/edges that will make up the cap, these should not have any faces between them. Then press Alt+F. This will generate a new face. Something like this:

enter image description here

EDIT

Keep in mind that the internal faces are not removed by this method. This is so that if the other end remains open, the internal faces will still be there. Additionally, you'll notice that the face generated is not pretty. You can attempt to create a nicer looking face by selecting 3-4 vertices at a time, and pressing Alt-F to create a face there. This will give you more control over where the faces are placed, and allow you to generate quads if you want them.

For more details on filling faces, see this tutorial.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.