SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Constructing a MESH


Chronological Thread 
  • From: Jeroen Stinstra <jeroen@cvrti.utah.edu>
  • To: Ehsan Vaghefi <e.vaghefi@auckland.ac.nz>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] Constructing a MESH
  • Date: Fri, 30 Mar 2007 09:51:17 -0600

Hi Ehsan,

I am not sure what you are trying to do, but if you want to import points defined in matlab into SCIRun, the easy way to do this is:

create a structured matlab variable e.g. :

>> field.node = nodes;
>> save field.mat field

Where "nodes" is your array with nodes.

Use the module "ImportFieldsFromMatlab" and use the field.mat file. In the GUI it should indicate that the field is a PointCloud. This should import the
points directly as a Field and you do not need to do any conversion.

Now I am not sure what kind of mesh you want to create:

If you want to make a surface mesh, we unfortunately do not have tools yet to convert a series of points into a triangular mesh in SCIRun.
If you want to make a tetrahedral mesh, SCIRun relies on TetGen to do this, and you would have to add this when building SCIRun.

best,

Jeroen


On Mar 29, 2007, at 8:04 PM, Ehsan Vaghefi wrote:

Hi all

I have a Matrix which I build in MATLAB, it contains the coordinates of my mesh nodes. the format is <X,Y,Z>. I want to import this matrix to Scirun and build my mesh according to node positions, but there is a problem, I read the matrix from MATLAB alright. then I use "ConvertMatrixToField" after that when I want to use "CalculateMeshNodes" it generates an error:

REMARK: DynamicLoader::compile_so() syscal error 2: command was 'D

and opens an edit window showing the function of calculation the mesh nodes but still doesn't work. any suggestions?

Cheers. Ehsan
====================================================================== =====
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see http://software.sci.utah.edu/scirun- biopse_citation.bib ==
====================================================================== =====

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page