GuideOpen

Contract: the geometry estimate

Emitted by rfq-to-quote, at the design step (step 7), or typed by an estimator by hand Consumed by quote-build, at the hours step Chain 1, RFQ to quote (steps 7 to 9) Contract version 1

Contract: the geometry estimate

Emitted by rfq-to-quote, at the design step (step 7), or typed by an estimator by hand Consumed by quote-build, at the hours step Chain 1, RFQ to quote (steps 7 to 9) Contract version 1

Rules that govern every contract are in [README.md](README.md).


What this carries, and what it never carries

The part as the plant would make it, read from the customer's drawing: the stock, the datums, every feature with the tolerance that drives it, the setups and the operation list. It is what quote-build derives hours from when no routing for this part and revision exists, and what it cross-checks a routing against when one does.

It carries no hours, no rates and no prices. Hours are derived from it by quote-build after Gate 3, because hours derived from a model nobody has confirmed are a guess with a decimal point. A geometry estimate that grew an hours column would let an unconfirmed model price a job.

It is an internal estimating aid and never goes to a customer. The model it describes was generated by the plant to estimate from. It is not the customer's design, it is not a proposal, and nothing in it is sent. That includes cost_down_proposals: a cheaper way to make the part is an idea for the estimator, not a change offered to the customer.

It must be hand-authorable. Where Fusion is not connected, an estimator can type the feature list from the drawing into this shape, and the hours step runs on it exactly as it would on a generated one. So every model-only field may be null, and the required core is what a person reading a print can fill in.


Header

FieldTypeBehaviorNotes
contract_versionintegerRequired
sitestringRequiredRule 7
inquiry_refstringRequiredThe intake form's rfq_reference, or the inquiry's own reference where the customer gave none
line_nointegerRequiredThe intake form line this estimates. One estimate per line
part_number / part_number_verbatimstring or nullDegradesRule 3. Null on a new part with no number yet
geometry_pathenumRequiredC2, C1, B, A, none. Carried from the intake form's geometry_path, after any reclassification at rfq-to-quote step 7. See the path table below
drawing_revision_priced_tostring or nullRequiredThe revision every feature below was read from. Null only where there is no drawing: path A, where the estimate then supports a ROM only, and path C1, where each feature's source_ref names the STEP file

The paths

PathWhat it meansorigin
C2A drawing (PDF, image or text extract). The model is generated from the drawing's dimensions, tolerances and notesbuilt_from_drawing, or hand_entered
C1A STEP or other 3D file, and no drawing. The file is imported and read; nothing is generated. STEP import through the connector is unverified, and so is reading the STEP as text without CAD. A C1 line with a drawing is C2customer_step, or hand_entered
BA drawing plus a different prior part whose model on file is named as the starting point. The prior model is opened, the drawing's changes applied, and the result saved as a new document; the prior model is never overwritten. A new revision of the same part is C2. Where the prior model is unavailable the line falls back to C2 and the estimate says soadapted_from_prior
AText specifications, no drawing. Built with the same calls as C2, every dimension and tolerance from_text. The estimate supports a ROM only, never a firm quotebuilt_from_text, or hand_entered
noneNo geometry in the package — a repeat part named by number onlyNo estimate. Priced from its routing or actuals, or a question back to the customer

Model

FieldTypeBehaviorNotes
originenumRequiredbuilt_from_drawing, adapted_from_prior, customer_step, built_from_text, hand_entered. Per the path table above. geometry_path is the path that actually ran: a path B line that fell back is C2 and built_from_drawing
document_refstring or nullDegradesThe new Fusion document the model lives in. Null on hand_entered
base_model_refstring or nullOptionalThe prior part's model and the version it was opened at, path B only. Never overwritten — the producer reads its version again after the run and stops if it moved. Null on every other path, including a path B line that fell back to C2
cad_backendenumRequiredfusion or none. none on hand_entered, and on customer_step when the STEP was read as text without CAD
generated_attimestamp with zone or nullDegradesRule 4. Null on hand_entered
document_integrityobjectRequiredSee below
model_checksobject or nullDegradesBounding box and volume read back from the model, and the hand calculation they were checked against, each with its unit

document_integrity

The Fusion connector can replay an earlier script into every later call until Fusion restarts, which puts geometry nobody asked for into the document. So the bodies and sketches are listed before and after every design step, and the result travels with the estimate.

FieldTypeBehaviorNotes
resultenumRequiredclean, foreign_geometry, not_checked, not_applicable. not_applicable only where no CAD document was opened: hand_entered, or a STEP read as text
bodies_before / bodies_afterlist of strings or nullDegradesNames as Fusion listed them
sketches_before / sketches_afterlist of strings or nullDegrades
checked_attimestamp with zone or nullDegradesRule 4
detailstring or nullRequired when result is not cleanWhat was found, or why it could not be checked

An estimate with foreign_geometry is not emitted as a usable estimate. The step failed; the estimate exists only to say so.

Stock

FieldTypeBehaviorNotes
materialstringRequiredAs the drawing states it, with source_ref
formstring or nullDegradesBar, plate, round, casting. As the drawing or the material spec states it
sizestring or nullDegradesWith units
fit_checkobject or nullDegradespart_envelope, cleanup_allowance (with unit and where it came from), fits (boolean), flag (string or null — what does not fit, or what fits only without cleanup)
source_refstringRequired

Datums

FieldTypeBehaviorNotes
datumslist of objectsDegradesEach: label (A, B, C), feature, basis, source_ref
datums[].basisenumRequiredstated — the drawing identifies the datum feature. inferred — assigned from the dimension scheme because the drawing references the datum without identifying its feature. Every inferred datum is shown at Gate 3

Features

One row per feature or patterned feature set.

FieldTypeBehaviorNotes
typestringRequiredFace, pocket, through-bore, hole pattern, fillet, chamfer, slot, thread
countintegerRequired
dimensionstringRequiredWith units, as read
tolerancestring or nullDegradesAs read. Null only where the drawing gives none and no general note applies, and then it is on unreadables
tolerance_driverbooleanRequiredTrue where this tolerance, not the geometry, decides the process — a reamed bore, a KC, a flatness callout
surface_finishstring or nullDegradesAs read
reading_basisenumRequiredprinted_callout, general_note, from_text, unreadable_flagged — the same vocabulary as the intake form. A general-note tolerance applied to a feature is reading, and cites the note; anything else is not a tolerance at all. Path A rows are all from_text. A path C1 row read from a STEP file has no tolerance to read: tolerance null, unreadable_flagged, and on unreadables
source_refstringRequiredView and zone, or the note number. A feature with no source_ref is not permitted

Setups and operations

FieldTypeBehaviorNotes
setupslist of objectsDegradesEach: setup_seq, faces (which faces are reached), fixture_note, machine_class (a class from ### Machining data in the Plant context, or the class as named when that section is absent)
operationslist of objectsRequiredEach: op_seq, description, machine_class, setup_seq (null for an operation off the machine), features (which feature rows it cuts), outside_process (boolean), assumptions (list of strings), source_ref

The operation list is the plant's proposed way to make the part. It is confirmed at Gate 3 and only then derived into hours.

Tolerances, unreadables and questions

FieldTypeBehaviorNotes
toleranceslist of objectsRequiredEvery tolerance read: characteristic, value, reading_basis, source_ref, key_characteristic (the drawing's KC label or null)
unreadableslist of objectsRequired, may be emptyEach: what could not be read, where, and why it matters. An empty list means everything was read, and says so
questions_for_estimatorlist of stringsRequired, may be emptyInferred datums, assumptions in the operation list, anything the estimator must rule on at Gate 3
cost_down_proposalslist of objectsOptionalEach: idea, why, what_it_would_change. Internal only. Never on the customer quote and never offered to the customer: proposing a design change back is a different workflow with its own gate, and it is not built

Approval

FieldTypeBehaviorNotes
approval.statusenumRequireddraft, confirmed, declined. The skill emits draft, always. Only the estimator moves it, at Gate 3
approval.bystring or nullRequired when not draftThe estimator who ruled
approval.attimestamp with zone or nullRequired when not draftRule 4
approval.notestring or nullOptionalWhat the estimator changed or ruled on — a corrected datum, a removed operation

Per rule 8, a consumer reads this state rather than inferring approval from context. The skill that built the model never marks it confirmed.


Worked example

PN-4471-B Rev 2, path C2, built in Fusion from the drawing. Integrity clean. Datum A is identified on the drawing; B and C are referenced in the KC-2 feature control frame but their features are not identified, so they are inferred and go to Gate 3.

contract_version: 1
site: Fairview
inquiry_ref: "EH-RFQ-0912"
line_no: 1
part_number: PN-4471-B
part_number_verbatim: "4471-B"
geometry_path: C2
drawing_revision_priced_to: "2"

model:
  origin: built_from_drawing
  document_ref: "fusion://Fairview/estimates/EH-RFQ-0912_L1_PN-4471-B_R2"
  base_model_ref: null
  cad_backend: fusion
  generated_at: 2026-10-13T10:41:00-04:00
  document_integrity:
    result: clean
    bodies_before: []
    bodies_after: ["Bracket_Upper"]
    sketches_before: []
    sketches_after: ["Profile_Top", "Bore_Sketch"]
    checked_at: 2026-10-13T10:44:00-04:00
    detail: null
  model_checks:
    bounding_box: "2.000 x 1.250 x 0.750 in (model) vs 2.000 x 1.250 x 0.750 in (drawing)"
    volume: "1.687 in3 (model) vs 1.688 in3 (hand calc: block 1.875, less bore 0.147, less four corner fillets 0.040)"

stock:
  material: "4140 alloy steel bar, 2.5 in dia, MS-4140-BAR"
  form: round bar
  size: "2.5 in dia x 0.90 in cut length"
  fit_check:
    part_envelope: "2.000 x 1.250 in section"
    cleanup_allowance: "0.050 in per side, plant standard (Plant context)"
    fits: true
    flag: "Section with cleanup is 2.100 x 1.350 in, diagonal 2.496 in, against 2.5 in bar: fits with 0.004 in on the diameter. Any bar at the low end of its size tolerance will not clean up."
  source_ref: "drawing p1, MATERIAL"

datums:
  - { label: A, feature: "bottom face", basis: stated, source_ref: "drawing p1, view A, zone C3" }
  - { label: B, feature: "long side face", basis: inferred, source_ref: "drawing p1, KC-2 frame; feature not identified" }
  - { label: C, feature: "short end face", basis: inferred, source_ref: "drawing p1, KC-2 frame; feature not identified" }

features:
  - { type: face, count: 2, dimension: "0.750 in thick", tolerance: "±0.005 in", tolerance_driver: false, surface_finish: null, reading_basis: general_note, source_ref: "drawing p1, view B, zone B2; general note 1" }
  - { type: through-bore, count: 1, dimension: "Ø0.500 in", tolerance: "+0.001/-0.000 in", tolerance_driver: true, surface_finish: null, reading_basis: printed_callout, source_ref: "drawing p1, view A, zone B3; KC-1" }
  - { type: fillet, count: 4, dimension: "R0.250 in", tolerance: "±0.005 in", tolerance_driver: false, surface_finish: null, reading_basis: general_note, source_ref: "drawing p1, view A, zones A1-A4; general note 1" }
  - { type: chamfer, count: 1, dimension: "0.010-0.020 in break, all edges", tolerance: "0.010-0.020 in", tolerance_driver: false, surface_finish: null, reading_basis: general_note, source_ref: "drawing p1, general note 2" }

setups:
  - { setup_seq: 1, faces: ["top", "bore", "perimeter"], fixture_note: "vise on sawn blank, datum A down", machine_class: VMC-3AX }
  - { setup_seq: 2, faces: ["bottom"], fixture_note: "flip on soft jaws, face to thickness", machine_class: VMC-3AX }

operations:
  - { op_seq: 10, description: "Saw blank from 2.5 in bar", machine_class: SAW, setup_seq: null, features: [], outside_process: false, assumptions: ["0.90 in cut length"], source_ref: "stock" }
  - { op_seq: 20, description: "Mill profile, fillets, bore, chamfers - setup 1", machine_class: VMC-3AX, setup_seq: 1, features: ["through-bore", "fillet", "chamfer"], outside_process: false, assumptions: ["bore reamed to hold KC-1"], source_ref: "features" }
  - { op_seq: 30, description: "Face to thickness, chamfer bottom edges - setup 2", machine_class: VMC-3AX, setup_seq: 2, features: ["face", "chamfer"], outside_process: false, assumptions: [], source_ref: "features" }
  - { op_seq: 40, description: "Deburr", machine_class: DEBURR, setup_seq: null, features: ["chamfer"], outside_process: false, assumptions: [], source_ref: "general note 2" }
  - { op_seq: 50, description: "Black oxide", machine_class: OUTSIDE-FINISH, setup_seq: null, features: [], outside_process: true, assumptions: [], source_ref: "drawing p1, GENERAL, finish" }

tolerances:
  - { characteristic: "mounting bore diameter", value: "0.500 +0.001/-0.000 in", reading_basis: printed_callout, source_ref: "drawing p1, KC-1", key_characteristic: KC-1 }
  - { characteristic: "true position, mounting bore", value: "0.002 in dia at MMC, A|B|C", reading_basis: printed_callout, source_ref: "drawing p1, KC-2", key_characteristic: KC-2 }
  - { characteristic: "flatness, datum A", value: "0.001 in", reading_basis: printed_callout, source_ref: "drawing p1, KC-3", key_characteristic: KC-3 }
  - { characteristic: "all unspecified dimensions", value: "±0.005 in", reading_basis: general_note, source_ref: "drawing p1, general note 1", key_characteristic: null }

unreadables: []

questions_for_estimator:
  - "Datums B and C are referenced by KC-2 but their features are not identified. Assigned from the dimension scheme: B long side, C short end. Confirm."
  - "KC-3 flatness 0.001 in on datum A: op 30 assumes it is held by facing on the VMC, no grind. Confirm against demonstrated capability."

cost_down_proposals:
  - { idea: "Rectangular bar 1.375 x 2.125 in instead of 2.5 in round", why: "Removes most of the profile roughing in op 20", what_it_would_change: "Material line and op 20 run time. Internal only — the drawing calls for MS-4140-BAR round" }

approval:
  status: draft
  by: null
  at: null
  note: null

What changes on the other paths

Only the fields that differ from the example above.

# Path B: a different prior part's model, adapted and saved as new
geometry_path: B
model:
  origin: adapted_from_prior
  base_model_ref: "fusion://Fairview/parts/PN-4402-A v7 (version read again after the run: v7)"
  document_ref: "fusion://Fairview/estimates/EH-RFQ-0930_L1_PN-4402-C_R1"
questions_for_estimator:
  - "Adapted from PN-4402-A v7: flange_length 2.000 -> 2.394 in (drawing p1, view A, zone B2). Prior model untouched. Confirm."

# Path A: text specs, no drawing. ROM only
geometry_path: A
drawing_revision_priced_to: null
model: { origin: built_from_text }
features:
  - { type: through-bore, count: 1, dimension: "Ø0.500 in", tolerance: null, tolerance_driver: false, surface_finish: null, reading_basis: from_text, source_ref: "rfq email, para 3" }
unreadables:
  - { what: "bore tolerance", where: "rfq email, para 3", why: "no tolerance stated and no drawing; a firm price depends on it" }

# Path C1: a STEP file read without CAD
geometry_path: C1
drawing_revision_priced_to: null
model: { origin: customer_step, cad_backend: none, document_integrity: { result: not_applicable, detail: "STEP read as text without CAD (unverified)" } }

Missing behavior for the consumer

SituationWhat quote-build does
No geometry estimate for a line with no current-revision routingDegrades. The ladder starts at closed-job actuals if they exist, else first principles (rung 4), labelled. The internal sheet says the design step did not run and why
approval.status is draftBlocks rung 3 for that line. Hours derived from an unconfirmed model do not reach a quote unless the estimator says so in the run; then the internal sheet records who said so and that the model was unconfirmed
approval.status is declinedBlocks rung 3 for that line. The ladder runs without it
document_integrity.result is foreign_geometryBlocks. The design step failed. No hours are derived from this model
document_integrity.result is not_checkedDegrades. Hours may be derived after Gate 3, and the internal sheet says the integrity check did not run
drawing_revision_priced_to differs from the intake form line's revisionBlocks. The estimate was built to another revision. Return to rfq-to-quote step 7
geometry_path is A, or origin is built_from_textDegrades. A ROM, never a firm quote, labelled ROM on the internal sheet and called a budgetary estimate on the customer document, which says nothing about how it was estimated. A Gate 3 yes or an override does not make it firm
origin is customer_stepProceeds after Gate 3. The internal sheet says the STEP import, or the text read of it, is unverified
origin is adapted_from_prior with base_model_ref nullBlocks rung 3 for that line. An adapted model that does not say what it was adapted from cannot be checked
A datums[].basis is inferred and approval.status is confirmedProceeds. The estimator ruled on it at Gate 3
A feature has no source_refBlocks that feature. An unsourced feature is an inference
cost_down_proposals is presentInternal sheet only. Never inside the customer quote, in any wording
model_checks is nullDegrades. Say the model was not checked against a hand calculation

Source: https://github.com/anthropics/claude-plugins-official/blob/main/plugins/claude-for-manufacturing/shared/contracts/geometry-estimate.md

Author: anthropics, Official Claude Code plugins. License: Apache-2.0.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The Claude Code library holds 13,843 entries. Members can search all of them by meaning and read every one in full.