David,

Thanks for your suggestion and it has definitely pointed me in the right direction. What I am still not able to figure out is how to relate "d" (in your network snippet below) back to the y and z coordinates - Compute is passing only the x coordinates to Include. I can't include y and z in this Compute because then they will be operated on by the same Include, which won't work with the coordinates of the data and besides I would like to "clip" those axes independently. And having separate Computes and Includes for the x and y coordinates is not working, at least not the way that I have the network constructed.

Thanks for your help,
Karl


David Thompson wrote:
This is fairly straight forward.

a = Mark(yourData, "positions");
b = Compute(a, a.0);
c = Include(b, 5, 10);
d = Unmark(c);

Now d no longer includes those portions of the grid (you may want to cull the include).

David

Hello DX'ers,

I've got a 3-d field of elements having irregular positions, although only the z-dimension positions are actually irregular - the x and y positions are regularly-spaced. It's essentially a finite-element mesh. I'm trying to "remove" elements, not based on their value (which can be accomplished using the Include module), but rather based on their x and y positions. For example, let's say that the domain ranges from x=0 to x=10, y=0 and y=20, and z=0 to z=5. What I'd like to do is remove all elements from x=0 to x= 5 so that I can see what is happening inside the volume. Note that the elements are visualized as solids using ShowBoundary and FaceNormals. I've tried ClipPlane, but the elements on the clipping plane are not rendered as opaque so they do not appear. Slab won't work either, because the connections are irregular. In addition, my attempts at using ClipVolumeMacro have not been at all successful.

This seems like it should be pretty straight forward, but I'm obvioulsy missing some critical aspect.

Any help is greatly appreciated.  Thanks.

Karl Pohlmann
--
Karl Pohlmann
Associate Research Hydrogeologist
Division of Hydrologic Sciences
Desert Research Institute
755 East Flamingo Road, Las Vegas, NV  89119
Phone: 702-862-5485        Fax: 702-862-5427
E-mail: [EMAIL PROTECTED]
http://www.dri.edu/People/karl/



Reply via email to