Печать смолой, форматы файлов и устройство слайсера
Заметки из работы над Encrust — с замерами и разбором байтов.
Форматы файлов
What your printer ignores in the file you slicedEN
Resin printer firmware matches the machine name written in a sliced file, and no file format says whether it obeys per-layer settings or variable layer height. Of the 199 profiles Encrust ships, 32 turn per-layer settings off and none claims variable height. In one print on our Saturn 4 Ultra, a file with the flag on stalled the plate; with it off the same job finished.
6 мин чтенияOne plate, 29 files: what each container weighs and keepsEN
The same 30 mm cube, sliced once, is 4.3 MB as an Anycubic .pwmx and 145 MB as a .cbddlp, because .cbddlp writes each layer eight times to carry grey. The files differ at the edge pixels, not in the bulk of the light. Measured with Encrust on one 1440 x 2560 px panel; nothing was printed.
8 мин чтенияWhich file does your resin printer read?EN
It depends on the machine, not the brand. In Encrust's catalogue of 199 profiles from 24 makers, 28 Anycubic machines take 27 different extensions, while 25 Elegoo machines take four names, mostly .goo and .ctb. One app writes the file each profile names, in the format that machine reads.
5 мин чтения
Печать смолой
Open-source resin slicers, side by sideEN
Three open-source resin slicers written in Rust are out today: Encrust, DragonFruit and mslicer. UVtools works on files that are already sliced. Encrust checks every layer of the file it writes and is the one of these with a browser release, mslicer publishes its benchmark method and models, and DragonFruit has plugins and an alliance behind it.
4 мин чтенияHalve the layer height and the exposure does not halveEN
Going from 0.05 to 0.03 mm takes about 82% of the exposure, not 60%, and halving to 0.025 mm about 78%, not 50%. These figures are computed, not measured, from the Jacobs working curve with a penetration depth of 0.10 mm, which Encrust assumes because no resin it ships states one. Your resin maker's number for your height comes first.
5 мин чтения
Как устроен слайсер
A sliced file is somebody else's inputEN
Encrust's readers could, until the fuzzers found it: a header's layer count made one reserve memory for gigabytes of rows. Three guards now refuse such files with an error: a count checked against the file's size, a ceiling on the panel, and an archive entry grown under a cap.
5 мин чтенияA resin slicer in a browser tabEN
Yes. The same window as the desktop build runs in a browser tab, and a 998 000-face plate goes from the Slice button to a downloaded file in 1.2 s. What it costs is the printer network, a nightly toolchain and two response headers.
7 мин чтения