Shelf pin holes¶
cuts.shelf_pin_holes
Two rows of 5 mm holes, 12 deep, in the inside of a case side for
shelf pins, pitch apart (the 32 mm system), 37 from the edges.
Parameters¶
| Parameter | Default |
|---|---|
height |
700 |
depth |
300 |
pitch |
32 |
count |
12 |
stock |
20 mm board, oak |
Change them in a design file (see Change an example):
Drawings¶
The plans in one PDF: plans.pdf.
Cut list¶
board 700 x 300 x 20 mm oak
- 24 x hole ΓΈ5, 12 deep, drill point 118 deg, in top_face, 174 to 526 every 32 from left_end; 37 from front_edge and back_edge
Code¶
From woodwright/examples/cuts.py, which imports the names it uses (see From an example to your own design):
def shelf_pin_holes(
height: float = 700,
depth: float = 300,
pitch: float = 32,
count: int = 12,
stock: Stock = OAK,
) -> Assembly:
"""Two rows of 5 mm holes, 12 deep, in the inside of a case side for
shelf pins, `pitch` apart (the 32 mm system), 37 from the edges."""
asm, board = _board("shelf_pin_holes", stock, length=height, width=depth)
start = (height - (count - 1) * pitch) / 2
for i in range(count):
for edge in (board.front_edge, board.back_edge):
at = {board.left_end: start + i * pitch, edge: 37}
board.cut(Hole(board.top_face, 5, depth=12, at=at, point=118))
return asm
Exported with woodwright 0.9.0 on 2026-10-25.