Group Abstract Group Abstract

Message Boards Message Boards

5
|
20.5K Views
|
5 Replies
|
18 Total Likes
View groups...
Share
Share this post:

How to make a hole in a Graphics3D object?

POSTED BY: yang l
5 Replies

Thanks, it is a good solution. Wolfram should support Boolean operation for Graphics3D objects in future.

POSTED BY: yang l
POSTED BY: Charles Pooh

Wow, Nasser, such a nice compact solution!

POSTED BY: Vitaliy Kaurov

another option (made the cube little thicker to make it more clear ) there are many more options in the RegionPlot3D you can adjust also.

  cub1 = Cuboid[{0, 0, 0}, {20, 6, 20}];
  cub2 = Cuboid[{12, 0, 8}, {17, 6, 17}];
  r2 = RegionDifference[cub1, cub2];
  RegionPlot3D[r2, PlotPoints -> 60, Mesh -> 10]

enter image description here

POSTED BY: Nasser M. Abbasi
POSTED BY: Vitaliy Kaurov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard