Custom circular stencil

I am wondering if it is possible to create a custom paste mask that is shown here in this standoff drawing? I have been playing around with the custom primitives in the pad dialog but I haven’t found a way to create something like that. A way to join straight lines and arcs and then fill them as a paste mask layer would be ideal.
I’ve attached my attempt with a circular paste primitive and margin lines to approximate the straight edges but I don’t know how KiCad or a board house would handle that.

attemptwithmargin stencilsuggestion

Since stencil means ‘paste’, you want to work with polygons, arcs and lines on a paste layer.
Polygons give you the ‘rough’ filled areas while the arcs and lines will refine the needed outlines.

Take a look at this topic, the build something similar and there are some related steps

Could look like this


made from that (shown in outline mode)


Those two circles are just guides to be removed when finished.
The ‘missing’ segments are just copy and paste from the top left one.

This looks like the parts for which i made footprints for the official lib: https://github.com/KiCad/kicad-footprints/pull/1612
Script that generates these is found here https://github.com/pointhi/kicad-footprint-generator/tree/master/scripts/Mounting_Hardware

I chose to have a radius on the stencil instead of sharp corners. This is to both make it easier to create the pad as well as better behavior in production (better paste release according to IPC -> or at least they give this as one of the reasons why the next standard will use rounded rectangle pads)

Rounded rectangle/square pads are my default. Very important!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.