GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - labspiral/sirius3: EXAMPLE PROJECTS - SIRIUS3. A .NET-Based, All-IN-ONE Platform for Precision Laser Processing.

BranchesTags
Open more actions menu

Latest commit

 

History

171 Commits
171 Commits

Folders and files

NameName
Last commit message
Last commit date
demos
demos
 
 
doc
doc
 
 
.gitignore
.gitignore
 
 
DEMOS.deDE.md
DEMOS.deDE.md
 
 
DEMOS.esES.md
DEMOS.esES.md
 
 
DEMOS.jaJP.md
DEMOS.jaJP.md
 
 
DEMOS.koKR.md
DEMOS.koKR.md
 
 
DEMOS.md
DEMOS.md
 
 
DEMOS.viVN.md
DEMOS.viVN.md
 
 
DEMOS.zhCN.md
DEMOS.zhCN.md
 
 
HISTORY.deDE.md
HISTORY.deDE.md
 
 
HISTORY.esES.md
HISTORY.esES.md
 
 
HISTORY.jaJP.md
HISTORY.jaJP.md
 
 
HISTORY.koKR.md
HISTORY.koKR.md
 
 
HISTORY.md
HISTORY.md
 
 
HISTORY.viVN.md
HISTORY.viVN.md
 
 
HISTORY.zhCN.md
HISTORY.zhCN.md
 
 
LICENSE.deDE.txt
LICENSE.deDE.txt
 
 
LICENSE.esES.txt
LICENSE.esES.txt
 
 
LICENSE.jaJP.txt
LICENSE.jaJP.txt
 
 
LICENSE.koKR.txt
LICENSE.koKR.txt
 
 
LICENSE.txt
LICENSE.txt
 
 
LICENSE.viVN.txt
LICENSE.viVN.txt
 
 
LICENSE.zhCN.txt
LICENSE.zhCN.txt
 
 
README.deDE.md
README.deDE.md
 
 
README.esES.md
README.esES.md
 
 
README.jaJP.md
README.jaJP.md
 
 
README.koKR.md
README.koKR.md
 
 
README.md
README.md
 
 
README.viVN.md
README.viVN.md
 
 
README.zhCN.md
README.zhCN.md
 
 
THIRD-PARTY-NOTICES.SkiaSharp.txt
THIRD-PARTY-NOTICES.SkiaSharp.txt
 
 
THIRD-PARTY-NOTICES.deDE.txt
THIRD-PARTY-NOTICES.deDE.txt
 
 
THIRD-PARTY-NOTICES.esES.txt
THIRD-PARTY-NOTICES.esES.txt
 
 
THIRD-PARTY-NOTICES.jaJP.txt
THIRD-PARTY-NOTICES.jaJP.txt
 
 
THIRD-PARTY-NOTICES.koKR.txt
THIRD-PARTY-NOTICES.koKR.txt
 
 
THIRD-PARTY-NOTICES.txt
THIRD-PARTY-NOTICES.txt
 
 
THIRD-PARTY-NOTICES.viVN.txt
THIRD-PARTY-NOTICES.viVN.txt
 
 
THIRD-PARTY-NOTICES.zhCN.txt
THIRD-PARTY-NOTICES.zhCN.txt
 
 
sirius3.sln
sirius3.sln
 
 

Repository files navigation

Sirius3

A Windows/.NET platform for precision laser processing that combines SCANLAB control, device integration, geometry processing, OpenGL visualization, document editing, AI prompting through an embedded MCP server, simulation, and marking execution.

Languages: English · 한국어 · 简体中文 · 日本語 · Deutsch · Tiếng Việt · Español

sirius3_logo


Highlights

sirius3_logo1 sirius3_editor

  • SCANLAB RTC Controllers
    • RTC4 / RTC4e / RTC5 / RTC6 / RTC6e
    • XL-SCAN (RTC6 + ACS via syncAXIS)
  • Measurement and Profiling
    • Log scanner trajectory and output signals with plotted graphs
    • Visualize machining paths with real-time simulation
  • Powerful Marking Options
    • Variable Polygon and Variable Jump Delays
    • 2nd head, 3D
    • MoF (Marking on the Fly) and MoF Extension(aka. Fly extension)
    • Sky Writing: RTC5 Modes 1–3; RTC6 Modes 1–4 with matching software/firmware; unsupported on RTC4
    • Auto Delays by SCANAhead
    • MultiBeam (1 Laser source + 2 AOM + 2 ScanHead)
  • ALC(Automatic Laser Control) or Pulse on Demand
    • Defined vector
      • Ramp
    • Speed dependent
      • Set Velocity
      • Actual Velocity
    • Encoder dependent
      • Encoder Speed
    • Position dependent
      • Table by distance and scale factor
    • Also, SCANAhead, Encoder Speed Addition, Inverse Speed Correction, Backward Transformation, SDC+Skywriting combinations available
  • Scanner Field Correction
    • 2D correction
    • 3D correction for tilt, focus, coefficient a,b,c and stretch factors
  • Laser Power Control
    • Frequency, Duty Cycle, Analog, Digital
    • Built-in vendor integrations: AdvancedOptoWave, Coherent, IPG, JPT, Photonics Industry, Spectra Physics and more
  • Powermeters & Powermap
    • Coherent (PowerMax), Thorlabs (via OPM), Ophir (via StarLab), and Gentec-EO
    • Powermap-based output compensation
  • Rendering and Geometry Processing
    • OpenGL 3.3+ 2D/3D renderer with one orthographic and five perspective cameras
    • AABB acceleration for point, line, line-strip, and triangle hit testing
    • Topology-aware 3D mesh slicing with closed/open contour diagnostics
    • Winding-aware multiple hatches for outlines, nested regions, and connected barcode cells
  • Entities, Text and Barcodes
    • Point(s), Line, Arc, Ellipse, Polyline, Triangle, Rectangle, Cross, Spiral, Trepan, Lissajous, Spline
    • Cube, Sphere, Cylinder, Cone, Mesh, Layer, Group, Block and BlockInsert
    • Text, SiriusText, ImageText, Circular Text, linked text, and ZPL rendering entities
    • 1D, QR, DataMatrix, PDF417, and Aztec barcodes with outline, hatch, and dot-cell processing
  • File Import and Interoperability
    • Sirius3 (.sirius3): save, open, and import documents.
    • DXF/DWG: 2D CAD drawings (DWG requires ODA File Converter).
    • SVG: vector outlines, fills and editable single-run text (convert complex text to paths).
    • HPGL/PLT: plotter vector paths.
    • Gerber/Excellon: PCB artwork and drill data.
    • PNG/BMP/GIF/JPG(JPEG)/TIF(TIFF): raster images.
    • PDF: import pages as raster images (password-protected PDFs unsupported).
    • STL/OBJ/PLY/STP(STEP)/3MF: 3D mesh import and slicing.
    • G-code (.gcode, .ngc): CNC and laser toolpaths.
    • CXF/LFF/FNT/DOT: external fonts for SiriusText.
  • Remote Communication and Dynamic Data
    • TCP/IP, Serial (RS-232), WebSocket, and MQTT endpoints for marker control and data access
    • Embedded HTTP MCP server for AI-assisted editor registration, document/entity editing, simulation, and registered-device control
    • Event, file, offset, linked-entity, and C# script conversion for text and barcode data
  • Documents, Editors and Simulation
    • Four document pages with layers, pens, groups, blocks, and configurable Undo/Redo
    • Both WinForms and WPF SiriusEditorControl / SiriusMultiEditorControl are supported in Debug and Release; one document can be rendered to multiple views
    • Localized UI resources in English, Korean, Simplified Chinese, Japanese, German, Vietnamese, and Spanish
    • Font Editor: independent CXF/LFF/FNT/DOT glyph editing from the WinForms/WPF Font Edit menu; mm vectors, integer DOT cells, BBox/metrics, Undo/Redo, DXF import, text preview and installed-TTF conversion. Always included in Debug and Release.
    • Real-time laser-path visualization with screen-sized markers, beam effects, and optional debris
    • Grid-based stitched-image visualization for camera and inspection workflows
  • Open Architecture
    • Extensible editor, entity, marker, scanner, laser, power-meter, power-map, and remote interfaces
    • Virtual scanner, laser, power-meter, and marker implementations for development and simulation

Major Changes

SIRIUS3 SIRIUS2
Multiple page 4 Pages No Page / Single Document
Camera 6 Built-in Cameras Perspective
Render speed GPU-accelerated OpenGL shader engine Built-in shader engine
Render mode Model, PerVertex, PerNormal, ZHeightMap, Texture, TexturePerVertex None
HitTest speed AABB-accelerated point/line/triangle tests Slow
Hatch Winding-aware multiple hatches Single Hatch
3D Mesh with slicer Built-in slicer for STL, OBJ, PLY, STEP, 3MF None
Gerber / Excellon Content-detected import None
Font file CXF, LFF, FNT, DOT formats Customized CXF, LFF formats
Pen Pens for Entity and Layer Entity Pen
MCP Supported None
Library update By Nuget Package Manager Manual

sirius3_hatch sirius3_pod sirius3_slicer sirius3_syncaxis

Packages / DLLs

  • SpiralLab.Sirius3.Dependencies — SCANLAB RTC4/5/6, syncAXIS runtime, fonts, sample data
  • SpiralLab.Sirius3 — Hardware control and shared contracts for scanners, lasers, digital I/O, power meters, and power maps
  • SpiralLab.Sirius3.UI — Entities, geometry processing, OpenGL rendering, WinForms/WPF controls, and embedded MCP integration

Easy to update library files by NuGet package manager.

Platform targets

  • net481
  • net8.0-windows
  • net9.0-windows
  • net10.0-windows

System Requirements

  • Windows 10/11 (x64)
  • GPU/Driver with minimum OpenGL 3.3 support (latest drivers strongly recommended)
  • Drivers/runtimes required by the selected devices; native files from NuGet do not install device drivers
  • Build: .NET Framework 4.8.1 Developer Pack for net481, or the .NET SDK matching the selected modern target
  • Run: .NET Framework 4.8.1, or the matching Windows Desktop Runtime for a framework-dependent .NET application
  • Development: Visual Studio 2022 with the .NET desktop development workload for the public demos

Dependencies

The following versions describe the Sirius3 integrations and principal .NET dependencies. NuGet restores managed dependencies; install the drivers required by your device separately.

  • SCANLAB

    • RTC4: v2023.11.02
    • RTC5: v2024.09.27
    • RTC6: 2026.9.10 v1.25.1
    • syncAXIS: v1.8.2 (2023.03.09)
  • .NET

    • net481: OpenTK 3.3.3
    • net8.0-windows, net9.0-windows, net10.0-windows: OpenTK and OpenTK.Mathematics 4.9.4
    • Common package dependencies for all target frameworks
      • Microsoft.Extensions.Logging 10.0.10
      • Microsoft.Extensions.Logging.Abstractions 10.0.10
      • Microsoft.Extensions.Logging.Debug 10.0.10
      • Newtonsoft.Json 13.0.4

Install Packages

  • Add references
    • SpiralLab.Sirius3.Dependencies
    • SpiralLab.Sirius3
    • SpiralLab.Sirius3.UI

Quick Start

Install the three Sirius3 NuGet packages listed above. These excerpts show the main flow; ... leaves out device creation, validation, and event wiring. Place the startup, load, and closing steps in the corresponding host events.

The public demos read config*.ini, create devices through ScannerFactory, LaserFactory, IOFactory, PowerMeterFactory, and MarkerFactory, and initialize them before registration. RegisterDevices connects them to the editor and calls marker.Ready with its document and view. A demo's INI-loading helper belongs to that demo; a host application supplies its own configuration flow.

WinForms

Project settings

<PropertyGroup>
    <OutputType>WinExe</OutputType>
    <PlatformTarget>x64</PlatformTarget>
    <TargetFrameworks>net481;net8.0-windows;net9.0-windows;net10.0-windows</TargetFrameworks>
    <UseWindowsForms>true</UseWindowsForms>
    <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
</PropertyGroup>

Initialize Core, create the editor, then register initialized devices. WinForms DPI initialization runs before these steps; see the HiDPI section below.

using SpiralLab.Sirius3.MCP;
using System.Windows.Forms;

// Startup: initialize Core and create the host UI.
if (!SpiralLab.Sirius3.Core.Initialize()) return;
var form = new Form
{
    AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F),
    AutoScaleMode = AutoScaleMode.Dpi
};
var editor = new SpiralLab.Sirius3.UI.WinForms.SiriusEditorControl
{
    Dock = DockStyle.Fill
};
form.Controls.Add(editor);
...

// Load: create and initialize the scanner, laser, I/O, power meter and marker.
...
editor.RegisterDevices(rtc, laser, powerMeter,
    dInExt1, dInLaserPort, dOutExt1, dOutExt2, dOutLaserPort, marker);

// Optional MCP: start after device registration (Remote license).
var server = MCPFactory.CreateServer(0, "MCP", editor);
server.AccessMode = MCPAccessModes.All;
editor.MCPServer = server;
await server.Start();
...

During asynchronous closing, keep the UI event loop running while cleanup finishes:

// FormClosing / Window.Closing: await cleanup on the owning UI thread.
var document = editor.Document;
await editor.DisposeDevices();
editor.Dispose();
document?.Dispose();
...

// Application exit: after the UI lifetime ends.
SpiralLab.Sirius3.Core.Cleanup();

WPF

Project settings

<PropertyGroup>
    <OutputType>WinExe</OutputType>
    <PlatformTarget>x64</PlatformTarget>
    <TargetFrameworks>net481;net8.0-windows;net9.0-windows;net10.0-windows</TargetFrameworks>
    <UseWPF>true</UseWPF>
    <ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>

Initialize Core before constructing the WPF editor. Register initialized devices when the Window loads.

using SpiralLab.Sirius3.MCP;
using System.Windows;

// Startup: initialize Core and create the host UI.
if (!SpiralLab.Sirius3.Core.Initialize()) return;
var editor = new SpiralLab.Sirius3.UI.WPF.SiriusEditorControl();
var window = new Window { Content = editor };
...

// Loaded: create and initialize the scanner, laser, I/O, power meter and marker.
...
editor.RegisterDevices(rtc, laser, powerMeter,
    dInExt1, dInLaserPort, dOutExt1, dOutExt2, dOutLaserPort, marker);

// Optional MCP: start after device registration (Remote license).
var server = MCPFactory.CreateServer(0, "MCP", editor);
server.AccessMode = MCPAccessModes.All;
editor.MCPServer = server;
await server.Start();
...

During asynchronous closing, keep the UI event loop running while cleanup finishes:

// FormClosing / Window.Closing: await cleanup on the owning UI thread.
var document = editor.Document;
await editor.DisposeDevices();
editor.Dispose();
document?.Dispose();
...

// Application exit: after the UI lifetime ends.
SpiralLab.Sirius3.Core.Cleanup();

DisposeDevices() awaits the registered MCP server and remote connections before releasing devices. Finish editor/document cleanup before the application calls Core.Cleanup(). The detailed examples show the closing-event guards and error handling.

Assigned documents remain caller-owned. WPF Unloaded pauses display work; explicitly await device cleanup and dispose the editor and document when their lifetime ends. Check initialization results, clean up partially created devices on failure, and pair each successful Core.Initialize() with Core.Cleanup() after UI shutdown.

Full examples: WinForms guide, WPF guide, demo projects · MCP integration guide.

WinForms HiDPI

Update the DLL/package first. Existing DpiUnaware applications can retain their behavior. To opt into per-monitor scaling, configure the consuming EXE before creating any controls; the DLL does not change process DPI awareness. Existing host forms may retain their AutoScaleMode.Font, font and designer baseline. Review custom fixed-pixel layout and manual scaling separately.

For .NET 8/9/10 applications with a manual Main, select Per-Monitor V2 before EnableVisualStyles and Core.Initialize:

#if NET8_0_OR_GREATER
Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);
#endif
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

For .NET Framework 4.8.1, merge this section into the EXE's existing app.config, preserve binding redirects, declare Windows 10 compatibility in its manifest, and call EnableVisualStyles before creating controls. Remove conflicting unaware DPI declarations and EnableWindowsFormsHighDpiAutoResizing=false.

<System.Windows.Forms.ApplicationConfigurationSection>
  <add key="DpiAwareness" value="PerMonitorV2" />
</System.Windows.Forms.ApplicationConfigurationSection>

If using ApplicationConfiguration.Initialize(), set <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> in the EXE project instead of adding another bootstrap call. Font sizes remain in points. Rebuild application-owned ImageLists from retained source images at each DPI, set ImageSize/ColorDepth before adding images, preserve keys and indices, and replace references before disposing only owned old lists. WPF uses 96-DPI logical units and already applies display density; do not multiply WPF layout by DPI again.

Microsoft: .NET Framework HiDPI, WinForms automatic scaling.

Demo Programs

The public WinForms and WPF editor demos target exactly net481;net8.0-windows;net9.0-windows and require Visual Studio 2022 or later with the SDKs for the selected targets. The library also supports net10.0-windows. Start with editor_ui or wpf_editor_ui.

  • See DEMOS.md
  • Create and initialize devices, then register them with SiriusEditorControl.
  • Examples: https://github.com/labspiral/sirius3/tree/main/demos

License

  • A license must be purchased for commercial use.
  • License: Number of RTC instances + [Options]
    • MoF Option: Fly processing functionality (real-time tracking, standby, etc.) using an external encoder.
    • MultiBeam Option: A configuration consisting of 1 laser source + 2 AOMs + 2 scan heads, enabling real-time modification of the laser beam path during jump sections.
    • syncAXIS Option: A large-area processing solution (XL-SCAN Solution) utilizing synchronization between the scan head and stage via an ACS motion controller and excelliSCAN scan head configuration.
    • Remote Option: Supports recipe changes, processing control, and data read/write through socket, serial, WebSocket, and MQTT communication, and includes the embedded MCP server for AI-assisted document/entity editing and registered-device control.
  • For license policies and third-party libraries, refer to LICENSE.txt and THIRD-PARTY-NOTICES.txt.
  • Email: [email protected] | https://spirallab.co.kr

If no license key is provided, the software will run in evaluation mode, which is limited to 30 minutes of use.

Version history

  • See HISTORY.md

API documentation

  • See https://spirallab.co.kr/sirius3/doc

About

EXAMPLE PROJECTS - SIRIUS3. A .NET-Based, All-IN-ONE Platform for Precision Laser Processing.

spirallab.co.kr/sirius3-library

Topics

3ddxfgerberlasermarkingopenglopentkrtcscanlabscannersirius3slicersyncaxiswinformwpf

Resources

Readme
License
Activity

Stars

7 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.