Skip to content

Packs / engineering-public

bill-of-materials-costing

roll up a multi-level bill of materials into total quantities and cost per top-level assembly

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-engineering-public

Install

logicpacks pack use engineering-public/bill-of-materials-costing
get_pack engineering-public/bill-of-materials-costing

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: python-stdlib
  • Checks: 1 in outcome/checks.yaml
  • Code: bom.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Roll up a multi-level bill of materials into total quantities and cost per top-level assembly.

Steps

  1. Export the BOM as parent/child/qty and current part costs.
  2. Run bom.py for the top assembly and build quantity.
  3. Add labour and overhead separately.

Edge cases

  • Any part listed as a parent is treated as an assembly (its own cost is ignored); buy-and-modify parts need their own leaf row.
  • Scrap/yield allowances multiply quantities.

Don'ts

  • Don't ignore cycles; the script stops on them.

Routes (free first)

  1. python-stdlib: code/bom.py (no install).