7
$\begingroup$

I will give you an easy example to understand better the situation:

This is my mesh, a simple one

enter image description here

In edit mode:

enter image description here

As you can see there are internal faces,edges and vertices that I want to delete.

I know, one way could be

  • select my cube (the bigger one),select P and separate it from the main mesh.

  • then use the boolean modifier - union

and the result would be great

enter image description here

However this method can't be useful if there are many polygons inside our mesh

Is there a script, tool or a modifier that let me delete the internal faces-edges-vertices and let the shape of my main mesh remain, instead of separating each mesh from the main one and using boolean modifier many times?

Thank you!

EDIT FILE BLEND

$\endgroup$

4 Answers 4

7
$\begingroup$

I think booleans are the answer, but you can do this without separating parts of the object. As of Blender 2.77 you can use the Intersect option in edit mode.

Here I have two overlapping cubes:

enter image description here

Select one of the parts (as shown above) and choose Mesh> Faces> Intersect (Boolean) from the 3D header.

From the toolbar (T) change the boolean type to 'Union':

enter image description here

The two meshes have now been 'merged' with their overlapping geometry removed:

enter image description here

You can either do this once for each piece of intersecting geometry or select all the intersecting pieces (apart from the piece they are intersecting with) and boolean them all at once.

$\endgroup$
7
  • 3
    $\begingroup$ Just a note that this is a new operator added in Blender 2.77, and will not appear in earlier versions. $\endgroup$
    – TLousky
    Apr 8, 2016 at 17:14
  • $\begingroup$ @TLousky Thanks, meant to add it was recent. $\endgroup$ Apr 8, 2016 at 17:14
  • $\begingroup$ In earlier versions than 2.77 you'd need to separate the unconnected geometry into different objects, and use a boolean modifier $\endgroup$
    – user1853
    Apr 8, 2016 at 17:15
  • $\begingroup$ I have already used this tool, but i think isn't enought for my needs. My mesh is really complex and this one doesn't help $\endgroup$
    – Fuboski
    Apr 8, 2016 at 19:25
  • 1
    $\begingroup$ @Fuboski Then I think it will be better to show/upload the mesh. There's no way to test out other techniques if we don't have an example of what you want to use it on. $\endgroup$ Apr 8, 2016 at 19:59
1
$\begingroup$

Regarding the question

Is there a script, tool or a modifier that let me delete the [hidden] internal faces-edges-vertices and let the shape of my main mesh remain, instead of separating each mesh from the main one and using boolean modifier many times?

I am not aware of such a script, tool, or modifier. I can think of similar tools, such as the one which locates non-manifold elements, but I don't think they will do what you want; further, I think development of such a tool will be difficult because of the collateral effects. Consider the default cube: if you hide or remove an edge, you also hide the two faces of which it is a constituent element. And if, in addition to the edge, you remove the two vertices which define it, you remove or hide four additional edges, and four faces, too.

I downloaded your casa.blend file, and examined the model it contained. I have several reflections I'd like to share, though they may not exactly answer the question you asked. And while the boolean modifier that Ray outlines in his answer to this question is one choice, invaluable in some circumstances, but alas, not all. This is because in some cases, the boolean operations can result in awkward geometry, for example, in the case of the cone primitive which you illustrate in the images included with the question. This is one case where the boolean modifier would not be my first choice.

Another factor that may influence the choice of modeling methods, and in this case how, and even whether, to eliminate or suppress hidden Blender elements is the intended use of the final model. It may be that in the case of a model to be used as an asset in a game, that it can be detrimental to remove all of the hidden elements, because doing so sometimes causes unnecessary excess geometry that slows render times, and game performance. As an example, the default cube renders as a dozen triangles, two per side. In the second image of two cubes in Ray's answer, where booleans are used, the upper cube contains 16 triangles. So in game usage, it might be better to simply leave the cube intact and ignore the hidden elements. By contrast, however, if the model is to be used in 3D printing, removing hidden elements will be useful in removing non-manifold edges.

Three categories that techniques used in modeling can be classed into are subtractive, additive, and adaptive. The boolean technique that Ray outlines in his answer (and that I use myself in some cases) illustrates the subtractive method: part of the mesh is removed. But additive and adaptive techniques seem to be more commonly used in modeling. The casa.blend file referenced in the question is a good example of additive modeling; elements of the model are created by adding to the model. Another example of this is when a potter, while throwing a pot, adds a cylinder of clay to the pot to form a handle. But there is sometimes a disadvantage of additive modeling, which you have found and voiced in your question; it can result in superfluous geometry, which may need to be removed.

I think the solution to your question, though, lies in changing your workflow for the model. Rather than using additive modeling, with the attendant need to remove some Blender elements, I think you would be better served by using adaptive modeling, and eliminate the need for removing Blender elements by not adding them in the first place. So while I might start with a cube as you did in your casa.blend file, rather than creating your model by adding other cubes, instead I'd add geometry by adding loop cuts, extrusion, translation, and scaling, with the useful benefit that by doing this you do not add superfluous geometry that you need to worry about removing later.

Finally, it can be helpful to think about workflow for a particular model in advance, before you even delete or modify the default cube. This can even include drawing sketches of the proposed model to better visualize how to create the model, and decide where to create an part of the model by using additive modeling techniques, where to use adaptive modeling techinques, and where subtractive methods will be the most efficient way. Spending a little time considering your workflow methods can have large payoffs by reducing the time needed to to build the model, and spending less time cleaning up undesirable, superfluous elements.

$\endgroup$
1
$\begingroup$

This worked well:

  1. Install the Booltron addon
  2. Create a cube big enough to wrap your model
  3. Select the cube first THEN your model
  4. In the BoolTron panel, select Carve solver and check "triangulate" (important)
  5. Press "Slice"

You are done! Nicely rewrapped model, completely without inners and with all intersections nicely stroked with additional vertices.

BEFORE: before

AFTER: after

$\endgroup$
3
  • $\begingroup$ Please host images with the StackExchange image host. (The picture of the mountains/sun in the Edit toolbar) $\endgroup$ Apr 19, 2017 at 22:37
  • $\begingroup$ I can`t // "You need at least 10 reputation to post more than 2 links" $\endgroup$
    – IPv6
    Apr 21, 2017 at 8:39
  • $\begingroup$ I think you can do it now $\endgroup$
    – Absulit
    Feb 16, 2019 at 0:30
0
$\begingroup$

After trying the nice add-on "booltron" via slice operation (as in the answer above) I still notice a lot of "non manifold" edges, and also overlapped surface. I did try as well the add-on quad-remesher (v1.1 paid version), and the internal remesh modifier. The first one works partially on complex geometries and the second works perfectly only on straight and without curvature mesh. So for very complex meshes (as well for simple one) I try and suggest a different approach: export via STL then clean up in a system for 3d printing (some of them available freely online) and reimport them again. Not everything is inside blender but it works and save a HUGE work. For the use inside blender there is an add-on to automate the proces of cleaning via Meshlab inside blender, "Meshlab Gourmet" (payed version). It's perfect provided you know how to use meshlab. Hope it helps.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .