How labspiral/sirius2 works
SIRIUS2 is a Windows .NET library and editor ecosystem for scanner/laser marking, with optional machine-vision inspection. The main workflow is to create an entity-based job, customize its behavior with C# scripts, then mark it through an RTC scanner while controlling laser output. Separate capabilities cover field correction, calibration, power compensation, remote control, and vision acquisition/inspection. The repository tree and README establish these product areas; sampled source is limited to bundled script examples, so internal library call structure is not shown.
Main entry points: bin SIRIUS2 runtime · vision_camera Camera acquisition · editor_marker Marker execution · editor_ui SIRIUS2 editor
Components 18
Job authoring
- SIRIUS2 editor
demos/editor_ui - Job entities
bin - C# scripts
bin/script
Marking control
- SIRIUS2 runtime
bin - Marker execution
demos/editor_marker - Field correction
bin/correction - 3D calibration
bin/recipe - Power mapping
bin/powermap
Vision inspection
- Vision interface
demos/vision_ui - Camera acquisition
demos/vision_camera - Image inspection
demos/vision_basic - Image stitching
demos/vision_stitch
External integration
- RTC controllers
bin - Laser control
demos/laserpower - Remote control
demos/editor_remote - Vision engines
bin - Power meters
demos/powermeter
Other components
- Operator
Connections 19
- Operator → SIRIUS2 editor: authors job
README.md - SIRIUS2 editor → Job entities: creates entities
README.md - Job entities → Marker execution: marked as job
README.md - Marker execution → SIRIUS2 runtime: uses runtime
README.md - SIRIUS2 runtime → RTC controllers: drives controller
README.md - SIRIUS2 runtime → Laser control: controls output
README.md - Operator → C# scripts: customizes behavior
README.md - C# scripts → Marker execution: extends marking
bin/script/default.cs - SIRIUS2 runtime → Field correction: applies correction
README.md - Operator → 3D calibration: calibrates field
README.md - SIRIUS2 runtime → Power mapping: compensates power
README.md - Power mapping → Power meters: uses measurements
README.md - Operator → Remote control: sends commands
README.md - Operator → Vision interface: configures inspection
README.md - Vision interface → Camera acquisition: acquires images
README.md - Camera acquisition → Image inspection: supplies images
README.md - Image inspection → Vision engines: uses engine
README.md - Camera acquisition → Image stitching: supports stitching
README.md - SIRIUS2 runtime → Image stitching: integrates scanner capture
README.md