You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
any2orca inspect <file.3mf> shows what a project holds without converting it. The command line could convert and compare, but not show what the web app shows when a file is dropped on it. inspect prints the printer and slicer version the project was saved for, its process preset, nozzle size and layer height, every filament with its color, material and preset name, and each plate's objects and the filaments it uses, with how each is used and between which heights. --json prints the whole reading as data ("format": "any2orca-inspect", "version": 1; inspection is what the library's inspect() returns), and --max-unpacked raises the size limit as on convert. It reads source projects and converted ones alike, and exits 2 for a file it can't read.
Which filaments each plate uses. A project can have more filaments than the U1 has toolheads, and until now nothing said which of them a plate needs. inspect() now reads it per plate: each filament the plate uses, how (its objects, a part, paint, a filament set for a range of heights, supports and raft, a tool change at a layer) and between which heights, with the most the plate needs at the same height. It counts what the slicer counts: a part's own filament or its object's, none of a part's own filament when it is painted all over, and tool changes at a layer only on a plate that otherwise prints with one filament. A conversion's notes say when a plate needs more filaments at the same height than the U1 prints with (it can't print as it is), when a plate uses more than four but never more than four at once (it prints with filament changes at pauses), and, for a project with more than four filaments, which ones each plate uses. The first two are things to act on before printing, so they come near the top of the notes under their own topic, plate-filaments, right after a filament the U1 can't take as it is, and at the top of report.warnings. Checked against Snapmaker Orca 2.4.1's own slices of converted projects: the same filaments, and the same number at one height, on every plate. The number is an estimate from the model's geometry, not a slice: a filament counts from the lowest to the highest point it is used at. Converted files don't change. Library: inspection.plateFilaments and report.plateFilaments (PlateFilaments, PlateFilamentUse, FILAMENT_USES). CLI: the notes on convert, and a line per plate under --verbose. A new example, examples/plate-filaments, prints a loading plan and exits 1 on a plate the U1 can't print as it is.
A problem report to copy into a bug report. Reporting a file that converts incorrectly used to mean describing it by hand, or attaching a model that isn't yours to share. Now the web app has Copy report on the result and on an error, the command line has convert --report, and the library has problemReport(): a short text with the any2orca and profile data versions, where it ran, the source project's slicer, printer and process preset, how many plates, objects and filaments it has, each filament's material, color and preset name, which filaments each plate uses, the options, the profile it was converted with or the error's code and the step it stopped at, and the conversion's notes. It is built on your machine and sent nowhere; you paste it where you choose. It never holds the file's name, object or plate names, a path or an error's message: preset names are cut at the "(name.3mf)" Bambu Studio adds to an edited preset, and a note's text is included only when its wording can't quote the file (any other note is listed by its topic). The bug report form now takes it as one box. Library: problemReport(), describeEnvironment(), describeUserAgent(), PLAIN_NOTES. The batch-script example writes one for each file that fails.
A note when a plate uses filament 17 or higher together with the filament numbered 16 lower. Snapmaker Orca 2.4.1 can leave a filament numbered 17 or higher out of some of its layers, with no message, when the filament 16 numbers below it prints on the same plate (17 with 1, 18 with 2), and 2.4.0's source builds its tool order the same way; a fix is proposed in Snapmaker/OrcaSlicer#1208. any2orca keeps every filament and its number, so the file doesn't change: the conversion's notes now name the plate and the two filaments, say what the release does, and give the way around it (separate plates, or a number from 1 to 16 for the higher-numbered filament), so the sliced preview gets a look before printing. A filament 17 or higher that is alone on its plate, or there without that partner, gets no note: in test slices it printed every layer. The note follows the release the file is converted for: each release's entry in the profile catalog now says the highest filament number it prints in every layer whatever else is on the plate, read from that release's own source code when the profile data is generated, so a release with the fix has no limit and gets no note. Library: ProfileCatalog.sharedLayerFilamentLimit (16 for 2.4.0 and 2.4.1, null for a release without the limit). Profiles: slicer.sharedLayerFilamentLimit in each release's index.json. Converted files don't change.
Other
A Dockerfile for hosting the web app yourself.examples/self-hosting gains a Dockerfile that builds the web app from the repository and serves it with the example's own nginx config, so a container has the same security headers, caching and 404 as the nginx and Apache configs there. Its tests check it against the repository on every run and, when asked for, build the image, run it and put the same header checks to the real web app. docs/run-the-web-app.md shows the two commands.