fix missing trace reference. alert on invalid z bottom
This commit is contained in:
parent
ce93e98c35
commit
6088bc7684
1 changed files with 5 additions and 1 deletions
|
|
@ -896,6 +896,10 @@
|
|||
return ondone("no processes selected");
|
||||
}
|
||||
|
||||
if (zMin >= bounds.max.z) {
|
||||
return ondone(`invalid z bottom >= bounds z max ${bounds.max.z}`);
|
||||
}
|
||||
|
||||
// cut outside traces at the right points
|
||||
const addCutoutTabs = function(slice, toolDiam) {
|
||||
// too high
|
||||
|
|
@ -951,7 +955,7 @@
|
|||
});
|
||||
|
||||
if (notabs) {
|
||||
console.log(`unable to compute tabs for ${notabs} traces @ z=${slice.z}`, trace);
|
||||
console.log(`unable to compute tabs for ${notabs} traces @ z=${slice.z}`);
|
||||
}
|
||||
|
||||
slice.tops[0].traces = nutrace;
|
||||
|
|
|
|||
Loading…
Reference in a new issue