openscad-bosl2

Generate parametric OpenSCAD code for 3D-printable parts using BOSL2.

1|Updated Apr 18, 2010
One-click install
npx skills add https://github.com/morganp/dotfiles --skill openscad-bosl2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openscad-bosl2
Source: https://github.com/morganp/dotfiles/tree/main/config/claude/skills/openscad-bosl2
Command: npx skills add https://github.com/morganp/dotfiles --skill openscad-bosl2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes guesswork and common errors when authoring parametric OpenSCAD models by applying BOSL2 best practices, ensuring parts are attachment-aware, 3D-printable, and maintainable.

Core Features & Use Cases

  • Produces complete, self-contained .scad files with the correct BOSL2 include statements and parametric top-of-file variables for easy adjustments.
  • Encodes BOSL2 idioms and patterns such as attachment-aware geometry, diff/tag removal patterns, distributor usage, threading, gearing, and rounding/chamfering for reliable mechanical parts.
  • Enforces 3D printability rules like anchor=BOTTOM placement, hole clearance tolerances, minimum wall thickness, and chamfering to avoid common fabrication issues.
  • Typical uses: designing enclosures with lids and lip, bolt patterns and standoffs, internal and external threads, spur gear meshes, lofts and sweeps, and batches of drilled holes.

Quick Start

Generate a parametric OpenSCAD file for a 60x40x30 mm enclosure with 2 mm walls and M3 standoffs using BOSL2 and save it as enclosure.scad.

Frequently Asked Questions about openscad-bosl2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate parametric OpenSCAD models using BOSL2?

To generate parametric OpenSCAD models using BOSL2, this Skill produces self-contained .scad files with correct include statements, top-of-file variables, and BOSL2 module usage for easy adjustments and reliable mechanical parts.

Does BOSL2 support threading and gear generation for 3D-printable parts?

Yes, BOSL2 supports threading and gear generation for 3D-printable parts. This Skill encodes BOSL2 idioms to create internal and external threads, spur gear meshes, and drilled holes within complete parametric OpenSCAD code.

What is the best way to design 3D-printable enclosures in OpenSCAD?

The best way to design 3D-printable enclosures in OpenSCAD is using BOSL2 attachment-aware geometry. This Skill generates enclosures with lids, lips, bolt patterns, and standoffs while enforcing wall-thickness and clearance rules.

Can I use BOSL2 for attachment-aware geometry and diff tag removal patterns?

Yes, you can use BOSL2 for attachment-aware geometry and diff tag removal patterns. This Skill applies BOSL2 idioms including distributor usage, rounding, and chamfering to ensure parts are maintainable and correctly oriented.

Why do my 3D-printed OpenSCAD parts have fabrication issues like misaligned holes?

3D-printed OpenSCAD parts have fabrication issues when lacking proper clearance tolerances and anchor=BOTTOM placement. This Skill enforces hole clearance, minimum wall thickness, and chamfering to avoid common fabrication errors.