8
$\begingroup$

It seems the new Graphics3D primitives have some incomplete features. Earlier, I uncovered a problem with computing their exact surface area see here. Now, I present another omission in implementation, this time with DiscretizeGraphics and BoundaryDiscretizeGraphics returning EmptyRegion and no evaluation repectively when applied to both CapsuleShape and SphericalShell e.g.

DiscretizeGraphics[Graphics3D[SphericalShell[{0, 0, 0}, {1/2, 1}]]]

EmptyRegion[3]

BoundaryDiscretizeGraphics[Graphics3D[CapsuleShape[]]]

Mathematica graphics

Please can anyone confirm these behaviors. I'm using Mathematica 10.2 on Windows 10

$\endgroup$
  • 1
    $\begingroup$ Hey, I'm trying to pass you in points. You're not allowed to participate! (As I upvote your question.) :) $\endgroup$ – rcollyer Jul 20 '15 at 13:52
  • $\begingroup$ @rcollyer. Okay, I'll stop participating for now :) $\endgroup$ – RunnyKine Jul 20 '15 at 15:50
  • $\begingroup$ As long as you took my sarcasm as it was intended, then great! :) $\endgroup$ – rcollyer Jul 20 '15 at 15:59
  • 1
    $\begingroup$ @rcollyer, Yes I did, hence the smiley face :) $\endgroup$ – RunnyKine Jul 20 '15 at 16:15
  • $\begingroup$ Well, maybe one day, real soon, we both can enjoy the benefits of 20k reputation. $\endgroup$ – rcollyer Jul 20 '15 at 17:40
12
$\begingroup$

Confirmed. These have already been implemented, but did not make it in time for the 10.2 release. DiscretizeRegion should work, however.

Update

Working as of Mathematica 10.3:

DiscretizeGraphics[Graphics3D[SphericalShell[{0, 0, 0}, {1/2, 1}]]]

Mathematica graphics

BoundaryDiscretizeGraphics[Graphics3D[CapsuleShape[]]]

Mathematica graphics

$\endgroup$

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.