[GiDlist] Re: exec command
Moderator: GiD Team
[GiDlist] Re: exec command
Hi GiD,
I am currently calling an executable by doing the following in the .tcl file:
.central.s process escape util calculate
and inside the .bat file i have:
%3\fem.exe %3\%1
The input is a filename string and it runs fine but I wish to utilize the
exec command in tcl instead, I tried in the .tcl file:
exec fem.exe filename
But it doesn't work. I'm not very familar with the tcl syntax, can someone
help me out?
Thanks a bunch,
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/4078fc93/attachment.htm
I am currently calling an executable by doing the following in the .tcl file:
.central.s process escape util calculate
and inside the .bat file i have:
%3\fem.exe %3\%1
The input is a filename string and it runs fine but I wish to utilize the
exec command in tcl instead, I tried in the .tcl file:
exec fem.exe filename
But it doesn't work. I'm not very familar with the tcl syntax, can someone
help me out?
Thanks a bunch,
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/4078fc93/attachment.htm
[GiDlist] Re: exec command
The TCL language has the exec command used to invoke a subprocess. This command treats its arguments as the specification of one or more subprocesses to execute. It's possible to invoke a subprocess from GiD using this option.
To run a process in background (continue the next instruction before terminate the process) must add "&" after the command.
Example: invoking a process in the background
exec netscape http://gid.cimne.com &
Note: In Windows and from GiD, instead of & it's necessary to put & NUL: & to run the process in the background.
Example: exec PROGRAM_NAME & NUL: &
Enrique Escolano
----- Original Message -----
From: Thomas Chan
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, March 14, 2003 5:49 PM
Subject: [GiDlist] Re: exec command
Hi GiD,
I am currently calling an executable by doing the following in the .tcl file:
.central.s process escape util calculate
and inside the .bat file i have:
%3\fem.exe %3\%1
fem.exe filenameThe input is a filename string and it runs fine but I wish to utilize the exec command in tcl instead, I tried in the .tcl file:
exec
But it doesn't work. I'm not very familar with the tcl syntax, can someone help me out?
Thanks a bunch,
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/c04edbc0/attachment.htm
To run a process in background (continue the next instruction before terminate the process) must add "&" after the command.
Example: invoking a process in the background
exec netscape http://gid.cimne.com &
Note: In Windows and from GiD, instead of & it's necessary to put & NUL: & to run the process in the background.
Example: exec PROGRAM_NAME & NUL: &
Enrique Escolano
----- Original Message -----
From: Thomas Chan
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, March 14, 2003 5:49 PM
Subject: [GiDlist] Re: exec command
Hi GiD,
I am currently calling an executable by doing the following in the .tcl file:
.central.s process escape util calculate
and inside the .bat file i have:
%3\fem.exe %3\%1
fem.exe filenameThe input is a filename string and it runs fine but I wish to utilize the exec command in tcl instead, I tried in the .tcl file:
exec
But it doesn't work. I'm not very familar with the tcl syntax, can someone help me out?
Thanks a bunch,
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/c04edbc0/attachment.htm
[GiDlist] About trimmed NURBS
Dear All,
Now I'm developing a ray tracer with GID using NURBS surfaces.
I get the object description from the ASCII project.geo file. It works
very well on untrimmed NURBS surfaces, but I would like to extend it to
trimmed surfaces.
For the moment, I'm able to extract the 3D trimming curves and their
orientations. Is it possible to use these informations to implement an
efficient inside test ?
Generally speaking, could you tell me how GID can detect the inside from
the outside of the trimmed NURBS ?
Thank you in advance,
G.W.R. Geis
Now I'm developing a ray tracer with GID using NURBS surfaces.
I get the object description from the ASCII project.geo file. It works
very well on untrimmed NURBS surfaces, but I would like to extend it to
trimmed surfaces.
For the moment, I'm able to extract the 3D trimming curves and their
orientations. Is it possible to use these informations to implement an
efficient inside test ?
Generally speaking, could you tell me how GID can detect the inside from
the outside of the trimmed NURBS ?
Thank you in advance,
G.W.R. Geis
[GiDlist] About ".central.s info gendata"
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
[GiDlist] About ".central.s info gendata"
Hi Geis,
OTHERFIELD refers to attributes of questions like HELP, STATE or
DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be done
with an undocumented procedure (in the future will be documented) named
_GidAccessValue. Here I attached a description of the procedure.
best regards,
Jorge Suit
ieea wrote:
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: _GidAccessValue.txt
Url: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030318/0bda3b1e/attachment.txt
OTHERFIELD refers to attributes of questions like HELP, STATE or
DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be done
with an undocumented procedure (in the future will be documented) named
_GidAccessValue. Here I attached a description of the procedure.
best regards,
Jorge Suit
ieea wrote:
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: _GidAccessValue.txt
Url: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030318/0bda3b1e/attachment.txt
[GiDlist] About ".central.s info gendata"
If you use the last GiD 7.2 version, it exists a new, and easy tcl procedure to get a problemdata field value
(is specially designed to be used by a GiD problemtype developer)
This procedure access to values by fieldname insted by index (is more easy to maintain code accesing by fieldname )
proc GidUtils::GetProblemDataValue { fieldname }
For example, if the problem data field is named "AnalysisType", you can use in tcl this order:
set type [::GidUtils::GetProblemDataValue AnalysisType]
Regards
Enrique Escolano
----- Original Message -----
From: "ieea" ieea at club-internet.fr
To: "GID list" GIDlist at gatxan.cimne.upc.es
Sent: Tuesday, March 18, 2003 4:19 PM
Subject: [GiDlist] About ".central.s info gendata"
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
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/20030318/44bb9151/attachment.htm
(is specially designed to be used by a GiD problemtype developer)
This procedure access to values by fieldname insted by index (is more easy to maintain code accesing by fieldname )
proc GidUtils::GetProblemDataValue { fieldname }
For example, if the problem data field is named "AnalysisType", you can use in tcl this order:
set type [::GidUtils::GetProblemDataValue AnalysisType]
Regards
Enrique Escolano
----- Original Message -----
From: "ieea" ieea at club-internet.fr
To: "GID list" GIDlist at gatxan.cimne.upc.es
Sent: Tuesday, March 18, 2003 4:19 PM
Subject: [GiDlist] About ".central.s info gendata"
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
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/20030318/44bb9151/attachment.htm
[GiDlist] About ".central.s info gendata"
Because _GidAccessValue is now an internal function an may change we
recomend you, to be sure, use the interface provided in .central.s info
command.
This could be one solution using .central.s info. With this solution you
should first call FillGenData, to make a cache of the fields in Problem
Data, before the calls to GetGenDataField to access the fields.
best regards,
Jorge Suit
# --------------------------------------------------------------------------
# FillGenData --
# --------------------------------------------------------------------------
proc FillGenData { } {
global YourGenData
array set YourGenData [lrange [.central.s info gendata] 1 end]
}
# --------------------------------------------------------------------------
# GetGenDataField --
# --------------------------------------------------------------------------
proc GetGenDataField { field } {
global YourGenData
set _field [array names YourGenData ${field}*]
if {[llength $_field]} {
return $YourGenData([lindex $_field 0])
} else {
return ""
}
}
Jorge Suit Perez Ronda wrote:
Hi Geis,
OTHERFIELD refers to attributes of questions like HELP, STATE or
DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be done
with an undocumented procedure (in the future will be documented)
named _GidAccessValue. Here I attached a description of the procedure.
best regards,
Jorge Suit
ieea wrote:
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
------------------------------------------------------------------------
_GidAccessValue --
Access a property in a any of the data set: Conditions, Materials,
Intervals and Problem Data. Take care about accessing directly into
the corresponding data window if this is open.
Arguments:
gdnCaller - any value.
op - set or get depending if you want to write or read into the
property.
args - indicate what property to access an possibly the new
value or state. It can take the form:
class ?member? prop ?value ?state??
class can be one of the values: conditions materials intvdata gendata
depending on the class a member should be provided. For
conditions and materials it is required, for intvdata it
is optional and for gendata it should be void.
prop refers to the QUESTION name to access
if the operation is 'set' then value refers to the new value of the property
state only matters when the property is currently visible on
a data window and it refers to a possible state: normal,
hidden, disabled.
The procedure allways returns the current value of the property.
Examples:
_GidAccessValue "" set materials Steel density 0.2
_GidAccessValue "" set intvdata 2 fixed yes
_GidAccessValue "" get gendata Solver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030318/cc2437c3/attachment.htm
recomend you, to be sure, use the interface provided in .central.s info
command.
This could be one solution using .central.s info. With this solution you
should first call FillGenData, to make a cache of the fields in Problem
Data, before the calls to GetGenDataField to access the fields.
best regards,
Jorge Suit
# --------------------------------------------------------------------------
# FillGenData --
# --------------------------------------------------------------------------
proc FillGenData { } {
global YourGenData
array set YourGenData [lrange [.central.s info gendata] 1 end]
}
# --------------------------------------------------------------------------
# GetGenDataField --
# --------------------------------------------------------------------------
proc GetGenDataField { field } {
global YourGenData
set _field [array names YourGenData ${field}*]
if {[llength $_field]} {
return $YourGenData([lindex $_field 0])
} else {
return ""
}
}
Jorge Suit Perez Ronda wrote:
Hi Geis,
OTHERFIELD refers to attributes of questions like HELP, STATE or
DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be done
with an undocumented procedure (in the future will be documented)
named _GidAccessValue. Here I attached a description of the procedure.
best regards,
Jorge Suit
ieea wrote:
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I read
in the GID Help that
this one returns the information entered in the Problem Data window.
Nevertheless, I do not understand what means the [OTHERFIELDS] option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
------------------------------------------------------------------------
_GidAccessValue --
Access a property in a any of the data set: Conditions, Materials,
Intervals and Problem Data. Take care about accessing directly into
the corresponding data window if this is open.
Arguments:
gdnCaller - any value.
op - set or get depending if you want to write or read into the
property.
args - indicate what property to access an possibly the new
value or state. It can take the form:
class ?member? prop ?value ?state??
class can be one of the values: conditions materials intvdata gendata
depending on the class a member should be provided. For
conditions and materials it is required, for intvdata it
is optional and for gendata it should be void.
prop refers to the QUESTION name to access
if the operation is 'set' then value refers to the new value of the property
state only matters when the property is currently visible on
a data window and it refers to a possible state: normal,
hidden, disabled.
The procedure allways returns the current value of the property.
Examples:
_GidAccessValue "" set materials Steel density 0.2
_GidAccessValue "" set intvdata 2 fixed yes
_GidAccessValue "" get gendata Solver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030318/cc2437c3/attachment.htm
[GiDlist] About ".central.s info gendata"
Thank you to Jorge and Enrique for their advices and to Mihai for his
observe.
I decided to use the Tcl Scripts of Jorge untitled FillGenData and
GetGenDataField because I am sure
that the ".central.s info gendata" command will be maintain in the next
versions of GID.
Thank you again,
read you soon, in response of my next question(s) !..
G.W.R. Geis
Jorge Suit Perez Ronda a écrit :
Because _GidAccessValue is now an internal function an may change we
recomend you, to be sure, use the interface provided in .central.s
info command.
This could be one solution using .central.s info. With this solution
you should first call FillGenData, to make a cache of the fields in
Problem Data, before the calls to GetGenDataField to access the
fields.
best regards,
Jorge Suit
#
--------------------------------------------------------------------------
# FillGenData --
#
--------------------------------------------------------------------------
proc FillGenData { } {
global YourGenData
array set YourGenData [lrange [.central.s info gendata] 1 end]
}
#
--------------------------------------------------------------------------
# GetGenDataField --
#
--------------------------------------------------------------------------
proc GetGenDataField { field } {
global YourGenData
set _field [array names YourGenData ${field}*]
if {[llength $_field]} {
return $YourGenData([lindex $_field 0])
} else {
return ""
}
}
Jorge Suit Perez Ronda wrote:
Hi Geis,
OTHERFIELD refers to attributes of questions like HELP, STATE or
DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be
done with an undocumented procedure (in the future will be
documented) named _GidAccessValue. Here I attached a description of
the procedure.
best regards,
Jorge Suit
ieea wrote:
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I
read
in the GID Help that
this one returns the information entered in the Problem Data
window.
Nevertheless, I do not understand what means the [OTHERFIELDS]
option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
--------------------------------------------------------------
_GidAccessValue --
Access a property in a any of the data set: Conditions,
Materials,
Intervals and Problem Data. Take care about accessing directly
into
the corresponding data window if this is open.
Arguments:
gdnCaller - any value.
op - set or get depending if you want to write or read into
the
property.
args - indicate what property to access an possibly the new
value or state. It can take the form:
class ?member? prop ?value ?state??
class can be one of the values: conditions materials
intvdata gendata
depending on the class a member should be provided.
For
conditions and materials it is required, for intvdata
it
is optional and for gendata it should be void.
prop refers to the QUESTION name to access
if the operation is 'set' then value refers to the new
value of the property
state only matters when the property is currently
visible on
a data window and it refers to a possible state:
normal,
hidden, disabled.
The procedure allways returns the current value of the property.
Examples:
_GidAccessValue "" set materials Steel density 0.2
_GidAccessValue "" set intvdata 2 fixed yes
_GidAccessValue "" get gendata Solver
observe.
I decided to use the Tcl Scripts of Jorge untitled FillGenData and
GetGenDataField because I am sure
that the ".central.s info gendata" command will be maintain in the next
versions of GID.
Thank you again,
read you soon, in response of my next question(s) !..
G.W.R. Geis
Jorge Suit Perez Ronda a écrit :
Because _GidAccessValue is now an internal function an may change we
recomend you, to be sure, use the interface provided in .central.s
info command.
This could be one solution using .central.s info. With this solution
you should first call FillGenData, to make a cache of the fields in
Problem Data, before the calls to GetGenDataField to access the
fields.
best regards,
Jorge Suit
#
--------------------------------------------------------------------------
# FillGenData --
#
--------------------------------------------------------------------------
proc FillGenData { } {
global YourGenData
array set YourGenData [lrange [.central.s info gendata] 1 end]
}
#
--------------------------------------------------------------------------
# GetGenDataField --
#
--------------------------------------------------------------------------
proc GetGenDataField { field } {
global YourGenData
set _field [array names YourGenData ${field}*]
if {[llength $_field]} {
return $YourGenData([lindex $_field 0])
} else {
return ""
}
}
Jorge Suit Perez Ronda wrote:
Hi Geis,
OTHERFIELD refers to attributes of questions like HELP, STATE or
DEPENDENCIES, or TITLES, or BOOKS. What you describe here can be
done with an undocumented procedure (in the future will be
documented) named _GidAccessValue. Here I attached a description of
the procedure.
best regards,
Jorge Suit
ieea wrote:
Dear All,
I wish to use the Tcl command ".central.s info gendata" because I
read
in the GID Help that
this one returns the information entered in the Problem Data
window.
Nevertheless, I do not understand what means the [OTHERFIELDS]
option
and how to use it !
I wish to use a Tcl command that returns the data recorded in the
Problem Data window in the same
way as the command *gendata(name of data) of the *.bas file.
Can somebody advice me.
Thank a lot,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
--------------------------------------------------------------
_GidAccessValue --
Access a property in a any of the data set: Conditions,
Materials,
Intervals and Problem Data. Take care about accessing directly
into
the corresponding data window if this is open.
Arguments:
gdnCaller - any value.
op - set or get depending if you want to write or read into
the
property.
args - indicate what property to access an possibly the new
value or state. It can take the form:
class ?member? prop ?value ?state??
class can be one of the values: conditions materials
intvdata gendata
depending on the class a member should be provided.
For
conditions and materials it is required, for intvdata
it
is optional and for gendata it should be void.
prop refers to the QUESTION name to access
if the operation is 'set' then value refers to the new
value of the property
state only matters when the property is currently
visible on
a data window and it refers to a possible state:
normal,
hidden, disabled.
The procedure allways returns the current value of the property.
Examples:
_GidAccessValue "" set materials Steel density 0.2
_GidAccessValue "" set intvdata 2 fixed yes
_GidAccessValue "" get gendata Solver
[GiDlist] About trimmed NURBS
Hello,
the surface contains an indicator for every line contained inside
it (SAME1ST or DIFF1ST). It tell if the line is to be taken in its
natural orientation or in the inverse. Then, a line has the existent
part of the surface in the anticlockwise side, taking as orientation
rule the right hand rule related to the normal of the surface.
If you want to implement the math's of it, you will have some work.
You can find some pointers to some scientifical papers in my web
page where to find more:
http://gatxan.cimne.upc.es/ramsan
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
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 ieea
Enviado el: martes, 18 de marzo de 2003 14:24
Para: GID
Asunto: [GiDlist] About trimmed NURBS
Dear All,
Now I'm developing a ray tracer with GID using NURBS surfaces.
I get the object description from the ASCII project.geo file. It works
very well on untrimmed NURBS surfaces, but I would like to extend it to
trimmed surfaces.
For the moment, I'm able to extract the 3D trimming curves and their
orientations. Is it possible to use these informations to implement an
efficient inside test ?
Generally speaking, could you tell me how GID can detect the inside from
the outside of the trimmed NURBS ?
Thank you in advance,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
the surface contains an indicator for every line contained inside
it (SAME1ST or DIFF1ST). It tell if the line is to be taken in its
natural orientation or in the inverse. Then, a line has the existent
part of the surface in the anticlockwise side, taking as orientation
rule the right hand rule related to the normal of the surface.
If you want to implement the math's of it, you will have some work.
You can find some pointers to some scientifical papers in my web
page where to find more:
http://gatxan.cimne.upc.es/ramsan
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
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 ieea
Enviado el: martes, 18 de marzo de 2003 14:24
Para: GID
Asunto: [GiDlist] About trimmed NURBS
Dear All,
Now I'm developing a ray tracer with GID using NURBS surfaces.
I get the object description from the ASCII project.geo file. It works
very well on untrimmed NURBS surfaces, but I would like to extend it to
trimmed surfaces.
For the moment, I'm able to extract the 3D trimming curves and their
orientations. Is it possible to use these informations to implement an
efficient inside test ?
Generally speaking, could you tell me how GID can detect the inside from
the outside of the trimmed NURBS ?
Thank you in advance,
G.W.R. Geis
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist
[GiDlist] About trimmed NURBS
Dear Ramon Ramsan,
Thank you for your response. I am sorry being late to answer you...
We noticed that the server corresponding to your web site is now out, so it
is difficult for us to read your papers.
Nevertheless, we have yet a good experience using NURBS surfaces and
especially how to read GID ASCII files of geometry. In fact, we are looking
for a software (C or Fortran sources) which could help us to well study our
GID's geometries without creating mistakes, in particular with the trimmed
surfaces which are small different than the others.
If you could advice us a good web site, it would be great !
Thank you again for you answer and congratulations for GID.
G.W.R. Geis
Hello,
the surface contains an indicator for every line contained inside
it (SAME1ST or DIFF1ST). It tell if the line is to be taken in its
natural orientation or in the inverse. Then, a line has the existent
part of the surface in the anticlockwise side, taking as orientation
rule the right hand rule related to the normal of the surface.
If you want to implement the math's of it, you will have some work.
You can find some pointers to some scientifical papers in my web
page where to find more:
http://gatxan.cimne.upc.es/ramsan
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
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 ieea
Enviado el: martes, 18 de marzo de 2003 14:24
Para: GID
Asunto: [GiDlist] About trimmed NURBS
Dear All,
Now I'm developing a ray tracer with GID using NURBS surfaces.
I get the object description from the ASCII project.geo file. It works
very well on untrimmed NURBS surfaces, but I would like to extend it to
trimmed surfaces.
For the moment, I'm able to extract the 3D trimming curves and their
orientations. Is it possible to use these informations to implement an
efficient inside test ?
Generally speaking, could you tell me how GID can detect the inside from
the outside of the trimmed NURBS ?
Thank you in advance,
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
Thank you for your response. I am sorry being late to answer you...
We noticed that the server corresponding to your web site is now out, so it
is difficult for us to read your papers.
Nevertheless, we have yet a good experience using NURBS surfaces and
especially how to read GID ASCII files of geometry. In fact, we are looking
for a software (C or Fortran sources) which could help us to well study our
GID's geometries without creating mistakes, in particular with the trimmed
surfaces which are small different than the others.
If you could advice us a good web site, it would be great !
Thank you again for you answer and congratulations for GID.
G.W.R. Geis
Hello,
the surface contains an indicator for every line contained inside
it (SAME1ST or DIFF1ST). It tell if the line is to be taken in its
natural orientation or in the inverse. Then, a line has the existent
part of the surface in the anticlockwise side, taking as orientation
rule the right hand rule related to the normal of the surface.
If you want to implement the math's of it, you will have some work.
You can find some pointers to some scientifical papers in my web
page where to find more:
http://gatxan.cimne.upc.es/ramsan
Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
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 ieea
Enviado el: martes, 18 de marzo de 2003 14:24
Para: GID
Asunto: [GiDlist] About trimmed NURBS
Dear All,
Now I'm developing a ray tracer with GID using NURBS surfaces.
I get the object description from the ASCII project.geo file. It works
very well on untrimmed NURBS surfaces, but I would like to extend it to
trimmed surfaces.
For the moment, I'm able to extract the 3D trimming curves and their
orientations. Is it possible to use these informations to implement an
efficient inside test ?
Generally speaking, could you tell me how GID can detect the inside from
the outside of the trimmed NURBS ?
Thank you in advance,
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