File formats Numerical accuracy

One conversion engine for every app: the design discussion

Each CadCraft app opens and saves the formats its own work needs. We are building one conversion engine in the open-source core, so every app can open and save every format. This page lays out the design and the reasoning behind it, topic by topic, and says which points are decided and which are still open. Tell us where you disagree.

  • Status: in design
  • Updated December 2, 2026
  • 16 topics
  • Oneneutral model in the middle of every conversion
  • Everyapp opens and saves every format the engine handles
  • Everyconversion says what it kept, what it approximated and what it left out
  • Yoursfiles are converted on your own machine, never uploaded

Direction

What we are building and why.

Every app should open and save every format

Decided

Why should the format you can open depend on which app you are in?

The eight apps grew their file readers one at a time, each for the work that app does. A part file belongs in PartCraft, a building model in BimCraft, a drawing in CadCraft. That is the right home for editing, but it is the wrong rule for opening. A structural detailer receives a part file; an estimator receives a building model; a drafter receives a solid and needs its outline.

The goal is simple to state: if any CadCraft app can read a format, all of them can, and the same holds for saving. What each app does with the result differs, and that is by design: CadCraft makes a drawing of it, ModelCraft a face model, PartCraft a solid you can keep working on.

Reply to this topic

Sign in or create a free account to reply.

One neutral model in the middle, not a converter for every pair

Decided

Should each format convert straight to each other format, or all of them through one shared model?

With a converter per pair, twenty formats need 380 converters, and every one of them is a place for two apps to disagree. With one neutral model in the middle, each format needs one reader and one writer. A new format is available to every app, and to every other format, the day its reader passes.

Straight conversion, pair by pair

For
Can be tuned for one pair of formats.
Against
Grows with the square of the number of formats. The same file gives different results in different apps.

One neutral model (chosen)

For
One reader and one writer per format. One result everywhere. One place to check accuracy.
Against
The model must be rich enough that nothing is lost just by passing through it. That is the next topic.
Reply to this topic

Sign in or create a free account to reply.

Our own engine, in the open-source core

Decided

Depend on someone else's converter, or own the engine?

File conversion is too close to the center of a CAD suite to leave outside it. The engine is ours: we maintain it, we answer for its results, and it is part of the Apache-2.0 core that every app is built on.

It does not start from nothing. Its foundation is the open-source cadmpeg project and its neutral model, CADIR, both under the Apache-2.0 license, with credit kept in the source. From there it is developed as CadCraft's own engine, against our own accuracy gates and for the needs of our apps.

Reply to this topic

Sign in or create a free account to reply.

The neutral model

What sits in the middle, and what it has to carry.

What the neutral model has to carry

Proposed

How much of a CAD file must survive the trip through the middle?

A neutral model that only holds triangles makes every conversion a downgrade. Ours holds the exact description, so a cylinder stays a cylinder and a hole keeps its diameter.

  • Exact shape: the full chain of body, shell, face, loop, edge and vertex, each on its own curve or surface (planes, cylinders, cones, spheres, tori, NURBS, and the curves drawn on a surface).
  • Assemblies: products, the parts they are made of, and where each copy sits.
  • Design intent, where the file has it: sketches, features, dimensions and manufacturing notes.
  • Appearance: colors, materials, layers and names.
  • A display mesh beside the exact shape, never in place of it.
  • Fixed units inside the model (millimeters and radians), with the file's own units remembered for the way back.
  • Tolerances, stated by the file rather than guessed.
Reply to this topic

Sign in or create a free account to reply.

Solids, drawings, buildings and face models in one document

Proposed

One model for everything, or one per kind of data?

An exact solid, a 2D drawing, a building model and a face model are different kinds of data, and squeezing them into one shape loses what makes each useful. The proposal is one core document with a section for each kind, sharing units, names, layers, appearance and identity.

Moving between kinds is a named step, not a side effect: a solid becomes a face model by meshing it to a stated tolerance, a model becomes a drawing by projecting it, a building element becomes a solid by taking its geometry and keeping its properties as attributes. Each step reports what it did.

  • Exact solids and surfaces (STEP, IGES and native part and assembly files).
  • 2D drawings (DWG, DXF): entities, blocks, layers, layouts, dimensions and text.
  • Building models (IFC): elements, their properties, storeys and relations.
  • Face and mesh models (SketchUp, glTF, OBJ, STL, USD).
  • Point clouds, kept as their own kind.
Reply to this topic

Sign in or create a free account to reply.

Nothing is lost without saying so

Proposed

What should happen when the target format cannot hold something?

Every format holds things another cannot. A converter that stays quiet about that is guessing on your behalf. Each conversion returns a report with every item in one of four states: kept exactly, worked out from what the file says, approximated (with the tolerance used), or left out (with the reason).

Records the engine does not understand are carried along untouched where the format allows, so a file can be written back without damaging the parts nobody edited. The apps show the report in plain words before you rely on the result.

Reply to this topic

Sign in or create a free account to reply.

The same file gives the same result, every time

Proposed

Can two conversions of one file be compared?

Every item in the neutral model has a stable identity, and the model is written in one canonical order. Converting the same file twice gives the same bytes, on every machine. That makes three useful things possible: comparing two versions of a file item by item, checking a conversion by converting it back, and proving that the browser and the desktop app agree.

The model itself has a version number. A model written by an older engine is read by a newer one.

Reply to this topic

Sign in or create a free account to reply.

Formats

How a format gets in, and how you know what to expect from it.

Formats owned by one company are included

Decided

Should the engine read native files from other CAD systems, or only open standards?

Open standards are the long-term answer, but the file you were sent is the file you have. The engine reads native part and assembly files from other CAD systems as well as the open standards.

Those readers are written from public documentation and from test files we make ourselves. They never use another company's toolkit, and never its code. Because the owner of such a format can change it with any release, each one is watched, and the file formats page states which versions are read.

Reply to this topic

Sign in or create a free account to reply.

A format is listed after it is measured

Proposed

When does a format count as supported?

A format appears on the file formats page for an app when a person can reach it in the released app. For the conversion engine we add a second condition: it has passed its gates on a set of real files.

  • Every file in the set reads, with its denominator given: so many of so many.
  • Counts of bodies, faces, edges and vertices match an independent geometry kernel.
  • Volume and surface area match the same independent kernel, to a stated tolerance.
  • A file written by the engine is read back by that independent kernel and found valid.
  • Numbers are 64-bit throughout, as everywhere in CadCraft.
Reply to this topic

Sign in or create a free account to reply.

The file formats page answers from the engine

Proposed

How do you find out, before you try, what a format will keep?

For each format the engine states what it can do: open, save, or only inspect; which versions; and which kinds of data it carries (exact shape, assemblies, colors, design intent). The file formats page will show that per format and per app, so compatibility is something you look up, not something you discover halfway through a job.

Reply to this topic

Sign in or create a free account to reply.

The engine

Where it runs and how the apps use it.

It runs on your machine, in the browser and on the desktop

Proposed

Should conversion happen on a server?

No. Your files stay with you. The engine is written in Rust and built two ways from the same source: to WebAssembly for the apps in the browser, and natively for CadCraft Studio. Both must produce the same neutral model for the same file, byte for byte, and that is one of the gates.

Conversion runs off the main thread, so a large file does not freeze the app, and it can be stopped.

On a server

For
One place to update. Big machines.
Against
Your files leave your machine. Nothing works offline.

On your machine (chosen)

For
Private. Works offline. The same engine in every edition.
Against
The engine has to be small and fast enough to download and run in a browser.
Reply to this topic

Sign in or create a free account to reply.

One conversion service, one adapter per app

Proposed

How do eight different apps share one engine?

Each app keeps its own model, because that is what makes it good at its job. Between that model and the neutral model sits one adapter per app, in both directions. Every app calls the same conversion service for open, save, inspect and batch conversion, and add-ons can use it too.

Each app's own file format stays as it is. The neutral model is how files move between formats and between apps; it does not replace the file you save your work in.

Reply to this topic

Sign in or create a free account to reply.

Files from strangers are treated as untrusted

Proposed

What stops a damaged or hostile file from taking the app down?

A file is input from outside. Every reader works within a budget of memory, time and nesting depth, checks sizes before it allocates, and refuses a file with a plain message instead of crashing. The readers are tested with deliberately damaged files as well as good ones.

Reply to this topic

Sign in or create a free account to reply.

Open questions

Where your answer changes what we build.

Which formats first?

Open question

Which files do you receive that you cannot open where you need them?

The order of work follows what people need. Tell us the format, the system it came from and its version, and the app you wanted to open it in.

Answer this question

Sign in or create a free account to reply.

What must survive a round trip in your work?

Open question

When you send a file out and get it back, what can you not afford to lose?

Exact shape is a given. Beyond that, the answer differs by trade: manufacturing notes and tolerances for a machine shop, part names and the assembly tree for a fabricator, properties and classifications for a building model, layers and line weights for a drawing. Your list sets what the neutral model carries first.

Answer this question

Sign in or create a free account to reply.

Should add-ons be able to bring their own formats?

Open question

If an add-on teaches the engine a new format, should every app get it?

An add-on that reads a trade's own files, steel fabrication files for example, could register its reader with the conversion service, so the format becomes available in every app that has the add-on. The question is how such a reader is held to the same gates as the built-in ones.

Answer this question

Sign in or create a free account to reply.

Join the discussion

  • Reply under a topic. Sign in and post your reply right under the topic it is about. Replies show here at once and on the engine's roadmap item.
  • Send a file that should convert. A real file teaches the engine more than a description. Share a test file privately; it is used for testing only.
  • Talk it through. The same topics are discussed on the CadCraft Discord.
  • See what works today. File formats lists what each released app opens and saves now.
  • This page changes. When a proposed point is decided, or an answer changes the design, the topic is updated here and its date at the top moves.