kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00913
Re: D_PAD::m_Offset
Dick H. a écrit :
comment says:
// Offset de la forme (pastilles excentrees)
What does this distance, m_Offset mean? It measures between what and
what?
This parameter is usefull only for oblong pads (it can be used for other
shapes, but without any interest).
this is the offset between the pad hole and the pad shape (you must
understand here pad shape = copper area around the hole)
Most of cases, the hole is the centre of the shape (m_Offset = 0).
But some board designers use oblong pads with a hole moved to one of the
oblong pad shape ends.
In all cases the pad position is the pad hole.
The physical shape position (used to draw it for instance) is pad
position (m_Pos) + m_Offset.
D_PAD::ReturnShapePos() returns the physical shape position according to
the offset and the pad rotation.
--
Jean-Pierre CHARRAS
Maître de conférences
Directeur d'études 2ieme année.
Génie Electrique et Informatique Industrielle 2
Institut Universitaire de Technologie 1 de Grenoble
BP 67, 38402 St Martin d'Heres Cedex
Recherche :
GIPSA-LIS - INPG
46, Avenue Félix Viallet
38031 Grenoble cedex
References