Merge branch 'rel-4.1' of github.com:GridSpace/grid-apps into rel-4.1

This commit is contained in:
Stewart Allen 2025-06-16 14:32:33 -04:00
commit 208384d329
70 changed files with 591 additions and 81 deletions

View file

@ -564,6 +564,11 @@ CAM.holes = async function(settings, widget, individual, rec,onProgress) {
onProgress(0.75+(i/circles.length*0.25),"assemble holes")
}
drills.forEach( h=>{
if(rec.fromTop){
// set z top if selected
h.depth += wztop - h.z
h.z = wztop
}
delete h.overlapping //for encoding
h.diam = toolDiam // for mesh generation
h.selected = (!individual && Math.abs(h.area - area) <= area * 0.05 ); //for same size selection