Index: pnp-origin/index.html =================================================================== --- pnp-origin/index.html (revision 9577) +++ pnp-origin/index.html (revision 9578) @@ -115,5 +115,39 @@ There is a video tutorial available on using temporary lines to aid placing the mark for a round lower-left corner. +

D. different P&P origin for different fabs

+

+If the same board is populated by two different fabs who want different +origins, as long as they are also using different file formats, it is possible +to use two marks. The mechanism for finding the relevant mark is this: +

+

+This means the origin can be a different mark per format and/or a fallback +mark can be also added. + +

E. mark shapes

+

+In the above examples we used a zero-length line for the mark, which looked +like a filled circle. The code will find the first line with the right attribute +and use the center point of that line. For a zero-length line the center point +is the same as the two endpoints or the center of the filled circle it produces +on the screen. +

+It is possible to use non-zero-length lines for the mark. For example two lines +arranged in a + or x shape, either or both lines having the pnp-origin +attribute. If the mark is symmetrical, the crossing point happens to be the +middle of the line, which is what the code is after. +

+Of course it's also possible to use a single, non-zer-length line as mark, +but then it's harder to see the middle point as an user. It may still work +in some simple cases, e.g. a 45 degree short line segment symmetrically placed +on the corner of a 90 degree outline corner. + + +