File size: 2,915 Bytes
a7d6804 1aeabca 4219b5a a7d6804 4219b5a cf937de 4219b5a a33564d 4219b5a a7d6804 cf937de a7d6804 cf937de a7d6804 4219b5a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | # Place custom user options here, e.g.:
[OptionsClassName]
Property1 = "text value"
Property2 = 3.14
Property3 = true
Property4 = [ 1, 2, 3 ]
Property5.SubProperty = "something"
# [McuManager.Heaters.powderChamber3]
# IsEnabled = false
# >>> Inova.ApiPlugin (managed by install.sh) >>>
[Application.PluginAssemblies]
"Inova.ApiPlugin" = "/home/ppak/SLS4All/Plugins/Inova.ApiPlugin/Inova.ApiPlugin.dll"
[Application.PluginServices]
"Inova.ApiPlugin" = { Implementation = "Inova.ApiPlugin.InovaApiPlugin, Inova.ApiPlugin", Registration = "AsImplementationAndInterfaces", Lifetime = "Singleton" }
# Plugin replacements:
# Inova.LoggingCodePlotter: decorates the firmware's closed-source
# ImageCodePlotter so every ICodePlotter call is teed into a fan-out +
# per-layer ring buffer (exposed via /plotter/commands/stream WS and
# /plotter/layer/{n}/commands GET).
# Inova.LoggingMovementClient (DISABLED 2026-06-29): subclasses
# McuMovementClient. First real deployment hung the firmware at
# "Creating delayed constructables" phase with 0% CPU and no plugin
# trace — strongly suspected DI cycle (LoggingMovementClient depends on
# McuPrinterClient, which depends on McuMovementClient, which the
# substitution rewrites back to LoggingMovementClient). The plugin DLL
# still ships the class for future re-enablement once the cycle is broken
# (e.g. via Lazy<McuPrinterClient> or a different registration shape);
# leave the TOML line commented out until then.
# Inova.FullRecoatLayerClient: subclasses LayerClient to expand one layer
# into N full-height recoats — one normal recoat plus N-1 repeat sweeps
# at the same bed height, optionally each feeding a fresh powder dose
# (the /printing/recoater-passes-full override). Passthrough (single
# base call) while the override is unset.
# DI-cycle note: unlike LoggingMovementClient, LayerClient's dependencies
# (movement/printer/temperature/surface clients) don't resolve ILayerClient
# back, so the substitution shouldn't recreate that boot hang — but watch
# the first boot after enabling regardless.
# See CompactServiceCollectionExtensions.cs:115 for how the replacement
# mechanism is applied.
[Application.PluginReplacements]
"Inova.LoggingCodePlotter" = { Original = "SLS4All.Compact.Slicing.ImageCodePlotter, SLS4All.Compact.Processing", Replacement = "Inova.ApiPlugin.LoggingCodePlotter, Inova.ApiPlugin" }
"Inova.FullRecoatLayerClient" = { Original = "SLS4All.Compact.Movement.LayerClient, SLS4All.Compact.Processing", Replacement = "Inova.ApiPlugin.FullRecoatLayerClient, Inova.ApiPlugin" }
# "Inova.LoggingMovementClient" = { Original = "SLS4All.Compact.Movement.McuMovementClient, SLS4All.Compact.McuClient", Replacement = "Inova.ApiPlugin.LoggingMovementClient, Inova.ApiPlugin" }
# <<< Inova.ApiPlugin (managed by install.sh) <<<
|