跳到正文
FunCoding

fastener-hole

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

Star
645
分类
其他
许可证
LGPL-2.1
最近提交
2026年11月28日

skills/fastener-hole/SKILL.md

在 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

相似的 Skill

claude-handoff

MAmattpocock/skills337k近 7 天新增 4,978 个 star

software-factory

MAmattpocock/skills337k近 7 天新增 4,978 个 star

agent-payment-x402

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

agent-self-evaluation

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

bengali-nlp

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

ponytail-gain

DIDietrichGebert/ponytail203k近 7 天新增 4,904 个 star