[GiDlist] How to output result in binary format?

hi,everyone,
I often work with GID V6.30b. Now i meet a problem which is the result
file in ASCII format is very big. If i save it in binary format in
PostProcess of GID, it will become smaller. I also work with customization
of GID and run my program in GID, so i want to output the result file with
my program directly in binary format so that it will be faster from
PreProcess to PostProcess in GID. Could you tell me how to do it?

thanks very much.

Dear “nzwyc”, the binary format is not documented. Instead of document
it we have developed an interface in C and Fortran (not fully tested)
for writing result both in ASCII & binary. This library will be free and
will be available from next GiD version 7.2. In order to use it you
should update to that release.

best regards,

Jorge Suit

nzwyc at 163.net wrote:

hi,everyone,
I often work with GID V6.30b. Now i meet a problem which is the result
file in ASCII format is very big. If i save it in binary format in
PostProcess of GID, it will become smaller. I also work with customization
of GID and run my program in GID, so i want to output the result file with
my program directly in binary format so that it will be faster from
PreProcess to PostProcess in GID. Could you tell me how to do it?
thanks very much.


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


\

A binary format for result data would be very helpful. Is it possible to
predict the approx. date when the interface libraries will be availabe?

Best regards,
Stefan Bergmann.

Jorge Suit Perez Ronda schrieb:

Dear “nzwyc”, the binary format is not documented. Instead of document
it we have developed an interface in C and Fortran (not fully tested)
for writing result both in ASCII & binary. This library will be free
and will be available from next GiD version 7.2. In order to use it
you should update to that release.
best regards,
Jorge Suit



\

Dipl.-Ing. Stefan Bergmann
TU Berlin - Geotechnical Institute

Dear Stefan, the release 7.2 will be available next week. We’ll going to
annouce it in the gidlist.
Remember that this binary format can only be read from this version on.

best regards,

Jorge Suit

Stefan Bergmann wrote:

A binary format for result data would be very helpful. Is it possible
to predict the approx. date when the interface libraries will be
availabe?
Best regards,
Stefan Bergmann.
Jorge Suit Perez Ronda schrieb:
Dear “nzwyc”, the binary format is not documented. Instead of
document it we have developed an interface in C and Fortran (not
fully tested) for writing result both in ASCII & binary. This library
will be free and will be available from next GiD version 7.2. In
order to use it you should update to that release.
best regards,
Jorge Suit




----------------------------------
Dipl.-Ing. Stefan Bergmann
TU Berlin - Geotechnical Institute


\


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

Dear All,

I wish to draw a symbol in the vicinity of a mesh.
This symbol should be able to be moved with the mouse and be oriented in
3D-space.
It must be possible to have information about the new coordinates and
new orientation of the symbol.

I would like your opinion:

I could define a symbol (***.geo) (or a 3 axes trieder).
I could like write a tcl procedure using canvas that allows to move
this symbol, in the plane
perpendicular to the observation plane for example.
Then I could orient it in its local axes with canvas too.
But:

Can the symbol size be biggest than that of the moment ?
Can the symbol be oriented in “real time” ?
Is it possible to obtain the information about the coordinates of the
direction of observation vector ?
Is it a better way to do that

Thank you for your point of view.

G.W.R.Geis

Dear All,

Is it possible to create a point in the vicinity of a MESH (the geometry
doesn’t exist here) and stick the symbol associated to the point
condition ?

Thank you for your response.

G.W.R.Geis

It is not possible to create a point in mesh view.
Only is possible to create a “Dimension”
(Utilities-Dimension-Create-Vertex) to assign a
label to a 3D model coordinate. You can modify the dimension label text, but
not draw a symbol.

Now, the symbols only are drawing associated (in location and orientation)
to a condition,
and the size is automatically scaled by GiD, it is not user customizable.

The main window of GiD is not a canvas, is a special widget to draw graphics
using OpenGL.

It is possible to create with tcl/tk a bitmap in any screen location.

Enrique.

----- Original Message -----
From: “ieea” ieea at club-internet.fr
To: GiDlist at gatxan.cimne.upc.es
Sent: Wednesday, December 18, 2002 4:43 PM
Subject: [GiDlist] Drawing a symbol on a mesh


Dear All,
Is it possible to create a point in the vicinity of a MESH (the geometry
doesn’t exist here) and stick the symbol associated to the point
condition ?
Thank you for your response.
G.W.R.Geis


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

Dear All,

Is it possible to obtain the informations about the coordinates of the
vector
corresponding to the direction of observation of an object ?

Thank you for your response.

G.W.R.Geis

Hi,

what is you idea?
no in a direct way. but, you can get the view parameters through the
‘View-View-Save’ menu option which writes an ASCII file the
real-world-3D-window limits, the rotation vector, the rotation matrix
and the center of the figure. we can find a way to make it possible and
usable for future versions, including the drawing of some simple 3D objects
from tcl.

miguel

ieea wrote:

Dear All,
Is it possible to obtain the informations about the coordinates of the
vector
corresponding to the direction of observation of an object ?
Thank you for your response.
G.W.R.Geis


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


Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es

Thank you for the response.

I have seen that the m matrix can be useful to obtain the 3D coordinates of the
observation vector.
I think this information could be useful to easily find an orientation vector of an
object especially
to give the good orientation of a symbol that could be use for a calculation.
In my problem, I put a symbol on my object (not yet on the mesh!). This symbolizes a
directive antenna
I wish to orient.
If you have an easy calculation to have the vector coordinates from m-matrix without
I calculate that, I will be happy.

Thanks again for you response.

G.W.R.Geis

P.S. Next contact in january !! Have a good Christmas.



“Miguel A. de Riera Pasenau” a écrit :

Hi,
what is you idea?
no in a direct way. but, you can get the view parameters through the
‘View-View-Save’ menu option which writes an ASCII file the
real-world-3D-window limits, the rotation vector, the rotation matrix
and the center of the figure. we can find a way to make it possible and
usable for future versions, including the drawing of some simple 3D objects
from tcl.
miguel
ieea wrote:
Dear All,
Is it possible to obtain the informations about the coordinates of the
vector
corresponding to the direction of observation of an object ?
Thank you for your response.
G.W.R.Geis


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

--------------------------------------------------------------------------------
Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es


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

Dear All,

I wish to write a tcl procedure to assign a condition to a point.

After having created a single point (number 1) I used this command:

.central.s process data conditions assign 1 escape
close

but it seems to be a wrong command.

Can you help me please.

G.W.R.Geis

Hi,

Try to use this command:

.central.s process escape escape escape escape escape Data
Conditions AssignCond “Name_of_the_condition” “ID_of_point”
escape

Normally, it is a good trick use a sequence of “escape’s” before begin
with commands (with this escape sequence you bring GiD to the initial
state).
A good tool to see how GiD commands have to be written, it is use the
GiD batch file. More information can be found in GiD help.

Bye,

Aleix

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es] En nombre de ieea
Enviado el: sábado, 19 de octubre de 2002 17:11
Para: GiDlist at gatxan.cimne.upc.es
Asunto: [GiDlist] Find a tcl process to assign condition to a point

Dear All,

I wish to write a tcl procedure to assign a condition to a point.

After having created a single point (number 1) I used this command:

.central.s process data conditions assign 1 escape
close

but it seems to be a wrong command.

Can you help me please.

G.W.R.Geis

\


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

Before the point or points number it is needed the name of the condition to
assign, for example Point_Constraint:
(and before to assign any condition it is needed to load a problem type with
this condition defined over points)

For example:
.central.s process escape escape escape escape data conditions assigncond
Point_Constraint 1 escape

About your previous questions: You can create an auxiliary line to define
your antenna orientation.
put your line in a “special” layer and ignore this line for the mesh
generation or another operations.

Enrique

----- Original Message -----
From: “ieea” ieea at club-internet.fr
To: GiDlist at gatxan.cimne.upc.es
Sent: Saturday, October 19, 2002 5:11 PM
Subject: [GiDlist] Find a tcl process to assign condition to a point


Dear All,
I wish to write a tcl procedure to assign a condition to a point.
After having created a single point (number 1) I used this command:
_.central.s process data conditions assign 1 escape _
close
but it seems to be a wrong command.
Can you help me please.
G.W.R.Geis


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

Hello,

If you want to assign the condition with values different from
the defaults, you should use something like the following:

.central.s process escape escape escape escape data cond assign
$_CndName change $Values $l escape

In this case, this command can be found in DataWindows.tcl
You can find a lot of information just by investigating the GiD TCL
scripts.

Regards and happy Christmas to everybody,


Compass Ing. y Sistemas Dr. Ramon Ribó
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es]En nombre de Enrique Escolano
Enviado el: jueves, 19 de diciembre de 2002 19:24
Para: gidlist at gatxan.cimne.upc.es
Asunto: Re: [GiDlist] Find a tcl process to assign condition to a point


Before the point or points number it is needed the name of the condition to
assign, for example Point_Constraint:
(and before to assign any condition it is needed to load a problem type with
this condition defined over points)

For example:
.central.s process escape escape escape escape data conditions assigncond
Point_Constraint 1 escape

About your previous questions: You can create an auxiliary line to define
your antenna orientation.
put your line in a “special” layer and ignore this line for the mesh
generation or another operations.

Enrique

----- Original Message -----
From: “ieea” ieea at club-internet.fr
To: GiDlist at gatxan.cimne.upc.es
Sent: Saturday, October 19, 2002 5:11 PM
Subject: [GiDlist] Find a tcl process to assign condition to a point


Dear All,
I wish to write a tcl procedure to assign a condition to a point.
After having created a single point (number 1) I used this command:
_.central.s process data conditions assign 1 escape _
close
but it seems to be a wrong command.
Can you help me please.
G.W.R.Geis


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


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