2
$\begingroup$

What is the best way to convert a mesh surface region into a solid region?

For example, we can obtain a mesh region of the surface of the left femur as follows.

lf=DiscretizeGraphics[Entity["AnatomicalStructure", "LeftFemur"]["Graphics3D"]]; SolidRegionQ[lf] (*False*) Area[lf] (*61 317.9*) Volume[lf] (*0*) 
$\endgroup$

1 Answer 1

5
$\begingroup$
R = BoundaryMeshRegion[MeshCoordinates[lf], MeshCells[lf, 2]]; Volume[R] 

500052.

$\endgroup$
2
  • 5
    $\begingroup$ Or just directly lf = BoundaryDiscretizeGraphics[..]. $\endgroup$ Commented Apr 24, 2018 at 12:20
  • $\begingroup$ @MichaelE2 Doh. Thought I had tried it... $\endgroup$ Commented Apr 24, 2018 at 12:36

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.