A 3D printing slicer that runs entirely inside a browser tab, built on a WebAssembly port of the OrcaSlicer kernel. It is a real slicing engine that happens to have no installer — not a preview toy, and not a web front end for a server that slices on your behalf.
Slicing is one of the few remaining steps in the 3D printing workflow that still requires installing a desktop application. That is a real barrier in three situations: someone evaluating a printer before they own one, a shop that wants to quote a customer's model on their own website, and anyone on a machine they cannot install software on — a school lab, a work laptop, a phone.
Uploading the model to a server solves the install problem and creates a worse one. A model file is often the most valuable thing its owner has, and "we slice it on our servers" means handing it over. Compiling the slicer itself to WebAssembly removes both problems at once: no install, and the file never leaves the machine it was opened on. There is no account, no queue and no server-side copy, because there is no server involved in slicing at all.
The commitment that shapes every technical decision here is that the toolpaths must be the ones a desktop slicer would produce. So the algorithm code is not reimplemented — it is the upstream code, compiled. Arachne wall generation, the fill patterns, tree supports, multi-material segmentation, the prime tower, the pressure equalizer and the G-code time estimator come from OrcaSlicer; the resin support point generator, support tree and pad come from PrusaSlicer 2.9.6. A test fails the build when any ported file drifts from its recorded upstream hash.
The same commitment produces the parts that say no. Hollowing, drain holes and organic resin support trees are not ported yet, and they return a typed refusal rather than an approximation. A slicer that answers a hollow request with a solid slice hands you a file that looks correct and prints wrong, and you find out nine hours later.
The rule, stated plainly: it is better to refuse a job than to guess at it. A missing feature costs a second. A wrong one costs a print.
Slicer output is not something you can eyeball. A wall 0.03mm off looks identical on screen and fails on the plate. So correctness here is mechanical rather than visual:
| Gate | What it catches |
|---|---|
| Byte-identical G-code | A fixed model is sliced on default paths before and after a change; the two dumps must differ by zero bytes. This is what allows large refactors — threading, memory restructuring, new features — to land with proof they changed nothing they should not have. |
| 120+ kernel invariants | Properties the output must hold rather than exact bytes: layer counts, solid shells, the fan ramp, arc fitting within tolerance, seam distribution, support geometry, position invariance across six placements on the bed. |
| Upstream source manifest | Any ported file that drifts from its recorded upstream hash fails the build, so "verbatim" stays a fact rather than an intention. |
| Generated parameter reference | The documented kernel parameter table is generated from the reader call sites in the C++ and by probing the settings mapping. Hand-written counts drift; these are checked on every build. |
If you want the long version of how the port was done — what broke, what had to be rewritten and what was measured — that is a separate article: Porting OrcaSlicer to WebAssembly, what actually broke.
This site is a demo, and the demo is the product. What runs at slicer.kimgh06.com/slice is the published npm package three-slicer consumed as a dependency, not a private build with extra privileges. Anything the demo can do, an app installing the package can do.
That matters if you are here for the second use: embedding a slicer in your own product. The package ships the headless kernel for Node or the browser, a React viewer component, a settings panel driven by the full option schema, and the extracted vendor catalogs. The integration demos are four independent projects that each install it from npm — an instant-quote form, a printer product page, a CAD page that re-slices on a slider, and a print farm dashboard.
Three Slicer is AGPL-3.0-or-later, inherited from OrcaSlicer and PrusaSlicer, whose code it contains. In practice: you can use it, embed it and modify it, and if you distribute it or run a modified version as a network service, that version's source has to be available under the same license. If the AGPL is a problem for your product, it is a problem before you start rather than after, so it is worth reading first.
The viewer is the exception. Since 0.3.0 the display half — model loading, G-code parsing, the GPU toolpath preview and the settings panel — is published on its own as three-slicer-viewer under MIT. It contains no OrcaSlicer or PrusaSlicer code (the provenance of every file is recorded in the repository), so it can go into a closed-source product; only slicing itself, and the vendor presets, stay AGPL. Which files may carry which license, and why, is PROVENANCE.md, and a license-boundary test enforces the split on every build. The license page states where the line is, and the licensing guide shows it in code.
Three Slicer is built and maintained by kimgh06, in the open. The work is logged stage by stage in the repository rather than summarized after the fact — the development history records each stage's scope and how it was verified at the time.
Bug reports go to GitHub issues, and questions, ideas and prints go to Discussions. If you are embedding the package and something in the API is awkward, that is worth an issue too — the surface exists to be used by other people's apps.