VI User Manual - 第62页

.VIS file 3 - 4 Vision 2007 4.10 User Manual Re v 01 Board paramet ers Board shape syntax The shape is defined in 2 ways:  Board type 3 keywords are used t o define the s hape: Rectangle: BOARD, Ellipse: BOARD_ELLIPSE, …

100%1 / 412
.VIS file
Vision 2007 4.10 User Manual Rev 01 3 - 3
USED_DIM
It is the dimension of the
panel useful zone, whether
single or multiple board,
containing all the compo-
nents to be inspected.
Example
3.1.2.3 Description mode of the panel boards
3 board shapes are used: rectangle, ellipse and polygon:
Rectangle and ellipse shapes are defined by a
width and a height.
Polygon shape is defined by a series of points.
USED_DIM must
always be less
than or equal to
PANEL_DIM.
X Bot-
tom Left
Y Bot-
tom Left
X Top
Right
Y Top
Right
- 78 0 0 45
In Ellipse shape the angle can only be
at 0, 90, 180, 270°.
The origin point (the first point) is the
start of the board drawing and its
rotation axis.
Y dim
X dim
(X0, Y0)
Top Right
Bottom Left
USED_DIM Y
USED_DIM -X
(X0, Y0)
USED_DIM -X
USED_DIM Y
Height
Width
Width
Height
Origin point
.VIS file description
.VIS file
3 - 4 Vision 2007 4.10 User Manual Rev 01
Board parameters
Board shape syntax
The shape is defined in 2 ways:
Board type
3 keywords are used to define the shape:
Rectangle: BOARD,
Ellipse: BOARD_ELLIPSE,
Polygon: BOARD_ POLYGON.
Step and matrix type
A new direction is used to define the shapes: SHAPE
Board arrangement
Board type
It is used to
describe a
panel with one
or several dif-
ferent boards
(shapes, di-
mensions).
The board
name is a num-
ber.
Dimx Board width
Dimy Board height
X, Y Board centrer position (origin point position for polygon board)
Xp, Yp Point position used to describe the polygonal board
Θ
Board angle
Nbpt Number of polygon points
Rectangle SHAPE RECTANGLE
Ellipse SHAPE ELLIPSE
Polygon SHAPE POLYGON Nbpti Xpi1 Ypi1 Xpi2 … XpiN YpiN
Rectangle BOARD nomi Dimxi Dimyi xi yi
Θ
i
Ellipse BOARD_ELLIPSE nomi Dimxi Dimyi xi yi
Θ
i
Polygon BOARD_POLYGON nomi Nbpti Xpi1 Ypi1…XpiN YpiN
.VIS file description
.VIS file
Vision 2007 4.10 User Manual Rev 01 3 - 5
Step type
It is used to de-
scribe a panel of
boards with the
same shape and
different arrange-
ments.
Matrix type
It is used to de-
scribe a panel
of several iden-
tical boards
separated by a
constant step.
Rectangle STEP Dimx Dimy x1 y1
Θ
1x2 y2
Θ
2 … xn yn
Θ
n
Ellipse STEP Dimx Dimy x1 y1
Θ
1x2 y2
Θ
2 … xn yn
Θ
n
Polygon STEP x1 y1
Θ
1 x2 y2
Θ
2 … xn yn
Θ
n
Rectangle MATRIX Dimx Dimy Nbline Nbcol Stepx Stepy Order
Ellipse MATRIX Dimx Dimy Nbline Nbcol Stepx Stepy Order
Polygon STEP x1 y1
Θ
1 x2 y2
Θ
2 … xn yn
Θ
n
Step X, step Y: distance between 2 board centers.
Step X
Step Y
.VIS file description