2 Commits

Author SHA1 Message Date
0e9b6392c2 Enhance GCodePreview and Tracking Logic for Improved Motion Handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Refactored GCodePreview component to integrate new tracking logic, allowing for smoother motion representation based on live printer state.
- Introduced sampleTime and updateIntervalMs props to manage motion updates more effectively.
- Updated tracking.js to include new functions for handling sample intervals and refining segment positions.
- Enhanced segmentStore and parser.worker.js to accommodate new segmentTime data for better performance tracking.
- Improved PrinterGCodeFilePanel to utilize the new tracking state, ensuring accurate representation of gcode and live positions during printing.
2026-11-09 01:30:58 +00:00
b3e366e813 Remove gcode-preview dependency and related code
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Deleted the gcode-preview package from package.json and pnpm-lock.yaml.
- Removed references to gcode-preview in vite.config.js.
- Introduced new GCodePreview component and related files for G-code visualization.
- Added GCodeViewer components including Bed, HotEnd, and SegmentMesh for rendering.
- Implemented color modes and feature types for enhanced G-code rendering.
- Added GCodeLegend for displaying feature information and toggling visibility.
- Established GCodeScene for managing the 3D rendering context and controls.
2026-11-08 18:08:12 +00:00