Thanks Frank , My goal with this code is ‘to subtract 1 shape from another shape’ , so I added these lines …
(* RegionPlot3D generates a Graphics3D object, not a region ! *)
objMesh = DiscretizeGraphics[object];
cutoutMesh = DiscretizeGraphics[cutout];
region = Fold[RegionDifference, objMesh, {cutoutMesh}];
(* Use RegionMember to turn this into inequalities: *)
ineqs = RegionMember[region, {x, y, z}];
All is good till here and this last line fails …
contourRegionPlot3D[ineqs, {x, -101.60, 101.60}, {y, -101.60, 101.60}, {z, 0, 129.43}, Mesh -> NoneBoxRatios -> Automatic, PlotRange -> All, Boxed -> False, Axes -> False]
results : Mesh::ilevels NoneBoxRatios -> Automatic is not a valid mesh specifications.
I have a Home version, purchased & registered a few days ago. Clean ?.. I think it has to be.
Can you send a screen shot of ‘the line of code’. I suspect, copy and paste may be the problem.
This solves a big problem for me. I’ve been using Applescript to do the math, logic & write the Mathematica code . I do the same, writing Python code to drive Blender. I’m hoping to do everything with Mathematica , alone.
Greatly appreciate your input !
On a side note; I have a picture of Machu Picchu, shot from the exact same spot as yours. Went there in the 1980’s on a Shirley MacLaine film. In fact we climbed to the top of Huana Picchu the mountain in the background.
that’s what I meant with clean (restart, fresh kernel, no prior definitions et cetera).
At the origin the two surfaces touch so that will be very tricky to plot using RegionPlot. If you plot it as two surface (ContourPlot3D) you won’t have such a problem. But might not be easy for other region/surfaces…
I can fix that, In a previous version I did in python, I had the outer paraboloid’s height & radius larger, affording an even thickness.
I neglected that in this sample, trying to make Mathematica code work.