[GiDlist] Creating cylinder with Tcl

Moderator: GiD Team

Post Reply
Andrea Calaon

[GiDlist] Creating cylinder with Tcl

Post by Andrea Calaon »

Hello GiD team,
I was wondering if it is possible to create a geometrical
Object like a cylinder in Tcl (.central.s process geometry
create Object Cylinder), avoiding creating lines, surfaces and
volumes separately. I tried and GiD was complaining because
it would use a dialog window for user input.
Best regards
Andrea

Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com
Martin Meiler

[GiDlist] Creating cylinder with Tcl

Post by Martin Meiler »

Hello Andrea,

yes it is possible.

At first you have to disable the dialog box by using:

.central.s process Utilities variables UseMoreWindows 0

Then you create the cylinder by using

.central.s process Geometry create object cylinder Fnojoin $center $normvec
$radius $height

where $center center of the cylinder x,y,z
$normvec direction of the normal of the bottom surface x,y,z
$radius radius of the cylinder r
$height height of the cylinder h

Fnojoin forces GiD to create a new point. Therefore you have to
collapse your model if there has already been a point at this destination

By using

.central.s process Utilities variables UseMoreWindows 1

you switch dialog boxes on again.

Hope this answers your question

Best regards

Martin


Andrea Calaon wrote:
Hello GiD team,
I was wondering if it is possible to create a geometrical
Object like a cylinder in Tcl (.central.s process geometry
create Object Cylinder), avoiding creating lines, surfaces and
volumes separately. I tried and GiD was complaining because
it would use a dialog window for user input.
Best regards
Andrea

Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist




--
--------------------------------------------------------------------

_/ _/_/ _/_/_/ Friedrich Alexander Universität Erlangen
_/ _/ _/ _/ Lehrstuhl für Sensorik
_/ _/ _/ Paul-Gordanstr. 5, 91052 Erlangen, Germany
_/ _/_/ _/_/
_/ _/ _/ University of Erlangen
_/ _/ _/ _/ Department of Sensor Technology
_/_/_/ _/_/ _/_/_/ Paul-Gordanstr. 5, 91052 Erlangen, Germany


Dipl.-Ing. Martin Meiler

tel.: (+49)-9131-85-23140
fax.: (+49)-9131-85-23133

email: Martin.Meiler at lse.eei.uni-erlangen.de
Andrea Calaon

[GiDlist] Creating cylinder with Tcl

Post by Andrea Calaon »

Hallo,
Vielen Dank Martin.

Thanks a lot for the explanation!

Best regards

Andrea

P.S. Das LSE Symbol mit den „_/“ ist wirklich toll!
Andrea Calaon

*****************************************************
WESSEX INSTITUTE on the Web - http://www.wessex.ac.uk
SEE 2005 Call for Papers at: http://www.wessex.ac.uk/conferences/2005/index.html

WIT PRESS on the Web - visit http://www.witpress.com

to download individual Wessex Institute conference papers from our WIT eLIBRARY

and browse our BOOKSTORE. Save 10% and ensure fast delivery when you order our books on-line!

BEASY on the Web: http://www.beasy.com
*****************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050628/520fa695/attachment.htm
Post Reply