Message Boards Message Boards

2 Replies
0 Total Likes
View groups...
Share this post:

Can a 2-D Cross Section of a 3-D Graphic be generated?

I'd like to have a Manipulate that shows a cross-section of a 3D Graphic, with the position of the cross section determined by the Manipulate controls. It seems to me this should be possible with the new graphics functionality in version 10.

POSTED BY: Frank Kampas
2 Replies

Turns out taking a cross-section of a Ball centered at {x,y,z} with radius r onto the plane z = zz can be done with a rule:

Ball[{x, y, z}, r] -> Ball[{x, y}, Sqrt[Max[r^2 - (zz - z)^2, 0]]

POSTED BY: Frank Kampas


this might be useful:

Cheers, Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract