Bill of materials
One parts list for the whole project: devices, terminal strip parts, connector parts, splices, cables and wire by gauge and color, as a card, a CSV and a PDF section.
The bill of materials adds up everything the project needs to buy. It's built from the project itself, so it stays current as you wire: there is nothing to keep in sync by hand.
It shows in three places:
- Parts list, the card at the top of the Components tab. The header shows how many items and part numbers there are, and in red how many notes (things that keep the list from being complete). Export CSV saves it as
<project> BOM.csv. - Bill of materials, the last section of the PDF, with a row on the contents sheet. Untick Bill of materials in the export dialog, or add a bill of materials to the PDF on the Sheet tab, to leave it out.
- The MCP server:
get_bomreturns the list as a table or as CSV, andget_projectincludes the same table, just before its issues.
What each section counts
Section titled “What each section counts”The list has six sections, in this order. Tags on a line are shortened to ranges: K1–K4, K7.
| Section | What's counted | Quantity |
|---|---|---|
| Devices | Every placed Codex part that no other section counts: relays, PLCs and I/O modules, power supplies, glands. Fuses and breakers get one line per chosen trip rating ("Fuse 4 A", "Fuse 6 A"). | Pieces |
| Terminal strips | Blocks and accessories of every strip: end plates, end stops, jumper bars, markers. The same numbers as All strip parts on the Strips tab, except that splice parts are under Splices here. | Pieces |
| Connectors | In-line connector housings and feed-throughs, and what each one takes: a contact and seal per wired cavity, a cavity plug per empty one, a backshell and a lock. The same numbers as All connector parts under Mates (see Contacts, seals, plugs and backshells). | Pieces |
| Splices | One per splice (SP1, SP2…) that names a splice part. |
Pieces |
| Cables | Cables grouped by spec and gauge. | Total length |
| Wire | Loose wires grouped by gauge and color. A cable's conductors are inside the cable, so they aren't counted again. | Total length |
Each part is counted once. An in-line connector or feed-through is under Connectors, not Devices, and a strip's splices are under Splices, not Terminal strips.
Lengths, gauges and colors
Section titled “Lengths, gauges and colors”- Lengths add up the length (Len) set on each wire or cable. They show in the project's Length unit (ft or m, set on the Sheet tab). A wire or cable without a length adds nothing to the total, and its line gets a note such as "3 wires without a length".
- A wire's gauge is its own, else its cable's, else its signal type's. Wires of different sizes never share a line. In an AWG project a size typed in mm² keeps mm², so 0.75 and 1 mm² stay apart instead of both reading 18 AWG.
- A wire's color is its own, else its signal type's color. Known color names and codes are written as IEC codes, so "Blue", "bu" and "BU" are one line (
BU). A color Ohmstead doesn't know prints as you typed it. - A wire with no gauge or no color is listed under "(no gauge)" or "(no color)". A cable without a spec is listed under "(no spec)".
Notes and what's not complete
Section titled “Notes and what's not complete”Notes on a line say what's missing from that line: "Generic block: pick a part for the BOM", "2 cables without a length". The card lists, below its table, what keeps the whole list from being complete (the PDF heads them Not complete): components without a Codex part, components whose part is no longer in the Codex, splices without a splice part, and strip blocks with no end stop or jumper bar part.
The CSV has one row per line, with the columns Section, Qty, Unit, Manufacturer, Part number, Name, Role, Tags and Notes. Lengths use the project's length unit. It opens straight in Excel or Google Sheets. A cell that would start a spreadsheet formula (=, +, -, @) gets a leading apostrophe, except a plain list of tags such as -X1, -X2.