gcode_view library

A Flutter package for visualizing G-code in 3D with interactive controls.

The package provides a GcodeViewer widget for rendering G-code paths with support for panning, zooming, and a controller API.

Classes

GcodePath
Represents a path segment in G-code
GcodeViewer
A widget for visualizing G-code paths in 3D.
GcodeViewerConfig
Configuration options for the G-code viewer that control rendering behavior and performance.
GcodeViewerController
A controller class for managing the G-code viewer's view state and interactions.
ParsedGcode
Result of parsing G-code containing points, flags, and metadata.