New Probe tab to set workspace origin using probe #1879
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull-request contains new Probe tab to quickly change workspace origin and detect tool diameter with probe
This tab has two tools to simplify origin definition.
Tool diameter
This part could be used to determinate tool diameter.
Idea is simple: probe width is known. So first touch left probe side, remember position. Next jump over probe, touch right side.
Tool diameter will be equal: right position - probe width - left position.
This tool allow to move gantry in 4 directions: NORTH (+Y), SOUTH(-Y), EAST(+X), WEST(-X).
No difference which one is selected, they can be selected by convenience reasons. Main prerequisite - probe should be touch not longer than 5mm from current position.
Parameters
Direction - where to move gantry to touch probe
Probe width - width of the probe. Gantry will be moved to this distance to find opposite side of probe
Probe height - Z distance required to jump over probe
Tool bounds - this parameter will add extra shift before go down on opposite side, to avoid wide tool touch probe top. It should be greater or equal than tool diameter
In situation when probe cannot be placed close to mill, gantry has to be moved close to probe.
Setting origin
After tool diameter is known, origin can be set for each axis. Tool just touch probe from any side, and this position +/- tool radius set as origin on that axis. +/- sign depends from which side probe was contacted. For Z axis: probe position + probe height
Parameters
Tool diameter - can be set manually, or automatically detected from previous step
Rapid move (X, Y, Z) - distance from current position, where gantry should be placed on given axis. Useful when new origin is far away from current position and moving with probe feed rate will take too long.
Probe move (X, Y, Z) - distance where probe is expected
This operation should be repeated for each axis