Skip to content

Add toolprobe_v3 macros for RRF#6

Open
RoccoFL wants to merge 1 commit intozruncho3d:mainfrom
RoccoFL:main
Open

Add toolprobe_v3 macros for RRF#6
RoccoFL wants to merge 1 commit intozruncho3d:mainfrom
RoccoFL:main

Conversation

@RoccoFL
Copy link
Copy Markdown

@RoccoFL RoccoFL commented Apr 26, 2026

Introduce a complete toolprobe_v3 macro suite for RepRapFirmware: new top-level macros (LocateToolProbe.g, CalibrateActiveTool.g, CalibrateToolRange.g, RefreshProbeZPlane.g), a user-editable UserConfig.g, persistent globals/state files, and a set of helper library macros under _lib/ (BracketAxis, DiscoverProbeZ, EnsureSafeStart, MoveToProbeXY, Probe_IsTriggered, RestoreEndstops, ScanEdgeNative, Status, TouchZNative, UseProbeAsEndstop). The implementation uses native G1 H4 probing, per-axis M574 endstop swapping, validation of span/center repeatability, safety checks (homing, tool selection, probe-trigger sanity), and M118/M118+echo status messages for DWC visibility. Designed to preserve/restore endstops on all exit paths and provide configurable tuning via UserConfig.g.

This commit note as well as the code were written heavily with chatgpt and claude code. This works on my jubilee rrf printer, modified with klicky probe. Any feedback on implementation would be greatly appreciated, I am pretty novice at coding.

Introduce a complete toolprobe_v3 macro suite for RepRapFirmware: new top-level macros (LocateToolProbe.g, CalibrateActiveTool.g, CalibrateToolRange.g, RefreshProbeZPlane.g), a user-editable UserConfig.g, persistent globals/state files, and a set of helper library macros under _lib/ (BracketAxis, DiscoverProbeZ, EnsureSafeStart, MoveToProbeXY, Probe_IsTriggered, RestoreEndstops, ScanEdgeNative, Status, TouchZNative, UseProbeAsEndstop). The implementation uses native G1 H4 probing, per-axis M574 endstop swapping, validation of span/center repeatability, safety checks (homing, tool selection, probe-trigger sanity), and M118/M118+echo status messages for DWC visibility. Designed to preserve/restore endstops on all exit paths and provide configurable tuning via UserConfig.g.

This commit note as well as the code were written heavily with chatgpt and claude code. This works on my jubilee rrf printer, modified with klicky probe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant