Cutout_Pinheader_02x10_254

Cutout for horizontal 2.54mm 25.4x5.08 pinheader

Category: Cutout

Using this part

This TurboCase prefab can be directly pasted into your KiCad PCB editor by using the copy button below. The code of the footprint is also shown here for reference. The footprint file can also be downloaded to be added to your own local footprint libraries.

Download footprint
(
  footprint
  "Cutout_Pinheader_02x10_254"
  (version 20240108)
  (generator turbocaseweb)
  (descr "Cutout for horizontal 2.54mm 25.4x5.08 pinheader")
  (attr board_only exclude_from_pos_files exclude_from_bom allow_missing_courtyard)
  (zone_connect 0)
  (
    property
    "TurboCaseModule"
    "eJw1jEEKgzAQRfc5xSwNDTa6FVe9gPsiEpOhCdgIyQxdlN69o+BbfXiP/94DbwgPpp1pmVKO6AKWpfJaqThPzScFigYiplckDV8FgqhcN0fYPK0Be+l7f7NtN+uzOfC8StJJcN6I7a/22LMBj5mwjFQY9aB+6g/Svi1i"
    (at 0 0 0)
    (unlocked yes)
    (layer "F.SilkS")
    (hide yes)
    (uuid "78f1c94c-f3f9-4e6b-bd04-27299c50971a")
    (
      effects
      (
        font
        (size 1 1)
        (thickness 0.1)
      )
    )
  )
  (
    property
    "TurboCaseSub"
    "Cutout_Pinheader_substract(width=25.4, height=5.08)"
    (at 0 0 0)
    (unlocked yes)
    (layer "F.SilkS")
    (hide yes)
    (uuid "712d5c0f-4d85-44a3-969c-39af057a5de7")
    (
      effects
      (
        font
        (size 1 1)
        (thickness 0.1)
      )
    )
  )
  (
    property
    "TurboCaseOffsetPCB"
    "yes"
    (at 0 0 0)
    (unlocked yes)
    (layer "F.SilkS")
    (hide yes)
    (uuid "e4fb82be-6521-4f91-b512-04c756014aef")
    (
      effects
      (
        font
        (size 1 1)
        (thickness 0.1)
      )
    )
  )
  (
    property
    "TurboCaseHeight"
    "5.08"
    (at 0 0 0)
    (unlocked yes)
    (layer "F.SilkS")
    (hide yes)
    (uuid "212bfff7-9976-4d3c-a25a-496e79cf6d82")
    (
      effects
      (
        font
        (size 1 1)
        (thickness 0.1)
      )
    )
  )
  (
    fp_rect
    (start -5.0 -12.7)
    (end 5.0 12.7)
    (
      stroke
      (width 0.2)
      (type default)
    )
    (fill none)
    (layer "User.6")
    (uuid "abb530d8-a504-4df9-9243-3eaea3e75ebb")
  )
  (
    fp_line
    (start -10 0)
    (end 10 0)
    (
      stroke
      (width 0.2)
      (type default)
    )
    (layer "User.6")
    (uuid "c20e7432-e88e-44fe-9c38-1f205d64a864")
  )
)

The OpenSCAD code

This is the OpenSCAD code that will end up in your final case .scad file:

module Cutout_Pinheader_substract(width, height) {
    translate([0, 0, height/2+0.1])
        cube([10, width+0.2, height+0.2], center=true);
}