Repository navigation
specify-core 0.1.7
On quiddity/haecceity 0.4.4. Adds thread callouts and polyline roles/text cell boxes from 0.4.4, exact tap-drill matches defaulting to tapped holes, one GENERAL NOTES block, a BOM, stable characteristic-number keys (number-history schema 2; 0.1.6 files keep their numbers), and richer diff reports: optional compared scenes, old_id, face anchors, PMI-coloured model.png, geometry-first pairing for freshly planned revisions, and thread-note wording. STEP diff comments no longer carry a JSON payload. presentation.semantic_ids again lists only the PMI document's own ids.
-
Diff retains uniquely matched planned dimensions when their target/reference
supports grow, after exact-face matches and before kind fallback. Measurement
roles distinguish existing bore/pitch/location requirements from new counterbores. -
Diff pairs fresh-numbered plans by requirement/geometry identity; only continued
characteristic-number histories give numbers priority. Thread manufacturing notes
show drawing wording, and semantic-only attribute notes, knurls and finishes show
their values.
WASM assembly diff accepts per-partacceptDefaultsmaps and names the part and
question id when a nested answer is invalid. -
Prefer an exact tap-drill match over an ambiguous smaller clearance screw when suggesting a hole function; accepted tapped holes carry thread semantics without a tap-drill fit. Document and type additive haecceity polyline roles and text cell boxes (pass-through from v0.4.4).
Fixed
presentation.semantic_idslists only the PMI document's own ids again. The
part.materialalias stays initemsandspecify, but no longer appears in
semantic_ids, where consumers that cross-check it against the PMI refused the
whole drawn PMI whenever a material was answered.
Added
-
Diff reports optionally include the exact compared
pmi.scenesthrough Rust,
CLI--pmi-scenes, WASM and Python. Requirement items add differingold_id
and per-side mesh face anchors, including semantic-only requirements. Revision
PNGs draw changed/added presentation callouts and translucent removed ghosts,
framing their supplied geometry alongside existing geometry change colours. -
For #79: opt-in assembly BOM writes via explicit
bom.*answers or--bom/ API
acceptance. Optional questions expose suggestions, never ordinary defaults. Assembly
analysis adds a sourcedbomrow using its existing parse. Separate occurrence UDAs
preserve older-engine resume; explicit answers override current export data, accepted
suggestions do not. Geometric item history tolerates fingerprint drift, small parts
and stable duplicate ordering; removed numbers are retired. Read through Rust, CLI,
Python and WASM. See BOM storage and numbering. -
Regression coverage for #89 using FreeCAD's attributed CC-BY-3.0 hex standoff:
AP214PRODUCT_TYPEupgrades toPRODUCT_RELATED_PRODUCT_CATEGORY, preserving
every other original entity byte, and written PMI/answers read back. Add the
attributed LM10UU fixture to cover independent size supports and unchanged resaves.
Changed
-
Diff reports describe requirements in Markdown and JSON summary text, naming the
changed feature and its requirement notation when review is needed. STEP diff
comments omit the JSON payload and flag differing committed sidecars in one
line, with a 3D review link for public repositories.answers.json, JSON keys
and verdict meanings remain unchanged. -
Refresh the numbered M2 presentation fixture and four distinct no-BOM write
hashes for v0.4.4's added thread ink and neighbouring callout placement.
Legacy semantic/part-setting comparisons and all six exact API/CLI byte
comparisons remain enforced; neither the old semantic inputs nor recognition
expectations change. -
Keep exact tap-drill defaults and their exact-value guards after the main merge:
five frozen rule cases (CGB202, CGB217, CGB243, NIST CTC-04 part 0 and FTC-10)
gain thread/depth answers and dependent ordering; thirteen CLI envelope entries
carry the same reason without wildcard cases or paths. Explicit-clearance fit
tests still choose clearance. Fresh-number order checks replace only the
former tap-drill size with its thread; CGB243's obsolete General-size conflict
disappears while its written count is unchanged. -
Move quiddity/haecceity (native, WASM and the Python binding) to v0.4.4
(53cf3604), including thread callouts, polyline roles and text cell boxes. The pin checker requires the same release. Reader binding advances
tohaecceity-pmi-read/14for datum-constituent identity (#173); the packaged
haecceity.pmi/1schema is byte-identical to upstream and remains unchanged.
Upstream #171 improves callout/frame placement and label packing; #172 bounds
generated STEP string literals and chunks long descriptive values. Recognition /6
and fingerprints /3 are unchanged. -
Read haecceity #172's marked ordered text chunks when recovering saved answers
and carried application payloads. Previously a long saved answer failed write
verification after the kernel bounded its strings; legacy single strings remain
readable. Regression coverage checks long-answer resume/resave and rejects
unmarked, unordered or cyclic compounds. -
For #163: live PMI scenes combine accepted part settings, imported semantic notes and
material in one GENERAL NOTES block, replacing the file block in the scene while
lossless writes keep its records. Reopened appended files also draw one block.
Part-level edge-break prose answerspart.edges
as written. Feature notes retain their owner; haecceity generates their fallback ink
together with the combined block and owns all placement. Rotated-part regression
checks use the notes plane. File callouts
report file source and material DMIAs link throughpart.material. -
For #75, written hole sizes, pattern
origins/pitches and prismatic plane levels/extents follow the shared planner.
Inspection plans contain fewer rows: the default cross-engine plate changes from
21 dimensions / 28 characteristics to 12 / 19. The raw all-General planner has
11 quantities; Specify adds two offsets with distinct Basic/General contracts
and omits the drill already carried by the thread.
Existing numbers win; removed rows retire permanently and the write report
lists their numbers. On the frozen pre-planner
plate, numbers 6–11 and 21–26 retire. New requirements allocate above the
previous high-water mark. Deferred feature owners retain their existing path.
Locations require real face supports; thread drills and duplicate legacy spans
are stated once. Answered fits and Basic locations retain their contracts, including the radial
bolt-circle diameter belonging to a position frame.
Determined enlargement depths are reference dimensions. Unknown-bottom depths
and bounded shoulder stations that lack unambiguous semantic supports are
reported instead of adding inspection constraints; physical-plane witnesses
keep their legacy path.
General-tolerance range selection uses the same six-decimal nominal as the
written dimension, keeping boundary values stable under rigid moves. Source
metadata for newly shared dimensions names their complete measured target. -
For #79: record the additive assembly
analysis.bomfield in the per-part oracle
ledger, preserving all legacy layout/value assertions and opt-in write behavior.
Review the three--bomCLI usage/help departures with exact text assertions;
retain the datum-origin snapshot and revalidate ordinary write bytes against main. -
For #79: preserve opt-in BOM alongside shared planner dimensions; ordinary writes
are checked byte for byte against main 8d5a040 through the CLI and API. -
Earlier v0.4.2 upgrade (
d7112fd), retained as recognition evidence:
Recognition /6 and fingerprints /3 stay unchanged; turned steps with spanner
flats, grouped interrupted torus fillets and unproved corners follow upstream #167.
PMI now repairs reversed bounds and datum-feature child aspects (#168), and
duplicate source identifiers and incomplete non-runout zones (#170). -
Refresh the packaged PMI schema for optional per-item
identifiervalues.
The documented reader binding moves fromhaecceity-pmi-read/11to/13
because #168/#170 change readings and findings; Specify always rereads STEP. -
Rejudge the frozen-Python recognition ledger for v0.4.2's grouped interrupted
fillets and omitted unproved bevel corners. Retain 192 retired paths as resolved
assertions and add 266 exact case/path judgments, with a native torus audit of
all 44 changed groups (220 patches); do not regenerate the Python captures.
Inventory tests count torus patches, retaining their original coverage thresholds. -
Revalidate v0.4.2 after merging #91's planner dimensions and #94's opt-in BOM.
Regenerated cross-engine byte goldens and independently recaptured Python readings
remain unchanged from main, including both refusals. The pin checker now requires
v0.4.2 as well as matching native/WASM manifests.
Fixed
-
For #96: give characteristic-history schema 2 an explicit text vocabulary, independent
of Rust Debug and generated planner IDs. Keep fit classes, modifiers and values out of
identity; compare temporary matching hints as typed values. Pin readable keys and
preserve all six numbers when upgrading a file written by the v0.1.6 engine. -
For #95: keep characteristic numbers through tolerance value and material-modifier edits,
so diff reports one changed requirement without a spurious renumbering. History schema 2
uses structural requirement identity; schema-1 files retain their numbers and high-water
marks on migration. Removed numbers stay retired. -
The step-diff Action's "answers carried" block hides Specify's own
_specify*
records (such as_specify_characteristic_numbers) at any depth. They stay in the
committed answers file. -
Remove the temporary LM10UU writer adjustment: haecceity #173 now preserves
separately sized datum constituents itself. Replace the retirement guard with a
direct upstream write/read regression for the three Ø19 lands and the whole
datum A. A structural v0.4.2 workaround baseline checks all dimensions, tolerances,
datums and the characteristic count, independently of STEP IDs and presentation.
WASM API
-
Add optional
polyline_rolesand text-placementcell_boxdeclarations for host-font presentation rendering; pass through when supplied by haecceity. -
diffaccepts an optional seventhscenesboolean.DiffPmi.scenescontains
{old: PmiScene, new: PmiScene}when requested;PmiItemChangeadds optional
old_idandfaces: {old: {face: number}[], new: {face: number}[]}. -
pmiSceneexposes the scalar material through thepart.materialcompanion alias
inpresentation.items,semantic_idsandspecify; the upstream semantic material
field is unchanged. Reviewed scenes alias every part note to one shared graphic. -
For #75: live analysis snapshots carry optional shared-planner input and stored
dimension contracts. Planned scene dimension IDs include stable face-derived
roles; pitch callouts use interval counts and datum members leave group counts. -
For #79: add static
IntentEngine.bom(bytes)returning sourced assembly BOM JSON;
optional fourthwritePmiargument explicitly accepts BOM suggestions. Omitted/false
preserves the ordinary PMI write. BOM analysis questions are optional suggestions. -
Add optional
PmiSceneItem.identifierfor the source characteristic number;
references continue to use the uniqueid, including when identifiers repeat.
Kernel note: specify-core-rust uses haecceity tag v0.4.4, quiddity tag v0.4.4; pzfreo/draftwright-rust@v0.2.9 uses haecceity tag v0.4.3, quiddity tag v0.4.3. Different kernels may number STEP faces differently.