Skip to main content

Kit

Kit is a Python SDK for CAD interchange. Readers build a neutral CadDocument from source files. Writers produce target files and report how they represented the source information. Production conversion runs without requiring CAD software.

Wiki

Start here

  1. Read the installation guide.
  2. Select a registered format.
  3. Follow the conversion procedure.
  4. Evaluate the result and acceptance evidence.

The documentation index includes API, model, adapter, research, and maintenance references. The standards scope identifies the writing rules and current conformance limits. The completion roadmap describes the path to full conversion support. Use the conversion backlog to find task ownership, dependencies and existing PRs.

Formats and limits

Format Suffixes Registration
SOLIDWORKS part .SLDPRT Reader and writer
SOLIDWORKS assembly .SLDASM Reader
FreeCAD .FCStd Reader and writer
CATIA V5 .CATPart, .CATProduct Reader and writer
Kit interchange JSON .json Reader and writer
Autodesk Fusion .f3d Reader and writer

Registration does not establish complete feature coverage or lossless translation. Native replay and carrier preservation have different meanings from editable cross-format output. Check the format reference and result for each input. The SOLIDWORKS part writer generates one editable Front-plane line-loop blind boss from a qualified neutral document. Writer scope The Fusion public adapter reads and writes qualified parameter, circle, rectangle, cylinder, cuboid, and frustum documents. Arbitrary feature graphs remain unsupported; strict=False explicitly selects the earlier partial reader.

Command line

Install Kit

Install Git and uv, then open the local Kit repository directory. Use Python 3.14 to enable Fusion research, Fusion native inspection, and Fusion container stream extraction.

uv tool install --python 3.14 .
kit --version
kit --help

For a published release that includes the CLI, use uv tool install unicad-kit. In a development environment, use uv run --frozen kit or uv run --frozen python -m KitCli.

List formats, convert, and inspect files

These commands use local input files. Replace the example filenames with your own paths. Choose unused output paths and quote paths that contain spaces.

Command Use
kit formats List registered formats and their read and write support.
kit formats --json List format IDs, aliases, and suffixes in JSON.
kit convert model.f3d model.json Convert a supported Fusion model to Kit interchange JSON.
kit decode part.SLDPRT -o decoded.json Save a neutral inspection report. Omit -o to print it.
kit decode part.SLDPRT --layer container List the records in a SOLIDWORKS or Fusion container.
kit decode model.f3d --layer native Inspect supported typed Fusion native records.

convert selects the output format from the destination suffix. Use --from and --to to specify format IDs explicitly. Conversion uses strict reading and applies the output policy before writing. Use --configuration NAME for a named configuration or --json for a machine-readable conversion report. For the measured SOLIDWORKS write path, see the requirements for --native-measurement.

decode wraps its neutral document in an inspection report. To create interchange JSON, use kit convert with a .json destination. Use --partial with the neutral view or --stream NAME with the container view. --stream includes one named record as base64 in the report.

Back up existing files before using --overwrite with convert or decode. Conversion can also replace managed companion files. See the command-line guide for all options and result evaluation for acceptance evidence.

Run research tools

For kit research and kit run, use --root with an absolute path to a trusted checkout. Kit executes the research code and SDK from that checkout. In the examples, replace CHECKOUT with that path and use new output directories. Use a checkout that contains the research tools, manifests, and pinned Git objects required by your task.

On Windows, start supervisor and kit run from a checkout with the locked pywin32 development extra. From the Kit repository directory, prefix those commands with uv run --frozen --extra dev --python 3.14. The Windows supervisor setup describes the compatible checkout and console requirements.

Research tool Example or starting command
solidworks kit research --offline --root CHECKOUT solidworks --asset PINNED_PART --output SolidWorksExport
fusion kit research --offline --root CHECKOUT fusion --asset PINNED_DESIGN --output FusionExport
corpus kit research --root CHECKOUT corpus check --manifest CHECKOUT/re/automation/Corpus.json
controller kit research --root CHECKOUT controller --store ResearchState init --max-running 4
supervisor kit research --root CHECKOUT supervisor --config Supervisor.json status
api kit research --root CHECKOUT api status solidworks
codec-patch kit research --root CHECKOUT codec-patch --help
compare See compare decoded exports.

For --asset, use a repository-relative path listed by the selected reader's manifest. Repeat --asset to batch Fusion designs. Keep the decoded documents and receipts together. --offline skips native API verification. To verify through a CAD application, omit --offline after completing the API setup. The API tool also supports Fusion add-in setup with api enable fusion and comparison with saved measurements through api compare. See native API setup and comparison.

After controller initialization, use the same --store path with status to inspect jobs. Configure the worker programs before using the supervisor. With the same --config, use submit Batch.json to add jobs and run --idle-seconds 30 to dispatch them. On Windows, the supervisor requires Windows 10 or later and a checkout with the Windows shutdown protocol. Use codec-patch after a settled research run with a reviewed rule, measured controls, and a pinned container image. See the research CLI guide for pinned input examples, queue setup, and the codec patch procedure.

Start a file or catalogue investigation

After configuring saved run defaults, start a catalogue with kit run solidworks or kit run fusion. The installed CLI reads these settings directly, without a PowerShell profile. Unconfigured formats require the explicit arguments below.

Supply a local CAD file and choose a new run directory outside the selected checkout. Select fusion, solidworks, or auto by input type. From the Kit repository directory, the examples use .. to place the output in a sibling directory.

kit run --root CHECKOUT fusion --input model.f3d --directory ../FusionRun
kit run --root CHECKOUT solidworks --input part.SLDPRT --directory ../SolidWorksRun
kit run --root CHECKOUT auto --input unknown-file --directory ../DetectedRun

Inspect FileScope.json for the decode results and unresolved evidence. To run a catalogue, use --catalogue Catalog.sqlite with fusion or --catalogue FeaturePlan.json with solidworks in place of --input. See catalogue setup, pause and resume, and optional advice. Use kit research --root CHECKOUT TOOL --help or kit run --root CHECKOUT fusion --help for the selected tool's full options.

Compare decoded exports

Install Kit from a trusted checkout containing the comparison command. Use that checkout for --root. Supply two folders of decoded CadDocument JSON and a new output directory. If the folders also contain receipts and summaries, use --pattern document.json to select the standard document filenames. Use the example's --unit mm only when both inputs report geometry in millimetres. Use --left-unit and --right-unit when units differ.

kit research --root CHECKOUT compare SolidWorks Fusion --unit mm -o Comparison

Kit pairs matching relative paths in the two folders. When paths differ, supply a pair manifest with --manifest Pairs.json in place of both folders. Kit compares the features and relationships it can observe. It can match features across different names and native identifiers. At zero tolerance, agreement across that scope with no unresolved issues puts a copy of the first folder's original JSON in Comparison/unified/. Review Comparison/summary.json for outcomes and paths, and Comparison/reports/ for pair details. The unified folder records agreement between the decoded exports. Independent measurements establish CAD acceptance.

Conversion example

Call convert(source, destination) with the input and output paths. Supply a real bracket.SLDPRT file and an unused output path before running this example.

from convert import convert as ConvertDoc

Result = ConvertDoc("bracket.SLDPRT", "bracket.FCStd", allow_carrier=False)

Install unicad-kit in the Python environment that runs your script. The public import is convert. The default allow_carrier=True permits preservation results subject to the registry policy. Set allow_carrier=False for conversion acceptance work. This option is independent of the reader's strict option. The default does not waive the repository's lossless and parametric acceptance requirements.

A successful return reports writer evidence. It does not prove that a target application can open, edit, and rebuild the output. See result evaluation before making an acceptance claim.

Architecture

flowchart LR
    Source[Source file] --> Reader[Reader adapter]
    Reader --> Model[CadDocument]
    Model --> Writer[Writer adapter]
    Writer --> Output[Output and attestation]

The neutral document separates readers from writers. Vendor applications run only in isolated validation workflows after output generation.

Contribute

Activate standard-pr-practice before repository work. Use an isolated worktree and a separate PR. Add a change entry for each repository addition. Record each new discovery as a separate gotcha. Run tests only in remote CI.

Core contributors: Odin Glynn-Martin, Stephen Harcourt, and James Harcourt.

Star history

Kit star history

Distribution

Use the SDK in your Python project.

Use Python 3.11 or later. Activate your project's virtual environment and install Kit from PyPI.

pip install unicad-kit

If no release is available, follow repository installation. See getting started for uv project setup and output limits. See release publishing for the release process.

License

Kit uses the MIT License. Copyright (c) 2026 Odin Glynn-Martin, Stephen Harcourt, James Harcourt. Third-party materials retain their own licenses. See the research artifact policy.

Metadata

Release files for unicad-kit 0.1.0.644

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

Source distribution (sdist)

Source distribution for unicad-kit 0.1.0.644
File Size Uploaded Provenance Actions
unicad_kit-0.1.0.644.tar.gz 2.5 MB With provenance Details for unicad_kit-0.1.0.644.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unicad-kit 0.1.0.644
File Interpreter ABI Platform Actions
unicad_kit-0.1.0.644-py3-none-any.whl Python 3 none any Details for unicad_kit-0.1.0.644-py3-none-any.whl

Total release size: 6.8 MB

Release files / unicad_kit-0.1.0.644.tar.gz

Download URL unicad_kit-0.1.0.644.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
dc9be2674f8d55f9864f2e5c7c499475797e7851af7eec65d1952c6076511fd2
BLAKE2b-256 checksum
How to use checksums
fa09638606eda131ff07d4ec117ce09bd03fea13876db56bc4d99179c1a62549
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 29, 2026.

Transparency log

Release files / unicad_kit-0.1.0.644-py3-none-any.whl

Download URL unicad_kit-0.1.0.644-py3-none-any.whl
Size 4.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6f5e4002007ebac4b7c4dac7b60ee1b3f8bb5d5eb2be61291abd5e007741780f
BLAKE2b-256 checksum
How to use checksums
dcd89c714ba577c25781b4d73ee69e4dd58d5b092f954b2fc98745a9805e305f
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 29, 2026.

Transparency log

Security for unicad-kit 0.1.0.644

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 unicad_kit-0.1.0.644.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 29, 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.1.0.644 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