Skip to content

Shop rows ​

Why sizes come from your files ​

BaroCSS has no standards built in: no thread table, no fastener catalogue, no bearing list, no casting allowances. Sizes like these depend on the edition of a standard and on what your supplier stocks. A design built on numbers nobody supplied can't be trusted. So these sizes come from rows: JSON files that you supply, each value naming where it came from, or saying it is an estimate.

  • The person loads them. Rows are loaded only from a file a person supplies, in the studio or attached in the chat. The agent can suggest a file, but rows it wrote itself are refused with [ROWS_NOT_FROM_PERSON].
  • A receipt is kept. Every loaded row keeps a receipt naming its file.
  • Placed parts inherit them. A placed part uses the rows of the document it is placed in.
  • Rows in use stay. A row something uses stays loaded. A frame section row, when edited, moves every frame built on it.
    • Removing a ring, O-ring, bearing, connector, drive or mount row that a feature uses is refused with [ROW_IN_USE], for example [ROW_IN_USE] ring row R1 is used by a retaining ring: remove the ring first.
    • Removing a row that isn't loaded is refused with [ROW_UNKNOWN].

Row kinds ​

KindWhat it givesUsed by
fastener-sizesMetric thread sizes: pitch, head and nut sizes, washers, the lengths offered, clearance holes and the tap drillTapped holes, Fastener, thread callouts, hole position tolerances, machining holes
fastenersBought screws, bolts, nuts and washers as your supplier lists themThe BOM's bought lines
casting-rulesDie and sand casting limits by alloy (least wall and draft, tolerance, section change) and sand casting's pattern allowancesThe casting report and the sand pattern
sectionsFrame sections by their dimensionsFrame, Structural member
frame-stockStock lengths for frame membersThe cut list's nesting
stockStock blocks for machiningThe CNC report's stock choice
fitsFit tables: tolerance classes and their limitsFit class, Fit pair, fit callouts on drawings
bearingsBearings: bore, outside diameter, width, shoulder limitsBearing and its housing
oringsO-ringsO-ring gland
ringsRetaining ringsRetaining ring
drivesBelts, chains and their wheelsPulley, Sprocket, Belt or chain
connectorsConnector openingsConnector opening
bendA sheet-metal bend tableA sheet part's bends
mountsHow motors, servos and bearing units fix to a face: bolt pattern, pilot, shaft and its heightMount

Loading rows in the studio ​

The library with the sample fastener sizes loaded

Library lists each kind with what is loaded, for example Fastener sizes with the sizes it holds. Load your own file there. Two kinds ship with samples you can load in one click: Load sample fastener sizes and Load sample casting rules. Mount rows can't be loaded in the Library yet: attach them in the chat.

The samples are in @barocss/cad-model at samples/rows/:

  • fastener-sizes.json: metric coarse M3 to M12, with the fields not cross-checked listed in unchecked;
  • casting-rules.json: die and sand casting rules, each with the page it was read from.
  • mounts.json: mounts.
    • NSK's UCP204 pillow block and UCFL204 flange unit, from the maker's product pages.
    • NEMA 17 and NEMA 23 stepper flanges, as estimates with every field unchecked: their makers' dimension drawings are PDFs that haven't been read yet.
    • There's no servo row, since no maker's dimensioned mounting drawing was found to cite.

They are examples taken from the sources each row names, not a standard. Check them against your supplier before you use a part for manufacture.

Loading rows in the chat ​

Attach the file to your message and ask the agent to load it. The agent's load_rows action takes the kind and the file from your conversation.

Without rows ​

A command that needs a row it doesn't have is refused with the row it is missing:

  • [FASTENER_SIZE_ROW] no row for M6 — load your fastener sizes …, for a tapped hole, a fastener or fitting a fastener to a hole;
  • [CASTING_RULE_ROW] in a casting report, where every rule that reads a limit or an allowance is unknown and a sand pattern is refused.

A reading that only shows something carries on, and says what it lacks: no thread is drawn, no tap drill is given, and the position tolerance is an estimate.