Hello,
Is there a way to create a bunch of lines Automatically where each line
will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040206/8c12d01a/attachment.htm
[GiDlist] create box
Moderator: GiD Team
[GiDlist] create box
I don't understand exactly your question, but you can set the preference "Create new point" to "always" to create superposed points if you are create the lines by hand.
If you use the copy window, you can check the flag "Duplicate entities" to not collapse entities sharing the same location.
Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, February 06, 2004 11:26 PM
Subject: [GiDlist] create box
Hello,
Is there a way to create a bunch of lines Automatically where each line will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/c1d8bed3/attachment.htm
If you use the copy window, you can check the flag "Duplicate entities" to not collapse entities sharing the same location.
Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, February 06, 2004 11:26 PM
Subject: [GiDlist] create box
Hello,
Is there a way to create a bunch of lines Automatically where each line will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/c1d8bed3/attachment.htm
[GiDlist] create box
What I want is to let the user visualize a box, the box could be
surrounding the structure or could overlap with it, after the user
visualize that domain I want to delete this box since I don't want it to be
part of the mesh .
I use the following code :
#############################
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp1 $x0 $y0 $z0 $x1 $y0 $z0 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp2 $x1 $y0 $z0 old $x1 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp3 $x1 $y1 $z0 old $x0 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp4 $x0 $y1 $z0 old $x0 $y0 $z0 old escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp5 $x0 $y0 $z1 $x1 $y0 $z1 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp6 $x1 $y0 $z1 old $x1 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp7 $x1 $y1 $z1 old $x0 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp8 $x0 $y1 $z1 old $x0 $y0 $z1 old escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp9 $x0 $y0 $z0 old $x0 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp10 $x1 $y0 $z0 old $x1 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp11 $x1 $y1 $z0 old $x1 $y1 $z1 old escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp12 $x0 $y1 $z0 old $x0 $y1 $z1 old escape
########################################################
For the first command line the box will not be drawn if the point is
already exist without adding the word "new" but if i add the word "new" and
there was not point same thing will happen.
Thank you.
At 07:18 AM 2/9/2004, you wrote:
I don't understand exactly your question, but you can set the preference
"Create new point" to "always" to create superposed points if you are
create the lines by hand.
If you use the copy window, you can check the flag "Duplicate entities" to
not collapse entities sharing the same location.
Enrique Escolano
----- Original Message -----
From: mailto:kobeidat at emagtechnologies.comKhaled Obeidat
To: mailto:gidlist at gatxan.cimne.upc.esgidlist at gatxan.cimne.upc.es
Sent: Friday, February 06, 2004 11:26 PM
Subject: [GiDlist] create box
Hello,
Is there a way to create a bunch of lines Automatically where each line
will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/ae2282f4/attachment.htm
surrounding the structure or could overlap with it, after the user
visualize that domain I want to delete this box since I don't want it to be
part of the mesh .
I use the following code :
#############################
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp1 $x0 $y0 $z0 $x1 $y0 $z0 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp2 $x1 $y0 $z0 old $x1 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp3 $x1 $y1 $z0 old $x0 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp4 $x0 $y1 $z0 old $x0 $y0 $z0 old escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp5 $x0 $y0 $z1 $x1 $y0 $z1 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp6 $x1 $y0 $z1 old $x1 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp7 $x1 $y1 $z1 old $x0 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp8 $x0 $y1 $z1 old $x0 $y0 $z1 old escape escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp9 $x0 $y0 $z0 old $x0 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp10 $x1 $y0 $z0 old $x1 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp11 $x1 $y1 $z0 old $x1 $y1 $z1 old escape
.central.s process escape escape escape escape geometry create
NurbsLine Number $FLp12 $x0 $y1 $z0 old $x0 $y1 $z1 old escape
########################################################
For the first command line the box will not be drawn if the point is
already exist without adding the word "new" but if i add the word "new" and
there was not point same thing will happen.
Thank you.
At 07:18 AM 2/9/2004, you wrote:
I don't understand exactly your question, but you can set the preference
"Create new point" to "always" to create superposed points if you are
create the lines by hand.
If you use the copy window, you can check the flag "Duplicate entities" to
not collapse entities sharing the same location.
Enrique Escolano
----- Original Message -----
From: mailto:kobeidat at emagtechnologies.comKhaled Obeidat
To: mailto:gidlist at gatxan.cimne.upc.esgidlist at gatxan.cimne.upc.es
Sent: Friday, February 06, 2004 11:26 PM
Subject: [GiDlist] create box
Hello,
Is there a way to create a bunch of lines Automatically where each line
will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/ae2282f4/attachment.htm
[GiDlist] create box
It's not necessary to create and delete geometric curve entities. It exists a new feature to directly draw inside GiD
with OpenGL commands, using the tcl drawopengl procedure. It's a undocumented feature.
I attach a small problemtype, as sample to draw an auxiliary box around the model.
This is the file DrawBox.tcl content:
proc InitGIDProject { dir } {
global DrawBox
set DrawBox(drawopengl) [drawopengl register testdrawbox]
}
proc EndGIDProject {} {
global DrawBox
drawopengl unregister $DrawBox(drawopengl)
catch { unset DrawBox }
}
proc testdrawbox { { color "0 0 0" } } {
foreach {xmax ymax zmax xmin ymin zmin} [lindex [.central.s info layers -bbox] 0] break
drawopengl draw -color $color -begin lineloop
drawopengl draw -vertex "$xmin $ymin $zmin"
drawopengl draw -vertex "$xmax $ymin $zmin"
drawopengl draw -vertex "$xmax $ymax $zmin"
drawopengl draw -vertex "$xmin $ymax $zmin"
drawopengl draw -end
drawopengl draw -color $color -begin lineloop
drawopengl draw -vertex "$xmin $ymin $zmax"
drawopengl draw -vertex "$xmax $ymin $zmax"
drawopengl draw -vertex "$xmax $ymax $zmax"
drawopengl draw -vertex "$xmin $ymax $zmax"
drawopengl draw -end
drawopengl draw -color $color -begin lines
drawopengl draw -vertex "$xmin $ymin $zmin"
drawopengl draw -vertex "$xmin $ymin $zmax"
drawopengl draw -vertex "$xmax $ymin $zmin"
drawopengl draw -vertex "$xmax $ymin $zmax"
drawopengl draw -vertex "$xmax $ymax $zmin"
drawopengl draw -vertex "$xmax $ymax $zmax"
drawopengl draw -vertex "$xmin $ymax $zmin"
drawopengl draw -vertex "$xmin $ymax $zmax"
drawopengl draw -end
}
Regards
Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, February 09, 2004 3:32 PM
Subject: Re: [GiDlist] create box
What I want is to let the user visualize a box, the box could be surrounding the structure or could overlap with it, after the user visualize that domain I want to delete this box since I don't want it to be part of the mesh .
I use the following code :
#############################
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp1 $x0 $y0 $z0 $x1 $y0 $z0 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp2 $x1 $y0 $z0 old $x1 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp3 $x1 $y1 $z0 old $x0 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp4 $x0 $y1 $z0 old $x0 $y0 $z0 old escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp5 $x0 $y0 $z1 $x1 $y0 $z1 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp6 $x1 $y0 $z1 old $x1 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp7 $x1 $y1 $z1 old $x0 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp8 $x0 $y1 $z1 old $x0 $y0 $z1 old escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp9 $x0 $y0 $z0 old $x0 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp10 $x1 $y0 $z0 old $x1 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp11 $x1 $y1 $z0 old $x1 $y1 $z1 old escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp12 $x0 $y1 $z0 old $x0 $y1 $z1 old escape
########################################################
For the first command line the box will not be drawn if the point is already exist without adding the word "new" but if i add the word "new" and there was not point same thing will happen.
Thank you.
At 07:18 AM 2/9/2004, you wrote:
I don't understand exactly your question, but you can set the preference "Create new point" to "always" to create superposed points if you are create the lines by hand.
If you use the copy window, you can check the flag "Duplicate entities" to not collapse entities sharing the same location.
Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, February 06, 2004 11:26 PM
Subject: [GiDlist] create box
Hello,
Is there a way to create a bunch of lines Automatically where each line will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/91efa981/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DrawBox.gid.zip
Type: application/x-zip-compressed
Size: 560 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/91efa981/attachment.bin
with OpenGL commands, using the tcl drawopengl procedure. It's a undocumented feature.
I attach a small problemtype, as sample to draw an auxiliary box around the model.
This is the file DrawBox.tcl content:
proc InitGIDProject { dir } {
global DrawBox
set DrawBox(drawopengl) [drawopengl register testdrawbox]
}
proc EndGIDProject {} {
global DrawBox
drawopengl unregister $DrawBox(drawopengl)
catch { unset DrawBox }
}
proc testdrawbox { { color "0 0 0" } } {
foreach {xmax ymax zmax xmin ymin zmin} [lindex [.central.s info layers -bbox] 0] break
drawopengl draw -color $color -begin lineloop
drawopengl draw -vertex "$xmin $ymin $zmin"
drawopengl draw -vertex "$xmax $ymin $zmin"
drawopengl draw -vertex "$xmax $ymax $zmin"
drawopengl draw -vertex "$xmin $ymax $zmin"
drawopengl draw -end
drawopengl draw -color $color -begin lineloop
drawopengl draw -vertex "$xmin $ymin $zmax"
drawopengl draw -vertex "$xmax $ymin $zmax"
drawopengl draw -vertex "$xmax $ymax $zmax"
drawopengl draw -vertex "$xmin $ymax $zmax"
drawopengl draw -end
drawopengl draw -color $color -begin lines
drawopengl draw -vertex "$xmin $ymin $zmin"
drawopengl draw -vertex "$xmin $ymin $zmax"
drawopengl draw -vertex "$xmax $ymin $zmin"
drawopengl draw -vertex "$xmax $ymin $zmax"
drawopengl draw -vertex "$xmax $ymax $zmin"
drawopengl draw -vertex "$xmax $ymax $zmax"
drawopengl draw -vertex "$xmin $ymax $zmin"
drawopengl draw -vertex "$xmin $ymax $zmax"
drawopengl draw -end
}
Regards
Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Monday, February 09, 2004 3:32 PM
Subject: Re: [GiDlist] create box
What I want is to let the user visualize a box, the box could be surrounding the structure or could overlap with it, after the user visualize that domain I want to delete this box since I don't want it to be part of the mesh .
I use the following code :
#############################
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp1 $x0 $y0 $z0 $x1 $y0 $z0 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp2 $x1 $y0 $z0 old $x1 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp3 $x1 $y1 $z0 old $x0 $y1 $z0 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp4 $x0 $y1 $z0 old $x0 $y0 $z0 old escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp5 $x0 $y0 $z1 $x1 $y0 $z1 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp6 $x1 $y0 $z1 old $x1 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp7 $x1 $y1 $z1 old $x0 $y1 $z1 escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp8 $x0 $y1 $z1 old $x0 $y0 $z1 old escape escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp9 $x0 $y0 $z0 old $x0 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp10 $x1 $y0 $z0 old $x1 $y0 $z1 old escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp11 $x1 $y1 $z0 old $x1 $y1 $z1 old escape
.central.s process escape escape escape escape geometry create NurbsLine Number $FLp12 $x0 $y1 $z0 old $x0 $y1 $z1 old escape
########################################################
For the first command line the box will not be drawn if the point is already exist without adding the word "new" but if i add the word "new" and there was not point same thing will happen.
Thank you.
At 07:18 AM 2/9/2004, you wrote:
I don't understand exactly your question, but you can set the preference "Create new point" to "always" to create superposed points if you are create the lines by hand.
If you use the copy window, you can check the flag "Duplicate entities" to not collapse entities sharing the same location.
Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, February 06, 2004 11:26 PM
Subject: [GiDlist] create box
Hello,
Is there a way to create a bunch of lines Automatically where each line will has its own points even if these points share the same physical position.
Best Regards,
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/91efa981/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DrawBox.gid.zip
Type: application/x-zip-compressed
Size: 560 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20040209/91efa981/attachment.bin