Skip to main content

prechips

prechips checks an authored manual-machining plan against a feature manifest, shop inventory, policy and cutting data. It writes a findings report and printable setup sheets with workholding, DRO-zero instructions, operations and inspection records.

Geometry checks use a local FreeCAD kernel. The checker does not generate toolpaths or certify a physical setup, finished part or machining process.

Start with the quickstart, or use the documentation index to find a task or reference.

Install and check

You need Python 3.12 or newer and uv. From a source checkout:

uv sync --locked
uv run prechips --help

The quickstart covers FreeCAD discovery and your first result. The development guide covers tests, native fixtures, package validation and contributor review.

Run the examples

From the repository root:

uv run prechips traveler examples/pivot-shaft/plan.toml --out out/pivot-shaft
uv run prechips traveler examples/rocker-arm/plan.toml --out out/rocker-arm
uv run prechips traveler examples/pivot-bracket/plan.toml --out out/pivot-bracket
uv run prechips traveler examples/cone-pivot-post/built-up.toml --out out/cone-pivot-post
uv run prechips traveler examples/blondihacks-t-nuts/plan.toml --out out/blondihacks-t-nuts
uv run prechips traveler examples/blondihacks-brass-ring/plan.toml --out out/blondihacks-brass-ring
uv run prechips traveler examples/blondihacks-magic-tube/plan.toml --out out/blondihacks-magic-tube

Read the worked tutorial for the input-to-sheet workflow and the input/output demonstration for actual excerpts. The example guide owns each bundle's provenance, demonstration-value disclosures and expected exit. Outputs can still be written when the checker exits 2 or 4.

Example values exercise the rules; they are not measurements to copy into a real shop inventory. An exit-0 report is eligible for approval. Without a valid first-article approval record, the printable sheet remains PLANNED.

The standalone Blondihacks T-nuts example adapts a video process with explicitly selected catalog dimensions. It uses local shop inputs, not harmonic-analyzer exports or the shared demonstration-measurement inventory. Source observations, catalog design choices and missing real measurements remain distinct; the sheet stays PLANNED.

The standalone brass-ring example follows Metal Lathe Tutorial 16: Your First Project, with source-known 360 brass and a PM-1022V lathe. Its local inventory retains real measurement debt; expected exit 4 does not release the PLANNED traveler.

The Magic Tube example follows Metal Lathe Tutorial 18: Your Second Project!: one source bar becomes a blind-bored body and removable 1/2-20 right-hand screw cap. Its adapted 12L14 design and catalog dimensions are not identification or measurements of the video's unknown scrap stock. Retained-piece routing and nominal thread compatibility do not certify engagement, seating or joint turning; the traveler remains PLANNED with expected exit 4.

Mounted slitting saws have bounded offline support for a measured blade/arbor assembly, one straight constant-Z cut and checked clear moves with clamped capture. Geometry, established engagement and mounted body-zero evidence are independent requirements; legacy planar inputs alone remain unresolved. See the tool rules and operation contract.

Registered workpieces preserve distinct members through nested named cut outputs and member-qualified face claims. Posed or borrowed supports share the native collision scene, and requested transverse finder pickups check the full installed stack against actual arriving stock. These offline proofs do not establish physical holding or shop execution. Setup sheets support --detail pro|hobby|pedantic, defaulting to hobby; see the detail-mode contract. Inspection expansion remains separate unfinished work; this support is not CAM or physical safety certification.

Hobby and pro sheets share repeated procedures and consolidate equivalent setup holds. Recursive datum explanations remain in report.json; unresolved settings and required actions stay on the sheet.

CLI: five noninteractive verbs

Command Result
prechips traveler Fresh report, printable HTML and available setup images.
prechips check Fresh report without the printable sheet.
prechips tools Inventory search or a plan-specific measurement-debt checklist.
prechips compare Side-by-side findings for authored candidates.
prechips explain Evidence from selected findings in a saved report.

Use the CLI catalog for arguments, flags, path precedence, output streams and exit codes. The Python callable catalog describes importable implementation functions and their support boundary.

Formats, rules and readiness

The documentation index links the five input formats, rule families and output contracts. Use troubleshooting to resolve an input error or unresolved finding, and the FAQ for product capabilities and limits.

The 0.3.0 plan interface supports explicit tailstock mounting, qualified relative inspection readings and source-bound shared-axis placements. Placements require matching native construction proof before machining coordinates are released; unknown metrology remains debt. These contracts do not qualify held plans or record measurements. Relative-reading sheet presentation and the broader traveler/command-consumer migration remain deferred.

The literal "unknown" is unresolved debt. A source citation, vendor nominal, declared procedure or generated picture does not establish a physical measurement. Approval cannot waive rule errors or required unresolved findings. See eligibility and approval.

An authored op.rpm is a requested speed, not a verified recommendation. The requested value takes precedence over calculation, including an explicit "unknown" request with no computed fallback. Known machine-limit violations are errors; unresolved safety inputs keep a visible STOP. See requested RPM.

Geometry on the FreeCAD kernel

The geometry reference defines face identity, stock evolution, prescribed approach models, sampled workholding and collision screens, caches and renders. Its limits explain what these measurements cannot establish. The architecture guide describes the host/native boundary.

Named finished solids, retained part-off outputs and removable threaded assembly routes require explicit identities and material ownership. A nominal thread match is not proof of engagement, seating, strength or a collision-free assembled cut. The plan reference defines retained outputs and threaded joints; unresolved registration and physical engagement remain debt.

A missing kernel leaves applicable geometry unresolved and produces exit 4 unless a rule error takes precedence with exit 2. A valid explicit FREECAD_CMD can select an installation; an invalid override prevents fallback discovery. See FreeCAD troubleshooting.

Machinist review of a traveler (dev tool)

The development guide describes the blind printed-page review, handbook references and contributor commands. This hosted-model review is separate from the offline product checks and from physical paper acceptance.

Limits

Passing the checker does not prove a continuous cutter path, dynamic stability, real clamping, tool condition, operator execution or finished dimensions. Generated reports and PDFs do not establish physical paper rehearsal, first-article machining or parented live farm telemetry acceptance.

PLAN.md records delivery and acceptance status. The example guide records the limits of the bundled evidence. Internal proposals are separate from the shipped input and rule contracts.

DRO reference

For digital readouts, the zero recipe uses the Electronica EL400 Direction §6.2 and ABS Axis Set §7.4 functions. Preset §8.1 is not a zero-setting command. Mechanical handwheels instead use dro.kind = "handwheel" and their declared units and procedures; they do not acquire digital Axis Set or Preset instructions. Missing graduation, backlash or physical datum evidence remains unresolved. See the readout contract.

The consumer is harmonic-analyzer. The shop uses the el400 emulator. A printed recipe does not certify the emulator or a physical touch-off. See the DRO and print surfaces and the zero-check reference for the checker and printing boundaries.

Metadata

Release files for prechips 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prechips 0.3.0
File Size Uploaded Provenance Actions
prechips-0.3.0.tar.gz 1.1 MB With provenance Details for prechips-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prechips 0.3.0
File Interpreter ABI Platform Actions
prechips-0.3.0-py3-none-any.whl Python 3 none any Details for prechips-0.3.0-py3-none-any.whl

Total release size: 2.3 MB

Release files / prechips-0.3.0.tar.gz

Download URL prechips-0.3.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
aac3dcb329fe199aa97eb31b1c1b6fcb244da14823f7b4783d6051923676a86c
BLAKE2b-256 checksum
How to use checksums
a0de9cc613eb15379ab2391f7c7a8b61da7f44ee156dda2827760843c7aaa0a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / prechips-0.3.0-py3-none-any.whl

Download URL prechips-0.3.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3acc4cd4b746d1edea18349069491f4122523198fb47539a5ba66cb336291663
BLAKE2b-256 checksum
How to use checksums
173ea6fd7f01475a317a1751343fd7175727ba1ba00f384314074cdf62280a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for prechips 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for prechips-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page