[GiDlist] Surface definition Points
Posted: Thu Sep 16, 2004 10:41 am
Hi all,
Recently I needed information about the points (end-lines) defining the boundary of surfaces. I
tried to access them in Tcl through the command:
.central.s info list_entities Surfaces $surfnum
getting something like:
“NURBSURFACE
Num: 1 HigherEntity: 1 conditions: 2 material: 5
LAYER: Layer0
Meshing Info: (num=2,NOE=1) Elemtype=3 IsStructured=1 size=0 Meshing=Yes
NumLines: 4
Line: 4 Orientation: DIFF1ST
Line: 3 Orientation: DIFF1ST
Line: 2 Orientation: DIFF1ST
Line: 1 Orientation: DIFF1ST
Number of Control Points= 2 2 Degree= 1 1
Point 1,1 coords:-0.050000,-0.050000,0.000000
Point 1,2 coords:-0.050000,1.050000,0.000000
Point 2,1 coords:1.050000,-0.050000,0.000000
Point 2,2 coords:1.050000,1.050000,0.000000
Number of knots in U= 4
knot 1 value=0.000000
knot 2 value=0.000000
knot 3 value=1.000000
knot 4 value=1.000000
Number of knots in V= 4
knot 1 value=0.000000
knot 2 value=0.000000
knot 3 value=1.000000
knot 4 value=1.000000
Non rational
IsTrimmed: 1
Center: 0.500000 0.500000 0.000000
Normal: 0.000000 0.000000 -1.000000
END NURBSURFACE“
I noticed that the so called points are not always the end-points of the lines surrounding a
surface. Instead some points (normally the majority) are just outside the surface corners.
In the example above the real surface is a square:
Point 1,1 coords:0.0,0.0,0.0
Point 1,2 coords:0.0,1.0,0.0
Point 2,1 coords:1.0,0.0,0.0
Point 2,2 coords:1.0,1.0,0.0
I know nothing about surface modelling, but would like to ask if it is fine.
In any case, what would be the way of knowing the exact location of the points defining the
corners (end-lines) of a surface?
Thanks for any suggestion
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
Recently I needed information about the points (end-lines) defining the boundary of surfaces. I
tried to access them in Tcl through the command:
.central.s info list_entities Surfaces $surfnum
getting something like:
“NURBSURFACE
Num: 1 HigherEntity: 1 conditions: 2 material: 5
LAYER: Layer0
Meshing Info: (num=2,NOE=1) Elemtype=3 IsStructured=1 size=0 Meshing=Yes
NumLines: 4
Line: 4 Orientation: DIFF1ST
Line: 3 Orientation: DIFF1ST
Line: 2 Orientation: DIFF1ST
Line: 1 Orientation: DIFF1ST
Number of Control Points= 2 2 Degree= 1 1
Point 1,1 coords:-0.050000,-0.050000,0.000000
Point 1,2 coords:-0.050000,1.050000,0.000000
Point 2,1 coords:1.050000,-0.050000,0.000000
Point 2,2 coords:1.050000,1.050000,0.000000
Number of knots in U= 4
knot 1 value=0.000000
knot 2 value=0.000000
knot 3 value=1.000000
knot 4 value=1.000000
Number of knots in V= 4
knot 1 value=0.000000
knot 2 value=0.000000
knot 3 value=1.000000
knot 4 value=1.000000
Non rational
IsTrimmed: 1
Center: 0.500000 0.500000 0.000000
Normal: 0.000000 0.000000 -1.000000
END NURBSURFACE“
I noticed that the so called points are not always the end-points of the lines surrounding a
surface. Instead some points (normally the majority) are just outside the surface corners.
In the example above the real surface is a square:
Point 1,1 coords:0.0,0.0,0.0
Point 1,2 coords:0.0,1.0,0.0
Point 2,1 coords:1.0,0.0,0.0
Point 2,2 coords:1.0,1.0,0.0
I know nothing about surface modelling, but would like to ask if it is fine.
In any case, what would be the way of knowing the exact location of the points defining the
corners (end-lines) of a surface?
Thanks for any suggestion
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