Use Print(input,"rd") to examine in the Message Window the output of any module that has an output, e.g., hook Print's input to Import's output.
I bet you have a group not a field (no idea what you are importing [you said Input, are you inside a macro? that's the only place Input exists]). Thus Extract returns a group of arrays since DX is helpfully recursive. But Regrid accepts no groups. So use Select after Import (set to 0 by default to select the 0th group member, but change index if you want), then Extract (may not be necessary since I think Regrid will use the field positions anyway).

But ultimately if your 'surface' is not compatible with a regular 3d grid, you won't be very happy. Again, I think David T. has the answer for 3D irregular surfaces (he developed it for a laser-scanned cave interior as I remember). You may want to just buy his module since rolling your own Voronoi tesselation could take some time.


On Thursday, Dec 4, 2003, at 01:16 America/New_York, Allen H. Nugent wrote:

Dear DXplorers,

Having given up on rendering the surface of my geometry I am trying to form a 'connections' component for the combined surface and interior coordinates. Unfortunately, there seem to be no examples or documentation for using existing DX modules to do this. (I can only find networks for 2-D scattered data or 3-D regular grids).

Having used {Input} to read a 3_D vector field I connected this to the <input> tab of {Regrid}. I tried using {Extract} to provide the 'positions' component of the field to the <grid> tab of {Regrid}. But, executing this network gives the message: "ERROR: Regrid: Invalid data: base must be a field or a group".

If I omit {Extract} and connect {Input} to the <grid> tab of {Regrid} I get the message: "ERROR: Regrid: Operation not implemented: input must be a single field".

In summary, I can't get to 1st base with {Regrid} and I don't know how else to form the connections for 3-D scattered points. Can any one tell me how to proceed?


Allen H. Nugent
Graduate School of Biomedical Engineering
University of New South Wales
Sydney NSW 2052 Australia
Tel: +61 2 9385 3916 Fax: +61 2 9663 2108




_______________________________
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853

Reply via email to