File size: 2,051 Bytes
a7d6804
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# 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) >>>
# Keys must be quoted because they contain dots — unquoted dotted keys
# in TOML are interpreted as nested tables, not literal single-key names.
[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"

# Substitute the firmware's closed-source ImageCodePlotter with our
# LoggingCodePlotter decorator. The decorator forwards every ICodePlotter call
# to the original (constructed reflectively at startup) and additionally tees
# Process(CodeCommand) into a fan-out + per-layer ring buffer, exposed via the
# /plotter/commands/stream WS and /plotter/layer/{n}/commands GET.
# See CompactServiceCollectionExtensions.cs:115 for how this is applied.
[Application.PluginReplacements."Inova.LoggingCodePlotter"]
Original = "SLS4All.Compact.Slicing.ImageCodePlotter, SLS4All.Compact.Processing"
Replacement = "Inova.ApiPlugin.LoggingCodePlotter, Inova.ApiPlugin"

# Subclass McuMovementClient to intercept MoveXY/SetLaser. This is where
# per-vector galvo data is actually visible — the slicer goes through
# IMovementClient for hardware MCU access, but bypasses the DI ICodePlotter
# for per-command writes. The intercepted frames flow into LoggingCodePlotter's
# fan-out (so the same /plotter/commands/stream WS receives them).
[Application.PluginReplacements."Inova.LoggingMovementClient"]
Original = "SLS4All.Compact.Movement.McuMovementClient, SLS4All.Compact.McuClient"
Replacement = "Inova.ApiPlugin.LoggingMovementClient, Inova.ApiPlugin"
# <<< Inova.ApiPlugin (managed by install.sh) <<<