lattice
Generate a 3D lattice or infill pattern inside a bounding region.
Skill by ghbalf
Chalk Labs
Need help deploying lattice?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ghbalf-lattice
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: code-generation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lattice
What's inside
- Skill name
lattice- Description
- Generate a 3D lattice or infill pattern inside a bounding region. Useful for lightweight structural parts.
- License
- LGPL-2.1
- Instructions
- 48 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Lattice / Infill Pattern
Generate a 3D lattice or infill pattern inside a bounding region. Useful for lightweight structural parts.
## Pattern types
- **Grid**: rectangular grid of holes or beams
- **Honeycomb**: hexagonal pattern (strongest weight-to-strength ratio)
- **Diagonal**: 45-degree crosshatch
- **Gyroid** (advanced): triply periodic minimal surface
## Parameters to ask (if not provided)
- **Pattern type**: grid / honeycomb / diagonal
- **Region**: existing object to fill, or bounding box dimensions
- **Cell size**: distance between pattern centers (default 10mm)
- **Wall thickness**: thickness of lattice walls/beams (default 1.5mm)
- **Height/depth**: extrusion height of the pattern
## Construction approach
### Grid pattern
1. Create a sketch with a rectangular array of circles or squares
2. Use spacing = cell_size, hole diameter = cell_size - wall_thickness
3. Pad to height, then boolean-intersect with the bounding shape
### Honeycomb
1. Create hexagonal cells: 6 line segments per cell
2. Hex radius = cell_size / 2
3. Offset rows by cell_size * 0.75 horizontally and cell_size * sqrt(3)/2 vertically
4. Pad and intersect with bounding shape
### Diagonal crosshatch
1. Create parallel lines at 45 degrees, spaced by cell_size
2. Create second set at -45 degrees
3. Lines have width = wall_thickness
4. Pad and intersect
## Important
- Always create the lattice larger than the target region, then use boolean intersection to trim
- Label clearly: "Lattice Grid 10mm" etc.
- For 3D printing, ensure wall_thickness >= 2x nozzle diameter (typically >= 0.8mm)
- After construction, hide all sketches for a clean viewport:
```python
for obj in App.ActiveDocument.Objects:
if obj.TypeId == "Sketcher::SketchObject":
obj.Visibility = False
```From ghbalf/freecad-ai, LGPL-2.1.
More from ghbalf/freecad-ai
- 0.807score
optimize-skill
ghbalf
Automatically optimize a skill's SKILL.md by running test cases, scoring results, and iteratively improving instructions
SkillAFreshness: A★ 587Claude Code +9 - 0.805score
skill-creator
ghbalf
Create new FreeCAD AI skills, modify existing skills, and iteratively improve them.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
fastener-hole
ghbalf
Create standard fastener holes: clearance, counterbore, or countersink.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
sketch-from-image
ghbalf
Extract 2D geometry from an attached image and create a FreeCAD sketch from it.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
thread-insert
ghbalf
Create properly sized holes for heat-set threaded inserts (common in 3D printed parts).
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
enclosure
ghbalf
Generate a parametric electronics enclosure with a base and lid.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
create-validation
ghbalf
Generate a draft VALIDATION.md for a skill by analyzing its SKILL.md construction steps
SkillAFreshness: A★ 587Claude Code +9 - 0.800score
gear
ghbalf
Create an involute spur gear using FreeCAD's Part module.
SkillAFreshness: A★ 587Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 587
- Forks
- 95
- Open issues
- 0
- Last commit (this folder)
- Oct 2, 2026 (29 days ago)
- Last release
- Oct 10, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- LGPL-2.1
- Repository
- github.com/ghbalf/freecad-ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ghbalf
- 0.807score
optimize-skill
ghbalf
Automatically optimize a skill's SKILL.md by running test cases, scoring results, and iteratively improving instructions
SkillAFreshness: A★ 587Claude Code +9 - 0.805score
skill-creator
ghbalf
Create new FreeCAD AI skills, modify existing skills, and iteratively improve them.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
fastener-hole
ghbalf
Create standard fastener holes: clearance, counterbore, or countersink.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
sketch-from-image
ghbalf
Extract 2D geometry from an attached image and create a FreeCAD sketch from it.
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
thread-insert
ghbalf
Create properly sized holes for heat-set threaded inserts (common in 3D printed parts).
SkillAFreshness: A★ 587Claude Code +9 - 0.803score
enclosure
ghbalf
Generate a parametric electronics enclosure with a base and lid.
SkillAFreshness: A★ 587Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get lattice running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
lattice skill. Agent Mart. https://agentmart.dev/skills/ghbalf-lattice (last updated 2026-10-24)