Validate LinuxCNC tool length offsets
This commit is contained in:
@@ -20,6 +20,7 @@ void cnc_sim_init_minimal_linuxcnc_tooldata() {
|
||||
tool.toolno = 1;
|
||||
tool.pocketno = 1;
|
||||
tool.diameter = 6.0;
|
||||
tool.offset.tran.z = 12.5;
|
||||
tooldata_put(tool, 1);
|
||||
tooldata_last_index_set(1);
|
||||
}
|
||||
|
||||
@@ -346,7 +346,7 @@ int main() {
|
||||
(event.type == CNC_SIM_EVENT_COMMENT &&
|
||||
event.line == 2 &&
|
||||
event.reserved == 430 &&
|
||||
event.start.z == 0.0);
|
||||
near(event.start.z, 12.5));
|
||||
saw_tool_length_clear = saw_tool_length_clear ||
|
||||
(event.type == CNC_SIM_EVENT_COMMENT &&
|
||||
event.line == 3 &&
|
||||
|
||||
Reference in New Issue
Block a user