clarify step over tool tip. fix rare surface on null ptr

This commit is contained in:
Stewart Allen 2023-01-20 15:11:56 -05:00
commit d898a23449
2 changed files with 2 additions and 2 deletions

View file

@ -891,7 +891,7 @@ CAM.init = function(kiri, api) {
}; };
}; };
func.surfaceDone = () => { func.surfaceDone = () => {
if (!surfaceOn) { if (!(surfaceOn && poppedRec && poppedRec.surfaces)) {
return; return;
} }
let surfaces = poppedRec.surfaces; let surfaces = poppedRec.surfaces;

View file

@ -443,7 +443,7 @@ self.kiri.lang['en-us'] = {
cc_spnd_s: "spindle rpm", cc_spnd_s: "spindle rpm",
cc_spnd_l: ["spindle speed in","revolutions / minute"], cc_spnd_l: ["spindle speed in","revolutions / minute"],
cc_sovr_s: "step over", cc_sovr_s: "step over",
cc_sovr_l: ["a fraction of tool diameter between 0 and 1. values greater than 0.49 may result in uncut areas from acute angle offsets or undesirable artifacts when contouring."], cc_sovr_l: ["a fraction of tool diameter between 0 and 1. values greater than 0.49 may result in uncut areas or undesirable artifacts."],
cc_sdwn_s: "step down", cc_sdwn_s: "step down",
cc_sdwn_l: ["step down depth","for each pass","in workspace units","0 to disable"], cc_sdwn_l: ["step down depth","for each pass","in workspace units","0 to disable"],
cc_thru_s: "cut thru", cc_thru_s: "cut thru",