No subject

Moderator: GiD Team

Post Reply
Guest

No subject

Post by Guest »

coordinates v, must use

set normal [GiD_Info parametric surface surface_id normal v]

To know the u,v parameters of a point with coordinates x y z =
(located on the surface), must use
set uv [GiD_Info parametric surface surface_id uv_fromcoord x y =
z]

Read GiD help about Cutomization-Tcl/Tk extension-Control =
functions-Info function
=20
As user, you can also know the normal of the surface on a point from the =
menu
Utilities-Id=20
then click the righ mouse button ,and select in the contextual menu =
"Normal in surface"
and click the desired point on a surface. The normal x y z will be =
shown in the lower message bar
=20
Regards

Enrique=20
=20

----- Original Message -----=20
From: "CALAON Andrea Dalmine R&D" acalaon at dalmine.it
To: gidlist at gatxan.cimne.upc.edu
Sent: Tuesday, May 15, 2007 9:21 PM
Subject: [GiDlist] Surface normals at any point


Dear GiD Team,
I need the normal to a surface (NURBS in general), at a point that
clearly is on the surface itself (the point is obtained as an
intersection between the surface and a line). Is there any way to =
obtain
from the GiD database through Tcl such information? I have seent that
for parametric surfaces this has been implemented.
=20
Best regards
=20
Andrea
=20
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
------=_NextPart_000_0A0C_01C797AC.10074730
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"
META content=3D"MSHTML 6.00.2800.1589" name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY
DIVFONT face=3DArial size=3D2Hello Andrea,/FONT/DIV
DIVFONT face=3DArial size=3D2/FONT /DIV
DIVFONT face=3DArial size=3D2From Tcl, to know the normal of the =
surface=20
<surface_id> at parametric coordinates <u> <v>, must=20
use/FONT/DIV
DIVFONT face=3DArial size=3D2/FONT&nbsp;/DIV
DIVFONT face=3DArial color=3D#0000ff size=3D2set normal [GiD_Info =
parametric=20
surface <surface_id>&nbsp;normal <u> <v>]/FONT/DIV
DIVFONT face=3DArial size=3D2/FONT&nbsp;/DIV
DIVFONT face=3DArial size=3D2To know the u,v parameters of a point =
with=20
coordinates <x> <y> <z> (located on the surface), must =

use/FONT/DIV
DIVFONT face=3DArial color=3D#0000ff size=3D2set uv [GiD_Info =
parametric surface=20
<surface_id>&nbsp;uv_fromcoord <x> <y> =
<z>]/FONT/DIV
DIVFONT face=3DArial size=3D2/FONT&nbsp;/DIV
DIVFONT face=3DArial size=3D2Read GiD help =
about&nbsp;Cutomization->Tcl/Tk=20
extension->Control functions->Info functionBR&nbsp;/FONT/DIV
DIVFONT face=3DArial size=3D2As&nbsp;user, you can&nbsp;also know =
the normal of=20
the surface on a point from the menuBRUtilities->Id /FONT/DIV
DIVFONT face=3DArial size=3D2then click the righ mouse button ,and =
select in the=20
contextual menu "Normal in surface"BR&nbsp;and click&nbsp;the=20
desired&nbsp;point on a surface. The normal x y z will&nbsp;be =
shown&nbsp;in=20
the&nbsp;lower message barBR&nbsp;/FONT/DIV
DIVFONT face=3DArial size=3D2Regards/FONT/DIV
DIVBRFONT face=3DArial =
size=3D2Enrique&nbsp;BR&nbsp;/FONT/DIV
DIVFONT face=3DArial size=3D2/FONT&nbsp;/DIV
DIVFONT face=3DArial size=3D2----- Original Message ----- /FONT
DIVFONT face=3DArial size=3D2From: "CALAON Andrea Dalmine R&D" =
</FONTA=20
href=3D"mailto:acalaon at dalmine.it"FONT face=3DArial=20
size=3D2acalaon at dalmine.it/FONT/AFONT face=3DArial =
size=3D2>/FONT/DIV
DIVFONT face=3DArial size=3D2To: </FONTA=20
href=3D"mailto:gidlist at gatxan.cimne.upc.edu"FONT face=3DArial=20
size=3D2gidlist at gatxan.cimne.upc.edu/FONT/AFONT face=3DArial=20
size=3D2>/FONT/DIV
DIVFONT face=3DArial size=3D2Sent: Tuesday, May 15, 2007 9:21 =
PM/FONT/DIV
DIVFONT face=3DArial size=3D2Subject: [GiDlist] Surface normals at =
any=20
point/FONT/DIV/DIV
DIVFONT face=3DArialBRFONT size=3D2/FONT/FONT/DIVFONT =
face=3DArial=20
size=3D2> Dear GiD Team,BR> I need the normal to a surface =
(NURBS in=20
general), at a point thatBR> clearly is on the surface itself (the =
point is=20
obtained as anBR> intersection between the surface and a line). Is =
there=20
any way to obtainBR> from the GiD database through Tcl such =
information? I=20
have seent thatBR> for parametric surfaces this has been=20
implemented.BR> BR> Best regardsBR> BR> =
AndreaBR>=20
BR> _______________________________________________BR> GiDlist =
mailing=20
listBR> /FONTA href=3D"mailto:GiDlist at gid.cimne.upc.es"FONT =
face=3DArial=20
size=3D2GiDlist at gid.cimne.upc.es/FONT/ABRFONT face=3DArial =
size=3D2>=20
/FONTA =
href=3D"http://gid.cimne.upc.es/mailman/listinfo/gidlist"FONT=20
face=3DArial=20
size=3D2a href="http://gid.cimne.upc.es/mailman/listinf ... T/a/A/BOD=
Y/HTML

------=_NextPart_000_0A0C_01C797AC.10074730--
Post Reply