I generated a bunch of random cubes from MATLAB as .STL and imported into Blender. All cubes intersect so there's a bunch of internal geometry. I did ctrl-F -> intersect to create edges between cubes, but now how do I remove all the vertices/edges/faces inside the cubes?

I checked out Simplify mesh by cutting out inside parts and tried to remeshing modifier, which did absolutely nothing possibly b/c I'm noob with this software, and tried the code which failed on line 4.

I'm used to using CAD, so could I possibly make an enclosure, boolean subtract from said enclosure, then fill the enclosure up with a second solid that doesn't have internals? Can Blender do that? Help!

enter image description here

Edit: Figured it out. Bool tool solved all my problems. Regular boolean would take forever to implement for something like this I think.

  • $\begingroup$ Check this out blender.stackexchange.com/q/71687/2517 $\endgroup$ – Tak Feb 1 '17 at 21:22
  • $\begingroup$ Works, though it only cuts the edges for one cube b/w that and another. Also, how would you do this for all cubes? I tried selecting all edges and it says no intersections found. $\endgroup$ – yoshi Feb 1 '17 at 22:21
  • $\begingroup$ have you tried selecting all visible faces, then invert selection and delete? $\endgroup$ – m.ardito Feb 1 '17 at 22:39
  • $\begingroup$ Thanks for the advice. How do I select all external faces since there are many cubes inside that I can't see? box select + select>more? Would take a while. $\endgroup$ – yoshi Feb 1 '17 at 22:51
  • 1
    $\begingroup$ Possible duplicate of Removing internal geometry $\endgroup$ – Duarte Farrajota Ramos Feb 1 '17 at 23:43

Bool Tool Addon (fast enabled)
⎈ Ctrl⇧ Shift+ after separating cubes using P> by loose parts in edit mode.

  • $\begingroup$ This is the easiest method I have found in my brief search and testing to date. If you continue to struggle with internal faces showing up, there is a more robust method that I have found in this answer here that uses the Booltron add-on "Slice" feature with a cube object as a container: blender.stackexchange.com/questions/5752/… $\endgroup$ – Coby Randal Apr 15 '20 at 4:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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