1
$\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$
3
$\begingroup$
R = BoundaryMeshRegion[MeshCoordinates[lf], MeshCells[lf, 2]];
Volume[R]

500052.

$\endgroup$
2
  • 5
    $\begingroup$ Or just directly lf = BoundaryDiscretizeGraphics[..]. $\endgroup$ – Michael E2 Apr 24 '18 at 12:20
  • $\begingroup$ @MichaelE2 Doh. Thought I had tried it... $\endgroup$ – Henrik Schumacher Apr 24 '18 at 12:36

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.