Repository navigation
SlicerX engine 0.2.7
·
1962 commits
to main
since this release
The sx, sx-geom and sx-link command line tools and libslicerx (the C ABI, with include/slicerx.h) for macOS (universal), Windows (x64) and Linux (x64). SHA256SUMS.txt has the checksums. The macOS binaries are signed with a Developer ID and notarized. The integrator kit 0.2.7 ships with this release.
What changed since 0.2.6:
Fixes
- A color change now pauses the print so you can swap filament by hand, instead of writing
M600. The pause isM400 U1on Bambu Lab printers, the profile's own pause on other printers, andM601when the profile has none. On a plate printed by object, each object pauses at that height. - A tool change placed at a height in a 3MF project now happens on that layer instead of being ignored. It applies on a plate that prints one filament, by layer. Any other plate slices as before and carries a
tool_change_skippedwarning. - Top surfaces no longer spread into a band under the walls of a part that rises from them.
- On Bambu Lab printers, aegis walls leave the same top surface edge and gap fill beside a rising part as classic walls.
- Top surfaces and first layers inside a single wall spread their lines evenly from the wall, so narrow strips no longer miss lines.
- Spiral vases whose outline moves between separate parts travel the short way to the next one.
- Spiral vase prints no longer travel through a printer's keep-out areas when the spiral moves to another part of the object. The travel goes round the zone like any other travel, and the slice report lists any travel that still runs into one.
- Bed mesh probing on a plate printed by object covers every object, not only the first.
- Parked Snapmaker U1 heads always drop to their standby temperature between uses.
- Multi-color prints on the Snapmaker U1 count the 5 s each tool change takes in the print time.
- A request's plate is centered on the printer's printable area. On the Snapmaker U1 (area from 0.5, 1) an object without a position now lands at 135.5, 136, where
sx slice --requestused 135, 135.
New
sx remap-toolheads <in.gcode> --map 0=2,1=3 -o <out.gcode>moves the filaments of a sliced Snapmaker U1 file onto other toolheads without a printer. It prints what changed and the output's SHA-256. A file it cannot rewrite safely exits with code 3, names the line and reason, and writes nothing.- A request can set tool changes by height or layer (
toolChanges). From the first layer that reaches the height, every object prints in the change's filament, with the printer's change G-code.sx sliceon a 3MF plate andsx slice --requeston a project plate apply the project's own tool changes. - When a Snapmaker U1 pauses because a toolhead ran out of filament, the printer status now names the toolhead: "Paused: filament runout on T2".
live.runoutSlotslists the slots. The status query asks each toolhead's filament sensor only while a job prints or is paused.
Integrator kit
- The kit has an optional STEP reader tarball,
slicerx-step-reader.tgz, listed inkit-manifest.jsonas optional and inSHA256SUMS.txt. Install it beside the MCP tarball (npm install ./kit/slicerx-step-reader.tgz) to read STEP files. The MCP tarball itself is unchanged. @slicerx/step-readeris the app's STEP reader as a package, for browsers, workers and Node. It reads STEP files saved with a UTF-8 byte order mark, which were refused as not STEP before. The memory cap is exported asSTEP_MAX_MEMORY_MB, so a browser worker can pass the same cap: a file that needs more fails without_of_memoryinstead of slowing or crashing the tab.slicerx_step_readreads a STEP file and, withoutputset tostlorobj, writes the meshes to a new file in the output folder. Without the reader installed it is refused withnot_supported, anddetails.installnames the kit tarball.slicerx_remap_toolheads1.0.0 runssx remap-toolheadsfor MCP clients and returnsgcode_path,sha256,source_sha256,tools_used,unused_map_toolsandcounts. A file it cannot rewrite is refused with the new error coderemap_refused.slicerx_printer_statusandprinter.statuscarrylive.runoutSlotson a Snapmaker U1: the slots of the toolheads whose filament sensor reports no filament during a job, absent when none does.- A slice through the MCP server uses the printer maker's process preset, machine settings and default filament, as the app does. A slice that names no filament gets the filament the app gives a fresh plate on that printer, listed in
applied. Estimates change with it: a 20 mm cube on the Bambu Lab A1 goes from 6 to 9 minutes, and on the Snapmaker U1 from 9 to 15. On a Bambu Lab printerprocess:standardleaves supports off, as the maker's Standard does. Namingprocess:<tier>aftermachine:<id>no longer sets a dual nozzle printer back to one nozzle. slicerx_slice_fileandslicerx_estimate_fileplace a file in the middle of the printable area on printers whose area does not start at 0, 0, such as the Snapmaker U1.slicerx_slice_filewithproject_settingscounts the filament a project's tool change prints in among the plate's filaments, so a box on filament 2 with a change to filament 4 slices with four filaments' settings.slicerx_arrange1.10.0 keeps every object on a plate and turns each copy where that fits more, as the app's Arrange does. Copies with no room go to new plates.movedlists each move by object and plate, andturnslists every copy of the arranged object with its plate andturnDeg.slicerx_project_duplicate1.1.0 never puts a copy past the bed's edge and keeps the turn of a copy arrange turned.slicerx_project_show1.1.0 gives each placement'sturnDeg.slicerx_arrangeand Fill bed place as many copies of a box as fit in rows. Before, the nest could leave one out: of eight 10 x 50 mm bars 2 mm apart on a 100 x 60 mm bed it placed seven.- Printers reached through an Obico tunnel: a printer config can name
tunnel: "obico"for a Moonraker or OctoPrint printer, with the tunnel's user name and password in the keychain. sx-link refuses any other host off the local network. The new error code istunnel_data_limit.slicerx_printer_tunnelreads the tunnel, its problem, this month's data and Obico's failure score, andslicerx_printer_snapshotrefuses such a printer withnot_supportedanddetails.reasoncamera_off_tunnel. @slicerx/embedbuilds big parts (20,000 triangles or more) in a worker of its own, so a big model shows at once without holding the page. ThemeshWorkerprop is on by default;falsebuilds on the page, and<sx-viewport>takesmesh-worker="off".@slicerx/viewport: copies of one object share their geometry, so duplicating is faster and copies add no graphics memory. The shader warm-up waits until big parts have their final geometry, which removes a stall of about a second on computers that draw 3D in software.@slicerx/viewport/edge-draglets an app built on the viewport offer drag to another plate.enableEdgeDrag(viewport, options)turns it on: a person drags a part past a bed edge and the host moves it to another plate or a new one. The host supplies its plates, the shown plate and the move.dropTarget,notify,obstaclesandonSwitchfit it to the host's own bars, andcanMovecan keep some objects on the bed. Colors are the--sx-edge-*custom properties (or thethemeoption) and every string can be replaced throughlabels. On a phone the view slides toward the side a finger's part heads for, so the line arms with the part and the finger on screen, and a drop with no plate bar shows the plate at once with a short "Moved to Plate 4" note. The viewport's main entry does not grow; the gesture code loads on the first part drag, and nothing runs while no part moves. The README has a "Drag to another plate" section.@slicerx/viewportgives a host the pieces edge drag is built on:setEdgeDrag(hook)takes a moving part past the bed's edges (the hook's payload carries the bed's size),cancelDrag()calls off a running move for Esc,setDragZoom(scale)eases the view out and back,keepCamera(change)holds the framing through a plate swap,showSelection({ keepZoom: true })slides to a selection that is out of sight, andplaceReadout(x, y)moves the distance readout. A lost pointer during a group move now puts every part of the group back, not only the pressed one.@slicerx/viewport: parts selected just as a project opens now show as selected in the 3D view.setSelectionkeeps ids the view has not built yet and selects them as their objects arrive, and the next selection drops any that never come.selectedObjects()(optional on theViewporttype) returns the ids drawn as selected.- mimir turns down a part whose shape its tools cannot make (living things, sculpted forms, shapes made to fit a body, cross-sections that vary along the part, sweeps along a curved path) and offers the closest version it can build. On Auto it no longer moves to muninn only because it built a part, and attaching a picture or PDF alone no longer starts a design run there. It still moves up when the request calls for it (many steps, a part that works with another part, a size only the person knows), when a
design.checkfinds the part off its plan, and after repeated tool failures.mimir_sessionlistsmechanismamong the reasons a turn can start on muninn. - mimir on a local model keeps more room for the conversation. Every turn sends the questions, lookups, notes, knowledge base, plate and slicing tools and the app's commands. The printer tools, printer setup, calibration, schedules, the optimizer and the other less used tools join a turn when the request or the plate's printer asks for them, or once the chat has called one. A tool an edition or plugin adds joins the same way (set
toolseton the tool). Cloud models get every tool on every turn, as before. - mimir on a local model keeps its full instructions within a 16k context. Each message gets one set of the tab's tools (build, shape, edit, app or print), picked from the message's words, and a call to a tool outside the set brings its set for the next step.
slicerx_mimir_tab1.2.0 lists the sets in a newturnsfield, which is null for a cloud model. - The Creality K1C's Draft, Standard and Fine process tiers use the maker's 0.24, 0.20 and 0.12 mm layers.
- Read the
sx-core,@slicerx/mcp,@slicerx/step-reader,@slicerx/embedand@slicerx/viewportchangelogs for the rest.