Skip to content

Feature Request: Allow finer raster line spacing (0.001 mm) for microfabrication workflows #252

Description

@LorenzoTell
Image

I've been using RayForge extensively, v0.25 mostly. Since 0.22 was the release that has improvements for micrometric resolution that the team nicely implement by my previous suggestion. Recently upgraded to v1.7.10. I noticed that raster line spacing is now explicitly defined in the raster configuration rather than being automatically derived from the laser's spot size. While this explicit control is a great improvement, the current UI enforces a hard minimum of 0.01 mm.

I use RayForge for precision lithography and microfabrication workflows where raster line spacing below 0.01 mm is essential. This hard limit restricts sub-10µm pitch work and limits the software's applicability in scientific/industrial precision contexts.

Current Behavior
The raster configuration widget (raster_widget.py) restricts "Line Spacing" to ≥0.01 mm with digits=2. This appears to be a UI validation limit rather than a backend constraint.

Proposed Change
Lower the minimum allowed line spacing to 0.001 mm and increase decimal precision to digits=3. I successfully modified and tested this locally on v1.7.10 by adjusting two parameters in the Adw.SpinRow definition:

  • lower=0.01lower=0.001
  • digits=2digits=3

The application runs stably, and raster generation produces correct sub-10µm spacing without errors or backend clamping. Im using Ubuntu 22.04.

Technical Details

  • File: rayforge/builtin_addons/rayforge-addon-laser/laser_essentials/widgets/raster_widget.py
  • Context: The widget uses an Adw.SpinRow with an embedded Gtk.Adjustment. The limit is purely UI-driven.
  • Backend Note: raster_util.py contains sampling checks but no hard clamp at 0.01 mm, confirming the backend already supports finer resolutions.

Why This Matters
Microfabrication, PCB prototyping, and advanced material processing increasingly require raster pitches in the 1–10 µm range. Officially supporting 0.001 mm would align RayForge's UI with its backend capabilities and significantly expand its utility in research and precision manufacturing workflows.

Request
Could the team evaluate making 0.001 mm the official minimum spacing? I'm happy to:

  • Test on my lithography setup
  • Validate backend performance and safety checks
  • Submit a PR if this aligns with your roadmap

Thank you for the excellent work on v1.7.10. The new import pipeline, scan-angle controls, and explicit raster spacing logic are fantastic additions. Cheers from LabµFab! Villa Mercedes, San Luis, Argentina

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrca-doneA root cause analysis was attached

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions