I have two regions, each parametrized by different values of u and v. My goal is to subtract the first region from the second region, such that the resulting plot displays only the second region, with empty space wherever it intersects the first region. Essentially, I want to perform boolean algebra on ParametricPlot3D regions, so that I can get Region2 - Region1.
Thanks Frank. Unfortunately, my regions need to be defined parametrically in terms of u and v, but RegionPlot3D only interprets in xyz. I wish that Show had the cabability to subtract regions from one another, rather than just piling one on top of another. Anyone else have any ideas?
For starters, I suggest that you change the variables in the definition of one of the regions so that u and v have the same ranges in the two definitions.
Frank, that is good advice. I’ve since done that, but I also need each region to have a different value for Thickness. And I am still left with the problem of subtracting one from the other. Is anyone aware of Mathemattica Packages that include features that might help?
Okay, here’s a great solution: If you are exporting regions generated in mathematica as .stl files for puposes of 3d printing, you can join/add/subtract those regions in a 3d printing software such as MeshLab or Netfabb. see http://wiki.netfabb.com/Boolean\_Operations .