提示词:补齐 G64 naivecam tolerance 源链接覆盖

This commit is contained in:
cnc
2026-06-05 15:59:51 +08:00
parent 4887b2f64e
commit a7cd889b3a
5 changed files with 60 additions and 1 deletions

View File

@@ -402,6 +402,15 @@ void SET_MOTION_CONTROL_MODE(CANON_MOTION_MODE mode, double tolerance) {
void SET_NAIVECAM_TOLERANCE(double tolerance) {
naivecam_tolerance = tolerance;
if (active_sink) {
CncSimEvent event{};
event.version = 1;
event.type = CNC_SIM_EVENT_COMMENT;
event.line = event_line();
event.feed = tolerance;
event.reserved = 641;
active_sink->emit_raw(event);
}
}
void SET_CUTTER_RADIUS_COMPENSATION(double) {