[GiDlist] Suggestions for inserting cracks in meshes

Dear Sirs,

First of all, I want to congratualte you on the creation and development of a great product. Please keep up the good work!

I have one question concerning any known techniques to use GID to insert cracks in a mesh. I am looking for suggestions that will facilitate the insertion of 3-D cracks, either serrated, circualr or elliptical into a given geometry.

When will you recommend to do it: as a geometrical entity or in the mesh directly?

Your kind comments will be greatly appreciated

Fernando Lorenzo


-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050930/2de88093/attachment.htm

Hi all Gidlist people

With the latest GID beta version.. I could not use any
of my materials options.. What a problem with that??

The assign function in the Material window box is not
working.. when I tried to assign the material on the
mesh object.. that is not working out. Why???

Cheers..


\


Yahoo! Mail - PC Magazine Editors’ Choice 2005

Hi, could you provide more information about the bug you are getting?, may be
some error message or screen capture.

regards,

Jorge

On Monday 03 October 2005 07:09, VSayako Willy wrote:
Hi all Gidlist people
With the latest GID beta version.. I could not use any
of my materials options.. What a problem with that??
The assign function in the Material window box is not
working.. when I tried to assign the material on the
mesh object.. that is not working out. Why???
Cheers..

\


Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_

Hi,

There is no tool now available in GiD to take care about 3D cracks in meshes. We are working on it, but it won’t be ready soon.

The only way to treat this problem now, using GiD, is to modify the geometry including the cracks, and mesh again the new geometry.

Regards,

ABEL COLL


----- Original Message -----
From: Fernando Lorenzo
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, September 30, 2005 10:50 PM
Subject: [GiDlist] Suggestions for inserting cracks in meshes


Dear Sirs,

First of all, I want to congratualte you on the creation and development of a great product. Please keep up the good work!

I have one question concerning any known techniques to use GID to insert cracks in a mesh. I am looking for suggestions that will facilitate the insertion of 3-D cracks, either serrated, circualr or elliptical into a given geometry.

When will you recommend to do it: as a geometrical entity or in the mesh directly?

Your kind comments will be greatly appreciated

Fernando Lorenzo

-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051003/c5542338/attachment.htm

Hello,

I am animating the evolution of the surface of a lake (see attached).
I would like to know how one can draw the volume under this free
surface using gid.

Best regards

Abdou
-------------- next part --------------
A non-text attachment was scrubbed…
Name: freesurface.gif
Type: image/gif
Size: 312527 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051010/117cdc51/attachment.gif

¿can you send us the example? ¿is there a volume mesh or just the surface of
the sea?

miguel

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de asene at sunumail.sn
Enviado el: lunes, 10 de octubre de 2005 9:43
Para: gidlist at gatxan.cimne.upc.edu
Asunto: [GiDlist] Free surface animation

Hello,

I am animating the evolution of the surface of a lake (see attached).
I would like to know how one can draw the volume under this free
surface using gid.

Best regards

Abdou

it is just a surface mesh, so the calculation is done on the surface
but for animation, i want to represent the whole volume.
See the attached file freesurface.gif

abdou



¿can you send us the example? ¿is there a volume mesh or just the surface
of
the sea?
miguel
-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de asene at sunumail.sn
Enviado el: lunes, 10 de octubre de 2005 9:43
Para: gidlist at gatxan.cimne.upc.edu
Asunto: [GiDlist] Free surface animation
Hello,
I am animating the evolution of the surface of a lake (see attached).
I would like to know how one can draw the volume under this free
surface using gid.
Best regards
Abdou


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_

-------------- next part --------------
A non-text attachment was scrubbed…
Name: freesurface.gif
Type: image/gif
Size: 312527 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051010/e6fe3fad/attachment.gif

Hi all Gidlists

Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???

Regards.


\


Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

It exists a GiD-Tcl Info command to get this type of geometric information (coordinates, derivatives, etc):

for example to get the u,v parameter coordinates of a 3D coordinates x,y,z on the surface number 28, can use

set uv [GiD_Info parametric surface 28 uv_fromcoord $x $y $z]

Read GiD Help about Tcl/Tk extension-Control functions-Info function-Parametric

Regards

Enrique Escolano

----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization


Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051014/e9224027/attachment.htm

Hi Enrique
Thanks very much for your advice and information. I
have attached the shell surface herewith. How would we
write the parametric of all the nodes of such surface
which has about 100 nodes.??
Regards


— Enrique Escolano escolano at cimne.upc.edu wrote:

It exists a GiD-Tcl Info command to get this type of
geometric information (coordinates, derivatives,
etc):
for example to get the u,v parameter coordinates of
a 3D coordinates x,y,z on the surface number 28, can
use
set uv [GiD_Info parametric surface 28 uv_fromcoord
$x $y $z]
Read GiD Help about Tcl/Tk extension-Control
functions-Info function-Parametric
Regards
Enrique Escolano
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization

Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp
the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home
page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_




\


Yahoo! Mail - PC Magazine Editors’ Choice 2005

-------------- next part --------------
A non-text attachment was scrubbed…
Name: Moley.gid.zip
Type: application/x-zip-compressed
Size: 53753 bytes
Desc: 861168297-Moley.gid.zip
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051015/d8403ef4/attachment.bin

Hi Willy,
Your model don’t have any geometric surface (you probably imported a mesh), then it not exists a “surface space parameter” to ask.

In other hand, the user don’t have any control over the parameterization of the surfaces, then maybe the uv parameter space coordinates are not valid for your use.

I generated by revolution a new surface matching your simple mesh shape. I attach your model with this surface number 1.

Then you can ask for example the uv coordinates of all your nodes over this surface with this tcl procedure

proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}

To test it:
copy this definition procedure an put in the GiD lower command line, preceded by “-np-” (to indicate GiD that is tcl code)

-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}

Then the procedure is defined inside GiD, and can invoke it with
-np- GetUVCoordinates

(it will open a window with the results)

Note: It’s possible to easily call tcl procedures from customized buttons of the macros toolbar.

----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Saturday, October 15, 2005 4:41 AM
Subject: Re: [GiDlist] Surface parameterization


Hi Enrique
Thanks very much for your advice and information. I
have attached the shell surface herewith. How would we
write the parametric of all the nodes of such surface
which has about 100 nodes.??
Regards

— Enrique Escolano escolano at cimne.upc.edu wrote:
It exists a GiD-Tcl Info command to get this type of
geometric information (coordinates, derivatives,
etc):
for example to get the u,v parameter coordinates of
a 3D coordinates x,y,z on the surface number 28, can
use
set uv [GiD_Info parametric surface 28 uv_fromcoord
$x $y $z]
Read GiD Help about Tcl/Tk extension-Control
functions-Info function-Parametric
Regards
Enrique Escolano
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization

Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp
the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home
page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_




\


Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051015/92786cfc/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed…
Name: Moley_with_surface.zip
Type: application/x-zip-compressed
Size: 54837 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051015/92786cfc/attachment.bin

Hi Enrique
Where should I put this tcl proc?? in which file
of GiD?or which directory?
Enrique what do you mean by uv-parametric space
here? isn’t the x-y coordinate of 3D x-y-z cartesian
coordinates?
What is the idea of uv-parametric used in GiD? how
could I get this uv-parametric generated inside my
source code? instead of reading as a input file of
this uv data.. I just read the 3D xyz coordinates in
the data input file then write the source code to
calculate the uv-parametric automatically inside the
code..

Best regards.

— Enrique Escolano escolano at cimne.upc.edu wrote:

Hi Willy,
Your model don’t have any geometric surface (you
probably imported a mesh), then it not exists a
“surface space parameter” to ask.
In other hand, the user don’t have any control over
the parameterization of the surfaces, then maybe the
uv parameter space coordinates are not valid for
your use.
I generated by revolution a new surface matching
your simple mesh shape. I attach your model with
this surface number 1.
Then you can ask for example the uv coordinates of
all your nodes over this surface with this tcl
procedure
proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface
$numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
To test it:
copy this definition procedure an put in the GiD
lower command line, preceded by “-np-” (to indicate
GiD that is tcl code)
-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface
$numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
Then the procedure is defined inside GiD, and can
invoke it with
-np- GetUVCoordinates
(it will open a window with the results)
Note: It’s possible to easily call tcl procedures
from customized buttons of the macros toolbar.
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Saturday, October 15, 2005 4:41 AM
Subject: Re: [GiDlist] Surface parameterization

Hi Enrique
Thanks very much for your advice and
information. I
have attached the shell surface herewith. How
would we
write the parametric of all the nodes of such
surface
which has about 100 nodes.??
Regards

— Enrique Escolano escolano at cimne.upc.edu
wrote:
It exists a GiD-Tcl Info command to get this
type of
geometric information (coordinates, derivatives,
etc):
for example to get the u,v parameter coordinates
of
a 3D coordinates x,y,z on the surface number 28,
can
use
set uv [GiD_Info parametric surface 28
uv_fromcoord
$x $y $z]
Read GiD Help about Tcl/Tk extension-Control
functions-Info function-Parametric
Regards
Enrique Escolano
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization

Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to
mapp
the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home
page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_




\


Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com


\


Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

For a fast test, it’s not necessary to save the code in any file. you can
copy and paste in the GiD command line, preceded by “-np-” as I said in the
previous message:
-np- proc GetUVCoordinates…

And use with:
-np- GetUVCoordinates

A parametric surface is a mapping from a 2D parameter space (a 1x1 square)
to 3D coordinates. { x(u,v) ,y(u,v), z(u,v) }
Maybe you can use this u,v space.

Note: each surface has his own parametric space, then you only can use this
trick if your 3D nodes are generated from a single source surface.

In general, only from a cloud of points you can’t create a surface to use
his space parameter.
The uv_fromcoord command get the inverse: from a 3D coordinate on the
surface, returning the u,v parameters
(to calculate this inverse of the parametrization, you need to solve a
non-linear two equation system, finding u,v that minimize the distance to
the 3D point)


----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Monday, October 17, 2005 6:28 AM
Subject: Re: [GiDlist] Surface parameterization


Hi Enrique
Where should I put this tcl proc?? in which file
of GiD?or which directory?
Enrique what do you mean by uv-parametric space
here? isn’t the x-y coordinate of 3D x-y-z cartesian
coordinates?
What is the idea of uv-parametric used in GiD? how
could I get this uv-parametric generated inside my
source code? instead of reading as a input file of
this uv data.. I just read the 3D xyz coordinates in
the data input file then write the source code to
calculate the uv-parametric automatically inside the
code..
Best regards.
— Enrique Escolano escolano at cimne.upc.edu wrote:
Hi Willy,
Your model don’t have any geometric surface (you
probably imported a mesh), then it not exists a
“surface space parameter” to ask.
In other hand, the user don’t have any control over
the parameterization of the surfaces, then maybe the
uv parameter space coordinates are not valid for
your use.
I generated by revolution a new surface matching
your simple mesh shape. I attach your model with
this surface number 1.
Then you can ask for example the uv coordinates of
all your nodes over this surface with this tcl
procedure
proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface
$numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
To test it:
copy this definition procedure an put in the GiD
lower command line, preceded by “-np-” (to indicate
GiD that is tcl code)
-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface
$numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}
Then the procedure is defined inside GiD, and can
invoke it with
-np- GetUVCoordinates
(it will open a window with the results)
Note: It’s possible to easily call tcl procedures
from customized buttons of the macros toolbar.
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Saturday, October 15, 2005 4:41 AM
Subject: Re: [GiDlist] Surface parameterization

Hi Enrique
Thanks very much for your advice and
information. I
have attached the shell surface herewith. How
would we
write the parametric of all the nodes of such
surface
which has about 100 nodes.??
Regards

— Enrique Escolano escolano at cimne.upc.edu
wrote:
It exists a GiD-Tcl Info command to get this
type of
geometric information (coordinates, derivatives,
etc):
for example to get the u,v parameter coordinates
of
a 3D coordinates x,y,z on the surface number 28,
can
use
set uv [GiD_Info parametric surface 28
uv_fromcoord
$x $y $z]
Read GiD Help about Tcl/Tk extension-Control
functions-Info function-Parametric
Regards
Enrique Escolano
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization

Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to
mapp
the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home
page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_




\


Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com


\


Start your day with Yahoo! - Make it your home page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_

Hi Enrique
The proc you wrote gives the window box of Copy, Translation, mirror, scale, and offset… What and how can I know anything about uv-parameter from this window box. Actually we use this box only for extrution purpose?? Would you please to elaborate.

Regards

Enrique Escolano escolano at cimne.upc.edu wrote:
Hi Willy,
Your model don’t have any geometric surface (you probably imported a mesh), then it not exists a “surface space parameter” to ask.

In other hand, the user don’t have any control over the parameterization of the surfaces, then maybe the uv parameter space coordinates are not valid for your use.

I generated by revolution a new surface matching your simple mesh shape. I attach your model with this surface number 1.

Then you can ask for example the uv coordinates of all your nodes over this surface with this tcl procedure

proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}

To test it:
copy this definition procedure an put in the GiD lower command line, preceded by “-np-” (to indicate GiD that is tcl code)

-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y $z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}

Then the procedure is defined inside GiD, and can invoke it with
-np- GetUVCoordinates

(it will open a window with the results)

Note: It’s possible to easily call tcl procedures from customized buttons of the macros toolbar.

----- Original Message ----- From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Saturday, October 15, 2005 4:41 AM
Subject: Re: [GiDlist] Surface parameterization



Hi Enrique
Thanks very much for your advice and information. I
have attached the shell surface herewith. How would we
write the parametric of all the nodes of such surface
which has about 100 nodes.??
Regards

— Enrique Escolano escolano at cimne.upc.edu wrote:
It exists a GiD-Tcl Info command to get this type of
geometric information (coordinates, derivatives,
etc):
for example to get the u,v parameter coordinates of
a 3D coordinates x,y,z on the surface number 28, can
use
set uv [GiD_Info parametric surface 28 uv_fromcoord
$x $y $z]
Read GiD Help about Tcl/Tk extension-Control
functions-Info function-Parametric
Regards
Enrique Escolano
----- Original Message -----
From: “VSayako Willy” vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization

Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp
the
nodes in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home
page!
_Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_




\


Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com

Yahoo! FareChase - Search multiple travel sites in one click.
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051027/64ee4bbb/attachment.htm

Hi, from what you are telling, it’s sure that you have selected de Tcl code
from the mail, made a ctrl.-C and change to GiD, and pressed Ctrl-V to paste
the code in the command line entry. But, in gid, Ctrl-V is the shortcut for
the Move window, which will popup and that is what happened to you.



Instead of using Ctrl-V to paste the code, used Shift-Insert.



But, as Enrique told you, you’ll need a Surface to get’s this UV information
and in the example you’ve sent, there is no geometrical surface. So you’ll
not get any UV information.



regards



miguel


\


De: gidlist-admin at gatxan.cimne.upc.edu
[mailto:gidlist-admin at gatxan.cimne.upc.edu] En nombre de Willy S
Enviado el: jueves, 27 de octubre de 2005 4:57
Para: gidlist at gatxan.cimne.upc.edu
Asunto: Re: [GiDlist] Surface parameterization



Hi Enrique

The proc you wrote gives the window box of Copy, Translation, mirror,
scale, and offset… What and how can I know anything about uv-parameter
from this window box. Actually we use this box only for extrution purpose??
Would you please to elaborate.



Regards

Enrique Escolano escolano at cimne.upc.edu wrote:

Hi Willy,

Your model don’t have any geometric surface (you probably imported a mesh),
then it not exists a “surface space parameter” to ask.



In other hand, the user don’t have any control over the parameterization of
the surfaces, then maybe the uv parameter space coordinates are not valid
for your use.



I generated by revolution a new surface matching your simple mesh shape. I
attach your model with this surface number 1.



Then you can ask for example the uv coordinates of all your nodes over this
surface with this tcl procedure



proc GetUVCoordinates { } {

set res “”

set numsurface 1

set infonodes [GiD_Info mesh nodes]

foreach {num x y z} $infonodes {

set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y
$z]
append res “$num $uv\n”

}

WarnWinText $res

return $res

}



To test it:

copy this definition procedure an put in the GiD lower command line,
preceded by “-np-” (to indicate GiD that is tcl code)



-np- proc GetUVCoordinates { } {
set res “”
set numsurface 1
set infonodes [GiD_Info mesh nodes]
foreach {num x y z} $infonodes {
set uv [GiD_Info parametric surface $numsurface uv_fromcoord $x $y
$z]
append res “$num $uv\n”
}
WarnWinText $res
return $res
}



Then the procedure is defined inside GiD, and can invoke it with

-np- GetUVCoordinates



(it will open a window with the results)



Note: It’s possible to easily call tcl procedures from customized buttons of
the macros toolbar.



----- Original Message -----

From: “VSayako Willy” mailto:vilaysako at yahoo.com vilaysako at yahoo.com

To: mailto:gidlist at gatxan.cimne.upc.edu gidlist at gatxan.cimne.upc.edu

Sent: Saturday, October 15, 2005 4:41 AM

Subject: Re: [GiDlist] Surface parameterization



Hi Enrique
Thanks very much for your advice and information. I
have attached the shell surface herewith. How would we
write the parametric of all the nodes of such surface
which has about 100 nodes.??
Regards

— Enrique Escolano mailto:escolano at cimne.upc.edu
escolano at cimne.upc.edu wrote:

It exists a GiD-Tcl Info command to get this type of
geometric information (coordinates, derivatives,
etc):
for example to get the u,v parameter coordinates of
a 3D coordinates x,y,z on the surface number 28, can
use
set uv [GiD_Info parametric surface 28 uv_fromcoord
$x $y $z]
! Read GiD Help about Tcl/Tk extension-Control
functions-Info function-Parametric
Regards
Enrique Escolano
----- Original Message -----
From: “VSayako Willy” mailto:vilaysako at yahoo.com
vilaysako at yahoo.com
To: mailto:gidlist at gatxan.cimne.upc.edu
gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, October 12, 2005 5:51 AM
Subject: [GiDlist] Surface parameterization

Hi all Gidlists
Could you please tell me or send the source of
information or source code on the surface
parameterization for shell.. I would like to mapp
the
nod! es in space into 2D…UV parametric space..
Anybody knows something about this???
Regards.

\


Start your day with Yahoo! - Make it your home
page!
_Yahoo is part of the Yahoo family of brands. Yahoo is part of the Yahoo family of brands.


GiDlist mailing list
mailto:GiDlist at gid.cimne.upc.es GiDlist at gid.cimne.upc.es
_http://gid.cimne.upc.es/mailman/listinfo/gidlist_
http://gid.cimne.upc.es/mailman/listinfo/gidlist




\


Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com/ http://mail.yahoo.com


Yahoo!

kEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw–/SIG=110oav78o/**http%3a/farechase
.yahoo.com FareChase - Search multiple travel sites in one click.

-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20051028/d86f8f67/attachment.htm