Skip to content
Skills Library
Other · Analysis

form_factor_envelope

/form_factor_envelope

Work out a product's form factor, the smallest outer envelope its contents need, from the internal components (positioned or stacked), the internal clearance and the wall thickness, and check it against a required maximum size. Use when the user asks how big a product or enclosure has to be, whether the contents fit a target size, or what envelope to design the housing around, before mechanical CAD starts.

Repository
metaforge ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

85/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Work out a product's form factor, the smallest outer envelope its contents need, from the internal components (positioned or stacked), the internal clearance and the wall thickness, and check it against a required maximum size. Use when the user asks how big a product or enclosure has to be, whether the contents fit a target size, or what envelope to design the housing around, before mechanical CAD starts.

Original author description

Work out a product's form factor, the smallest outer envelope its contents need, from the internal components (positioned or stacked), the internal clearance and the wall thickness, and check it against a required maximum size. Use when the user asks how big a product or enclosure has to be, whether the contents fit a target size, or what envelope to design the housing around, before mechanical CAD starts.

How it works

  1. When to use it
  2. Gather the inputs, each with its source
  3. Steps
  4. Limits
  5. Checklist
Original SKILL.md headings · 53 lines, 375 words
SKILL.md preview
---
name: form_factor_envelope
description: Work out a product's form factor, the smallest outer envelope its contents need, from the internal components (positioned or stacked), the internal clearance and the wall thickness, and check it against a required maximum size. Use when the user asks how big a product or enclosure has to be, whether the contents fit a target size, or what envelope to design the housing around, before mechanical CAD starts.
domain: industrial_design
---

# form_factor_envelope

Industrial design decides the form factor before mechanical design draws
the housing (the Planner puts Industrial Design ahead of Mechanical for this
reason). This skill gives the hard floor under that decision: what the
contents need, plus clearance and wall.

## When to use it

- "How small can this enclosure be?"
- "Will the battery, board and speaker fit a 70 x 40 x 20 mm pocket size?"
- Before authoring an enclosure, to fix its outer dimensions.

Not for: whether a person can hold it (`check_ergonomics`), or how it
looks (`colour-material-finish`).

## Gather the inputs, each with its source

| Input | Where it comes from |
|---|---|
| component sizes | a part in the twin (`twin.get_node`, its bounding box): `basis: measured`; a datasheet: `basis: datasheet`; the person: `basis: stated` |
| positions | the layout the person or the design gives; otherwise a stacking axis and gap |
| wall thickness | the chosen process's minimum wall: `library.process_limits` (or `library.machine_limits` for a library machine) |
| clearance | the person, or a recorded design value (the `source-engineering-values` skill) |
| maximum envelope | the requirement that states it (`twin.find_by_property` on the project's constraints) |

Every clearance, wall and maximum needs a `source_ref`. If one is missing,
find it with `source-engineering-values` or ask; do not pick a number.

## Steps

1. Collect the components and decide positioned or stacked.
2. Run the skill.
3. Read the result: the outer dimensions, the fill ratio (a low ratio means
   wasted volume, a ratio near 1 leaves no room for cables and fixings),
   any overlaps, and the fit against the maximum.
4. Record the chosen envelope as a decision with `twin.record_decision`,
   naming the sources it rests on, so mechanical design works to it.

## Limits

- Axis-aligned boxes: no rounded corners, draft, ribs, bosses or cable
  routes. Treat the result as a minimum, not the final housing.
- The fit check needs a sourced maximum; without one it is not run.

## Checklist

- [ ] every component's size has its basis
- [ ] wall from the process, clearance and maximum with their sources
- [ ] overlaps resolved before the envelope is used
- [ ] envelope recorded as a decision

Versions

The database has no other skills named form_factor_envelope.

Identical content appears in 3 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version f755592feb1e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95generate_enclosure
    Generate an open-top PCB enclosure (shelled box with connector cutouts and mounting posts) from the board's real dimensions with CadQuery, check it fits, and commit it to the twin as a named CAD model. Use when the user asks for a case, housing or enclosure around a PCB ("make…
  • 100enclosure-engineer
    Designs a hardware product's enclosure as parametric CAD (build123d) with STEP, STL and GLB output and an automated DFM check, then assembles it in Blender. It fits parts with a flood-fill free-space map and runs the interpenetration validator that gates every render and…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.