Table of Contents
  • Mounting Hole in Outline

    published: 2026-03-15

    tags: ergogen,mounting hole

    mounting-hole-in-outline

    To create mounting holes in an Ergogen outline, you define a new outlines section with what: circle and specify the where location using reference points (like matrix_outer_num) and shift values to position them between keys or diodes. This outline is then typically referenced in the cases section to generate the 3D case geometry, or used directly as a footprint in the pcbs section to drill holes in the PCB.

    Configuration Example

    You can define the mounting hole outline and integrate it into your case or PCB design using the following YAML structure:

    units:
      screwSize: 1  # Radius for M2 screws
    
    outlines:
      mounting:
        - what: circle
          radius: screwSize
          where:
            ref: [matrix_outer_num]
            shift: [0.5kx, -0.3ky]
        - what: circle
          radius: screwSize
          where:
            ref: [matrix_outer_bottom]
            shift: [0.5kx, -0.3ky]
        # Add more circle entries for other mounting locations
    
    cases:
      _holes:
        - name: mounting
          extrude: 4
      case:
        - what: case
          name: bottom
          operation: add
        - what: case
          name: _holes
          operation: add

    Key Implementation Details