Alle Anleitungen
Modell vorbereiten
- 04Move, rotate, scale and auto-orient
- 05Check and repair a model
- 06Cut and split a model
- 07Arrange models and use more than one plate
- 08Aushöhlen und Ablauflöcher
- 09Stützen: automatisch, dann von Hand
- 10Press a texture into the surface
- 11Write text on a model
- 12Combine models: union, subtract, intersect
- 13Read the layer check before you print
Das Projekt unterstützen
Noch nicht auf Deutsch übersetzt, daher die englische Fassung.
Drucken · Anleitung 19 von 21
Convert a sliced file to another format
You'll end with the same layers in another printer format, such as .ctb to .goo, with no model and no new slice, in a few minutes. Encrust copies the masks unchanged, so the printer's panel must match the file's. On any other panel, the file has to be sliced again.
A .ctb becomes a .goo with no model and no new slice, as long as the printer’s LCD panel is the one the file was sliced for. Encrust copies each layer’s picture, its mask, across unchanged and never rescales one, so a panel one pixel wider is refused.
That rule is less tight than it sounds. In the printer profiles Encrust ships, 165 of 199 share their panel with at least one other printer, and 136 share it with a printer that reads a different format (counted from the profiles: the same pixels, and within 1 % in millimetres).
Sharing a panel doesn’t make a file safe to move, though. A test part sliced for one printer and converted for another with the same panel came out with its layers mirrored, and Encrust gave no warning. The same printer in a new format has no such problem. What the new file keeps lists what carries over, and when to slice again covers the rest.
Before you start
There is no convert button in the window. If you’d rather stay in the window, open the file and slice it again, which costs some detail. To convert, you need the encrust command, which the command line guide sets up, and a resin of yours in Encrust. Open a sliced file explains how to read a file’s report.
Encrust reads a file from any slicer in every format the command lists, the encrypted .ctb included.
Read what the file was sliced for
- Run
encrust info plate.ctb. - Note the
panelrow: pixels and, where the file records it, millimetres. Notelayersandexposuretoo.
Compare it with the printer
- Run
encrust profiles listto find the printer’s id. - Run
encrust profiles show elegoo-saturn-4-ultra, with your printer’s id. - Compare
width_pxandheight_pxunder[display]with the file’s panel. They must match exactly. - Compare
width_mmandheight_mm. They must be within 1 % of what the file records. A file that records no size passes this check. - Note the
mirrorline if the file was sliced for a different printer. Two printers, one panel says what it decides.
Convert the file
Run:
encrust convert plate.ctb --printer elegoo-saturn-4-ultra --resin my-grey -o plate.goo
The extension of -o picks the format, and it must name one: unlike slice, convert writes no folder of PNG layers. A .ctb is written at the revision that printer’s profile names unless --ctb-version says otherwise. The command ends with a line such as “Converted 200 layers into plate.goo, 4.0 ml of resin”.
Name a resin even though the command runs without one. The lifts and waits come from the resin, and with none named the file gets Encrust’s stock numbers.
Convert doesn’t check that the printer reads the format you asked for. A .goo written for an Anycubic Photon Mono M5 finished with no warning in our run. The printer’s page under Printers names its format.
Read the new file back
Run encrust info plate.goo. The panel, layers and exposure rows match what you noted. Where the new format carries as many greys as the old one, the lit pixels total matches too: 175,385,600 on both sides for our 200-layer test box, Sonic Mighty 12K .ctb to Saturn 4 Ultra .goo.
What the new file keeps
Encrust carries the layers and exposures and replaces the motion:
| In the old file | In the new file |
|---|---|
| Masks | Copied pixel for pixel, turned only where the new format lays the plate out differently |
| Anti-aliased edges | Kept, as far as the new format carries grey |
| Layer height | Kept. A stack of varying heights is refused |
| Exposure, bottom exposure, bottom layers | Kept |
| A transition ramp above the bottom layers | Kept, stated again as a transition |
| Any other exposure change by height | Kept as exposure by height. Encrust refuses this for a printer that reads only the header |
| Lift, retract, waits | Replaced by the resin you name |
| Preview pictures | Blank |
Grey depends on the target format, and each format’s table gives its levels. A format with fewer levels throws away the finest steps of grey: .ctb keeps seven bits, .pwmx and its relatives four, and .goo 5.1 eight levels. A one-bit format lights a pixel from grey 128 up. Lost levels don’t come back: a .goo converted from a .ctb has at most the .ctb’s 128.
In our test the layer of a .goo converted from a .ctb matched the .ctb pixel for pixel. Against a .goo sliced directly from the model, 2,493 of its 59 million pixels differed in grey, and none crossed half grey.
Edge greys also stay as the old file wrote them. The Photon Mono M5 profile sets a lowest grey of 63, which a slice applies and a conversion doesn’t: the converted layer had 16 grey levels, the sliced one 11.
Two printers, one panel
Encrust takes the file as sliced for the printer you name. Changing format on the same printer is exact. A file sliced for a different printer can follow other layout rules than the printer you name, and Encrust can’t tell. By the profiles’ mirror settings and the named exceptions, 66 of the 199 share a panel with a printer laid out differently.
These panels are shared across formats:
| Panel | Printers |
|---|---|
| 11520 × 5120 px, 218.88 × 122.88 mm | Elegoo Saturn 3, Saturn 3 Ultra, Saturn 4, Saturn 4 Ultra (.goo); Anycubic Photon Mono M5 (.pm5), M5s (.pm5s); Phrozen Sonic Mighty 12K (encrypted .ctb, 123.12 mm, within the 1 %) |
| 8520 × 4320 px, 153.36 × 77.76 mm | Elegoo Mars 4, Mars 4 Ultra, Mars 5 Ultra (.goo); HIFUN HF-L1-9K (encrypted .ctb); Creality HALOT-X1 Neo (.cxdlpv4) |
| 5448 × 3064 px, 277.848 × 156.264 mm | Elegoo Jupiter SE (.goo); Elegoo Jupiter, Peopoly Phenom Prime (encrypted .ctb) |
We sliced one asymmetric 2 mm part for each printer, converted it, and compared layer 10 with a file sliced directly for the target. These are comparisons of masks on files Encrust wrote, not prints.
| Sliced for | Converted for | Layer against a direct slice |
|---|---|---|
| Saturn 4 Ultra (.ctb) | Saturn 4 Ultra (.goo) | Same, grey aside |
| Sonic Mighty 12K (encrypted .ctb) | Saturn 4 Ultra (.goo) | Rotated 180° |
| Saturn 4 Ultra (.ctb) | Photon Mono M5 (.pm5) | Rotated 180° |
| Creality CT-005 Pro (.cxdlp) | Elegoo Saturn (.ctb) | Mirrored along X |
Read the mirror line of both profiles:
- Same value on both, and neither printer among the four below: the layers land as they did.
normalordlp-normalon one andlcd-mirroron the other: the print is a mirror image. Text reads backwards and a left-hand part becomes a right-hand one. Slice again.- One of the Elegoo Saturn 3 Ultra, Jupiter SE, Saturn 4 Ultra or Mars 5 Ultra against an
lcd-mirrorprinter not on that list: the layers are rotated 180°. The shape is right, but it lands at the opposite end of the plate.
A .photons or .cxline file keeps a layout of its own, so these three cases don’t apply to it.
When to slice again
Slice again when the panel differs, when the layers vary in height, when the two layouts would mirror the print, or when you want another layer height, since a conversion keeps the old one. With the model at hand, slice it for the new printer as usual.
Without the model, choose File > Add model… in the window and pick the sliced file. Encrust rebuilds a model from its layers. Choose the new printer in Machine and resin and click Slice to .goo, or the button naming your printer’s format. This costs detail: the old supports and raft become part of the model, edges round off by about a layer height, and the layer steps stay. Open a sliced file has the details.
If something goes wrong
“… a mask is not resampled”
The file’s pixel count isn’t the printer’s. Check the id you gave, or slice again.
“… the print would come out at the wrong scale”
The pixels match and the panel size doesn’t. This also stops files from some Anycubic printers. The .pwmx family states one pixel size, so where a panel’s pixels aren’t square, the size Encrust reads from the file is wrong. A .pm5 for the Photon Mono M5, with pixels of 19 × 24 µm by its profile, is refused even for that same printer. Open it in the window and slice again.
“… does not read the per-layer tables, so exposure cannot vary by height”
The file changes exposure partway up, and the printer reads only the file’s header. A plain ramp above the bottom layers is fine; another pattern isn’t. Convert for a printer with per-layer settings, or slice again with one exposure.
Quellen
- Encrust: estimate, info and convert · What a conversion copies, what it takes from the resin, and what it refuses
- Encrust: the conversion · The panel checks and the header the new file carries
- Encrust: how a file lays the plate out · The mirroring rule and the four machines that are exceptions to it
- Encrust: the encrypted .ctb · The container read as input, whichever program wrote it