New Orca & Prusa slicer profiles, plus klipper macros & python helpers

The pack from my Expanded SuperSlicer & PrusaSlicer profiles thread has been updated. I have finally included OrcaSlicer, and it is currently just on GitHub (will update Printables soon too).


Klipper macro pack

Easy to install, just one consolidated file for either the 1.3.x or 1.4.x firmware branches. What it adds:

PID exhaust fan chamber control


The original watermark behavior is what got me started here, and its development is documented at PID Controlled Exhaust Fan (Quiet!). Same behavior today, with bugfixes and more use of temporary variable instead of writing to disk.

Bed boost


Since the chamber temperature sensor is whacked fiasco, I automated the community practice of instead using the nozzle temp for the pre-heat. Since that’s only valid with a cold hot end, the macro gates that validity, and uses the part cooling fan to get there, so bed boost works both starting cold and with back-to-back prints.

Since the part fan has to be running anyway, I also decided to find at what Z height would that would unleash the most out of our ridiculously overpowered beds, and figure out the adaptive timing to figure out how much additional bed heating for how long, while overlapping with nozzle heating & cleaning to minimize time and ooze. It learns based on your printer.

Controlled Cooldown


Warping is a problem, and the Zero’s well regarded for high temperature use, so I wanted to also better manage the cooldown. At the end of the print, settles for a few minutes (triggered by nozzle dropping down to bed temp), and then begins a linear ramp of the bed temp, facilitated by the gentler exhaust fan initially, and later by the rear aux curtain fan.

Below about 40 °C the plate can’t fall much faster than 2 °C/min even with both fans flat out, which is where the default rate comes from. Overall ramp rate is easily adjusted to be slower for more demanding materials, or faster (& non-linear) if that’s your preference.


The cooldown weights the two fans by how hard each one actually cools the plate. Measured on my Zero, the curtain fan pulls 1.3 to 3.4 times the heat out of the plate that the exhaust does, depending on bed height, which is handled by the initial latching of the curtain fan and simultaneously reducing the exhaust so the transition is equal cooling, and from there it becomes a blended throttle arrangement.

Other features

  • Square corner velocity is sent per tier
  • improved silicone nozzle brushing pattern
  • Less nozzle ooze in the first place (better retracts, tighter timing, adaptive temperature, warmer wipe)
  • KAMP-inspired purge, using slicer emitted filament material velocities, placed in a circular ring (when area is available) near the camera for easy inspection
  • Optional Spoolman check of material and remaining filament before heating
  • Filaments carry their nominal shrinkage values (ought to be standard practice)
  • exhaust & curtain fan RPM corrections, improved PWM and kick for lower & adaptive minimum speeds

Precision mode (& generalized automatic stepper changes)

Inspired by the Motor tuning thread and related Discord conversations, I also setup slicer printer profile hooks to emit changes to the klipper stepper motor config. Hence SV Zero Precision, for slow, quiet, fine-detail prints on the stock 0.4 and smaller nozzles: five tiers from 0.04 to 0.12 mm, 64 microsteps with interpolation off, reduced current, and the slower velocities and accelerations you would expect. Mode switching is automatic - if klipper is in the wrong mode, it’ll refuse, swap files, restart, and resume the job with the correct settings automatically.

I have done test prints with this mode, and am happy with the results, but I’m sure there are more tuning improvements to be had.

The big result is the platform to easily switch configurations - could also be used in the other direction for more aggressive settings, like the 48V speedboaters out there.

Downloads

Slicer Install
OrcaSlicer Copy profiles/SVZero.json and profiles/SVZero/ together into Orca’s system/ directory
PrusaSlicer Import SVZero_PrusaSlicer.ini
SuperSlicer Import SVZero_SuperSlicer.ini

Each ZIP includes INSTALL.md and the optional Klipper macro pack. One source generates the profiles for all three slicers, so they ask for the same speeds and accelerations.

version 2.1.1

Profile behavior changes in this one: accelerations scaled to the Zero’s measured input-shaper limits, Draft’s speeds on the PLA flow cap, a lower X/Y stepper current, and a slower corner in precision mode. The macro pack gets a proper input-shaper test. None of it has printed yet. The full list is in the changelog.

Profiles

  • Each tier’s accelerations are scaled as a whole, so its peak sits on the input-shaper limits measured on a Zero (11,500 mm/s² on X, 6,000 on Y) and every feature keeps its proportion. Peaks: Precision 2,000, Fine 4,000, Optimal 6,000, Standard 11,500, Strength 6,000. Standard was stock’s 40,000. Draft stays at 40,000.
  • Draft no longer clips. It was Sovol’s speedBenchy verbatim, written for a 50 mm³/s filament, so with PLA’s 21 the slicer slowed its walls and infill and the outer wall ran as fast as the inner. Draft is now derived like the other tiers, with its infill on the 21 mm³/s cap: on the 0.4, outer wall 180, inner 216 and infill 216 mm/s. OrcaSlicer runs exactly that, and PrusaSlicer and SuperSlicer trim the infill 2%. speedBenchy itself is kept as a hidden reference, not in any download.
  • Fine, Optimal, Standard and Strength send an X/Y stepper current of 2.4 A at print start, after START_PRINT has homed and probed, and END_PRINT and CANCEL_PRINT put printer.cfg’s back. Draft keeps printer.cfg’s 3.5 A. This needs the macro pack: without it the line is an unknown command, which Klipper reports and skips, and the printer keeps its own current. The pack only ever lowers the current.
  • Precision mode: square corner velocity 1, down from 3, and 1.4 A in its mode file, down from 2.4.

Macro pack

  • The resonance test sweeps 5-133 Hz instead of Sovol’s 35-45. A Zero’s X axis resonates near 61 Hz, so the stock test returned about 40 Hz for X. The front screen’s Setup → Resonances runs the same test and is fixed with it.
  • Shaper damping is 0.1, what SHAPER_CALIBRATE fits at, instead of Sovol’s 0.001.
  • SVZERO_SHAPER_CALIBRATE runs the sweep on X and Y or on one axis, and is refused in precision mode or during a job. SVZERO_SHAPER_TYPICAL applies typical Zero values (X mzv 62.5 Hz, Y mzv 46.5 Hz) until Klipper restarts. The pack sets no shaper type or frequency of its own, so SAVE_CONFIG still keeps your calibration.
  • 1.3.7’s accelerometer axes are corrected to x,z,y, as Sovol ships from 1.3.8. Stock 1.3.7 swaps the X and Y graphs.
  • SVZERO_XY_CURRENT is new: the profiles call it for the current change above.

Здравствуйте. У меня возникла проблема “Probe triggered prior to movement” после установки ваших дополнений. Что это может быть? Моих знаний в программировании увы очень мало.

Which firmware are you using, 1.3.7 or 1.4.x? Did it stop during the nozzle clean, or during the Z calibration right after?

If its 1.3.7, I presume its the probe change in the macro pack. Stock taps once per tare. The pack taps 7 time and keeps the middle reading, lifting only 1mm between taps, so if your sensor hasn’t let go after 1mm the next tap starts out triggered.

To check, open svzero-1.3.7.cfg, find the [probe_pressure] section, and change samples: 7 to samples: 1, then run FIRMWARE_RESTART. That put the probe back to stock. If the error goes away, that was it.

The console lines just before the error, or klippy.log, would pin it down either way.

Прошивка 1.4… после очистки сопла. На моём ZERO нет тензодатчика.

Firmware 1.4.7 after cleaning the nozzle. There is no strain gauge on my ZERO.

That narrows it down. On 1.4.7 the pack’s nozzle clean ends with a contact tap, the same RUN_PROBE_VIR_CONTACT that Sovol’s own CLEAN_NOZZLE does. Sovol waits 300 ms before it; the pack goes straight from the move into the tap. I presume the eddy sees the toolhead still settling and calls it contact before anything has moved.
To try it, open svzero-1.4.x.cfg, find [gcode_macro CLEAN_NOZZLE], and near its end find these two lines:

G1 X{b.tap_x + b.tap_clean_dx} Y{b.tap_y} F9000
{b.probe}

Add two lines between them, with the same indentation, so it reads:

G1 X{b.tap_x + b.tap_clean_dx} Y{b.tap_y} F9000
G4 P300
M400
{b.probe}

Save, FIRMWARE_RESTART and print again. If it still stops at the same point, the lines around the error in klippy.log would show what else is going on. The change will be in the next release.

Спасибо!:smiley: Печать началась!

Завтра проведу больше тестов.

version 2.1.2

Mostly fixes, and one new measured behavior in the macro pack: on 1.3.7 the first layer is now lifted for the nozzle growing between the 150 °C tap and the print temperature. The full list is in the changelog, and the downloads are on the release.

Fixes

  • PrusaSlicer and SuperSlicer never ran the filament start G-code, in any release from 2.0.1-beta.1 to 2.1.1. The per-material Z offset never reached the G-code, and PrusaSlicer never set the filament’s pressure advance, so Klipper kept whatever it had. Both run now. If you copied a filament preset from an earlier release, copy it again.
  • SuperSlicer stopped PLA, PLA Silk and PETG jobs at the start. The printer presets named the tool brass, and Klipper refused SET_PRESSURE_ADVANCE ... EXTRUDER=brass.
  • The 1.4.x “Probe triggered prior to movement” stop at the end of the nozzle clean, from @artur.gaydukov’s posts above. The clean now waits 300 ms before its contact tap, as Sovol’s own does.
  • PCTG cleaned and cooled as PC. OrcaSlicer never showed the bed preview, its installer added a SOVOL ZERO printer on every run, and it flagged the pack’s own nozzle temperatures as out of range.

Profiles

  • Brass and Steel filament presets take the temperatures and flow caps of OrcaSlicer’s own Sovol Zero profiles, as rebuilt by Eric McCann in OrcaSlicer #15756. Brass PLA prints at 210 with a 230 first layer, Sovol’s original Zero value, capped at 25 mm³/s. These are upstream’s values, not my measurements.
  • Scarf seams on holes as well as outer contours.
  • SV Zero PCTG, from Prusa’s Generic PCTG with PETG’s extruder and cooling settings.
  • OrcaSlicer machines carry the per-machine Z offset line the PrusaSlicer presets already had.
  • The bed preview is Sovol’s own hotbed CAD with the lead screws, and Chinchill’s buildplate texture (CC BY 4.0). PrusaSlicer and SuperSlicer get a copy with a 10 mm grid, since they draw none over a texture.

Macro pack

  • Nozzle growth compensation, on 1.3.7. The tare-tap (the pressure sensor under the bed) takes Z with the nozzle at 150 °C, and a hotter nozzle reaches further down: about 0.14 mm further at ABS’s 280 °C on my Zero. The pack now lifts the first layer by k × (first-layer temperature - 150), with k = 1.1 µm/°C: +0.09 mm for PLA at 230 up to +0.14 mm for ABS at 280.
  • k came from tap pairs beside the bed’s sensor, then from single-layer ABS squares printed at four lifts. The squares lifted for 0.67 and 1.0 µm/°C came out over-squished, with raised ridges, and the one for 1.3 came out flat. It’s one machine’s number. SAVE_VARIABLE VARIABLE=nozzle_growth_mm_per_c VALUE=0 turns it off, and the startup guide has the method for measuring your own.
  • On 1.4.x it’s off and the printer behaves as stock. The eddy path has a term of its own that I haven’t measured, so the tap’s k isn’t carried over.
  • If you tuned a per-material Z offset on 1.3.7 with an earlier pack, it already holds this growth and now counts twice. Set it back to 0 and tune again.
  • A job started with no filament at the runout sensor is refused before anything heats.

An ABS benchy has printed start to finish on the 2.1.2 macros on my 1.3.7 Zero, lift included. Not printed yet: Brass and Steel’s new temperatures, PCTG, and scarf seams on holes.