MCPcopy Index your code
hub / github.com/connorslade/mslicer

github.com/connorslade/mslicer @0.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.8.0 ↗ · + Follow
1,142 symbols 3,128 edges 167 files 86 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

mslicer Build

A high-performance, open-source slicer for MSLA resin printers. Supports the following output formats: Chitu (.ctb), Elegoo (.goo), NanoDLP (.nanodlp), and Vector (.svg). You can read more about the development of this project on its project page. Often 20× to 120× faster than competing slicers, see the benchmark results.

Installation

You can download stable builds for Linux or Windows from the GitHub Releases page. Stable Linux builds are also available on Flathub and Nixpkgs. You can find the latest development builds for Windows, Linux, and Mac OS on Github Actions, just open the latest workflow run and download the correct artifact for your system.

If you would rather build from source, just have the latest stable version of the Rust toolchain installed and build the binaries you want (mslicer, slicer) as shown below.

git clone https://github.com/connorslade/mslicer
cd mslicer
cargo b -r -p mslicer

Demo Video

Here is a demo video showing mslicer being used to slice and print Treefrog by Morena Protti. The video is also hosted on YouTube (here) if the one below doesn't play.

https://github.com/user-attachments/assets/3dfae18c-ffa2-4cc8-a322-ad2d5b38d31f

Related Projects

  • msla-thumbs — Adds thumbnail support to KDE for sliced .goo, .ctb, and .nanodlp files
  • UVtools — A great tool for inspecting and post processing sliced msla files of all kinds
  • Runebrace — Closed-source support placement software. The recommended way to get support in mslicer for now

Extension points exported contracts — how you extend this code

Task (Interface)
Async operation that can be polled every frame. [14 implementers]
mslicer/src/task/mod.rs
SlicedFile (Interface)
Sliced file interface. Implemented by all format File types. [4 implementers]
common/src/slice/mod.rs
CommandTrait (Interface)
(no doc) [3 implementers]
remote_print/src/commands.rs
Primitive (Interface)
(no doc) [3 implementers]
slicer/src/geometry/mod.rs
LineGenerator (Interface)
(no doc) [3 implementers]
mslicer/src/render/workspace/line/mod.rs
EncodableLayer (Interface)
Layer encoder interface. Implemented by all format layer encoders. [3 implementers]
common/src/slice/mod.rs
MqttHandler (Interface)
(no doc) [1 implementers]
remote_print/src/mqtt/mod.rs
PointGenerator (Interface)
(no doc) [1 implementers]
mslicer/src/render/workspace/point/mod.rs

Core symbols most depended-on inside this repo

new
called by 864
mslicer/src/windows/top_bar.rs
iter
called by 145
mslicer/src/task/mod.rs
push
called by 124
common/src/container/bitvec.rs
clone
called by 86
mslicer/src/project/model.rs
read_f32_be
called by 59
common/src/serde/deserializer.rs
write_f32_be
called by 59
common/src/serde/serializer.rs
add
called by 56
mslicer/src/task/mod.rs
write_u32_le
called by 51
common/src/serde/serializer.rs

Shape

Method 680
Class 221
Function 187
Enum 37
Interface 17

Languages

Rust100%

Modules by API surface

slicer/src/mesh.rs36 symbols
common/src/serde/deserializer.rs33 symbols
mslicer/src/app/slice_operation.rs29 symbols
common/src/serde/serializer.rs25 symbols
mslicer/src/project/model.rs22 symbols
mslicer/src/app/remote_print.rs21 symbols
remote_print/src/mqtt_server.rs20 symbols
mslicer/src/task/mod.rs18 symbols
common/src/container/rle/png.rs18 symbols
mslicer/src/ui/state.rs17 symbols
common/src/container/image.rs17 symbols
common/src/slice/config.rs16 symbols

For agents

$ claude mcp add mslicer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact