Skip to content
FunCoding

fastener-hole

Create standard fastener holes: clearance, counterbore, or countersink.

Star
645
Category
Other
License
LGPL-2.1
Last commit
Nov 28, 2026

skills/fastener-hole/SKILL.md

View on GitHub

Fastener Hole Patterns

Create standard fastener holes: clearance, counterbore, or countersink.

Hole types

Clearance holes (through-hole for bolt to pass through)

SizeClose fitNormal fit
M22.2mm2.4mm
M2.52.7mm2.9mm
M33.2mm3.4mm
M44.3mm4.5mm
M55.3mm5.5mm
M66.4mm6.6mm
M88.4mm9.0mm

Counterbore (socket head cap screw)

SizeCB diameterCB depth
M36.5mm3.0mm
M48.0mm4.0mm
M510.0mm5.0mm
M611.5mm6.0mm
M815.0mm8.0mm

Countersink (flat head screw, 90 degree)

SizeCS diameter
M36.3mm
M48.4mm
M510.4mm
M612.6mm

Parameters to ask (if not provided)

  • Screw size: M2 through M8
  • Hole type: clearance / counterbore / countersink
  • Fit: close / normal (for clearance holes)
  • Target object: body or feature to cut into
  • Positions: list of XY coordinates, or pattern (linear/circular)
  • Pattern: if applicable — count, spacing, or bolt circle diameter + count

Construction

  1. Create a sketch on the specified face
  2. For each hole position, add a circle (clearance diameter)
  3. Pocket through-all for the clearance hole
  4. For counterbore: add a second larger circle, pocket to CB depth
  5. For countersink: use a cone (Part.makeCone) to create the 90-degree chamfer

Cleanup

After construction, hide all sketches for a clean viewport:

for obj in App.ActiveDocument.Objects:
    if obj.TypeId == "Sketcher::SketchObject":
        obj.Visibility = False

Similar Skills

software-factory

MAmattpocock/skills337k4,978 new stars in the last 7 days

claude-handoff

MAmattpocock/skills337k4,978 new stars in the last 7 days

agent-payment-x402

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

agent-self-evaluation

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

bengali-nlp

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

ponytail-gain

DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days