Re: Guide pins on smd solder mask.. #pcbgcode


peterg1000
 
Edited

I tested the change described in my previous post and to my surprise the stencil cutouts were MUCH larger - I clearly haven't understood the software very well !!

Fortunately the following change DOES work and stencil sizes are exactly as defined by the Eagle footprint.

                        // Tool size compensation - modified 06/08/20 to correct compensation calculations
                        dx -= tool_dia ; dy -= tool_dia ;   //    Division by 2 removed

                        // Carve out the pad
                        if (dx > 0 && dy > 0) {
                            int hx = dx / 2 , hy = dy / 2 ;

Peter

Join pcbgcode@groups.io to automatically receive all group messages.