License

The viewer is MIT. Slicing is AGPL.

Three Slicer is published as two npm packages under two licenses. You can use the viewer on its own — to open and display G-code, 3mf projects and models — under MIT, in closed-source products. Slicing comes from the other package, and using it puts your application under the AGPL.

The two packages

PackageLicenseWhat it contains
three-slicer-viewer MIT The React viewer, model loading (STL, OBJ, 3MF, AMF, PLY), the G-code reader, the GPU toolpath preview, 3mf project read and write, and the settings panel. No OrcaSlicer or PrusaSlicer code.
three-slicer AGPL-3.0-or-later The slicing kernel (a WebAssembly port of OrcaSlicer, with PrusaSlicer's resin support code), its worker, the vendor printer / filament / process presets, and the option labels, tooltips and enable rules extracted from OrcaSlicer. It depends on three-slicer-viewer.

Where the line is

The line is an import. An application that imports only three-slicer-viewer stays under MIT. An application that imports anything from three-slicer — the kernel worker (three-slicer/client), the presets (three-slicer/settings), or the extracted data — includes AGPL code, and the AGPL applies to that application.

Viewing G-code and 3mf files: MIT. Slicing in your application: accept the AGPL.

A slicing worker you write yourself can be plugged into the MIT viewer instead. That keeps the AGPL out only if the worker contains no AGPL code; a worker built from OrcaSlicer or PrusaSlicer sources carries their license with it. The licensing guide shows each case in code.

What the AGPL asks of you

The AGPL-3.0 applies when you distribute the software and also when users interact with it over a network. A website that slices in the browser with three-slicer is both: the kernel is sent to the visitor's browser, and the visitor uses it through your site. In that case the complete corresponding source of your application has to be available to its users under the AGPL. Using the package privately, without distributing it or offering it to others, asks nothing of you.

The license comes from upstream: OrcaSlicer and PrusaSlicer are AGPL-3.0, and Three Slicer contains their code. It is not a choice this project can relax.

This website

The slicer at slicer.kimgh06.com/slice runs three-slicer in your browser. Its complete source is at github.com/kimgh06/Three_Slicer. Models you open are processed in your browser tab and are not uploaded. The software is provided without warranty, as stated in sections 15 and 16 of the AGPL-3.0.

Details

Which files carry which license, and why, is recorded in PROVENANCE.md; a license-boundary test fails the build if the MIT package ever imports the AGPL one. The full license texts are in each package. This page summarizes them and is not legal advice.