Steel Stencils for Alignment Jig

Creates the gerber files needed to create steel stencils. These stencils are designed to be used with an acrilic alignment jig and a 3D printable support, that is also generated.
KiKit docs.
Note that we don’t implement –ignore option, you should use a variant for this

Type: stencil_for_jig

Category: PCB/fabrication/assembly

Parameters:

  • comment : [string=’’] A comment for documentation purposes. It helps to identify the output.

  • dir : [string=’./’] Output directory for the generated files. If it starts with + the rest is concatenated to the default dir.

  • name : [string=’’] Used to identify this particular output definition. Avoid using _ as first character. These names are reserved for KiBot.

  • options : [dict] Options for the stencil_for_jig output.

    • Valid keys:

      • jig_height : Alias for jigheight.

      • jig_thickness : Alias for jigthickness.

      • jig_width : Alias for jigwidth.

      • jigheight : [number=100] Jig frame height [mm].

      • jigthickness : [number=3] Jig thickness [mm].

      • jigwidth : [number=100] Jig frame width [mm].

      • output : [string=’%f-%i%I%v.%x’] Filename for the output (%i=’stencil_for_jig_top’|’stencil_for_jig_bottom’, %x=’stl’|’scad’|’gbp’|’gtp’|’gbrjob’|’png’). Affected by global options.

      • create_preview : [boolean=true] Creates a PNG showing the generated 3D model.

      • cutout : [string|list(string)] List of components to add a cutout based on the component courtyard. This is useful when you have already pre-populated board and you want to populate more components.

      • dnf_filter : [string|list(string)=’_none’] Name of the filter to mark components as not fitted. A short-cut to use for simple cases where a variant is an overkill.

      • include_scad : [boolean=true] Include the generated OpenSCAD files.

      • pcb_thickness : Alias for pcbthickness.

      • pcbthickness : [number=0] PCB thickness [mm]. If 0 we will ask KiCad.

      • pre_transform : [string|list(string)=’_none’] Name of the filter to transform fields before applying other filters. A short-cut to use for simple cases where a variant is an overkill.

      • register_border_inner : Alias for registerborderinner.

      • register_border_outer : Alias for registerborderouter.

      • registerborderinner : [number=1] Inner register border [mm].

      • registerborderouter : [number=3] Outer register border [mm].

      • side : [string=’auto’] [top,bottom,auto,both] Which side of the PCB we want. Using auto will detect which side contains solder paste.

      • tolerance : [number=0.05] Enlarges the register by the tolerance value [mm].

      • variant : [string=’’] Board variant to apply.

  • type : ‘stencil_for_jig’

  • category : [string|list(string)=’’] The category for this output. If not specified an internally defined category is used. Categories looks like file system paths, i.e. PCB/fabrication/gerber. The categories are currently used for navigate_results.

  • disable_run_by_default : [string|boolean] Use it to disable the run_by_default status of other output. Useful when this output extends another and you don’t want to generate the original. Use the boolean true value to disable the output you are extending.

  • extends : [string=’’] Copy the options section from the indicated output. Used to inherit options from another output of the same type.

  • groups : [string|list(string)=’’] One or more groups to add this output. In order to catch typos we recommend to add outputs only to existing groups. You can create an empty group if needed.

  • output_id : [string=’’] Text to use for the %I expansion content. To differentiate variations of this output.

  • priority : [number=50] [0,100] Priority for this output. High priority outputs are created first. Internally we use 10 for low priority, 90 for high priority and 50 for most outputs.

  • run_by_default : [boolean=true] When enabled this output will be created when no specific outputs are requested.