Skip to content

PCB Enclosure Generator

No due date 0% complete

Using this crate, it would be very helpful to have a pipeline where a Kicad board file can be imported and a simple enclosure generated which can hold the PCB.

Main features:

  • Import the KiCAD file directly without needing to export to intermediate formats
  • Read the edge cuts layer to get the board outline
  • Read placed footprints to find the location of mou…

Using this crate, it would be very helpful to have a pipeline where a Kicad board file can be imported and a simple enclosure generated which can hold the PCB.

Main features:

  • Import the KiCAD file directly without needing to export to intermediate formats
  • Read the edge cuts layer to get the board outline
  • Read placed footprints to find the location of mounting holes (they may need to be annotated in order to distinguish them in the file against other, non-mechanical holes)
  • If they exist, import the 3D models for various connectors which may be placed on the PCB (such as USB, RJ45, DC barrel jacks, etc.) and cut them out of the walls of the case
  • Generate two halves, or a case + lid in order to be easily 3D-printable
    • It would be really cool to be able to define some generic functionality to cut a shape in half and add things like hinges, latches, or snap-fit edges so the two halves can stay together in some way.
Loading