less aggressive poly cleanup. clearer stock warning
This commit is contained in:
parent
9fef4c3d19
commit
dd397ee16d
3 changed files with 8 additions and 7 deletions
|
|
@ -814,16 +814,16 @@ var gs_kiri_cam = exports;
|
|||
shellFinish,
|
||||
facePolys;
|
||||
|
||||
if (settings.stock.x < bounds.max.x - bounds.min.x) {
|
||||
return ondone('stock too small for part. disable or use offset stock');
|
||||
if (settings.stock.x + 0.00001 < bounds.max.x - bounds.min.x) {
|
||||
return ondone('stock X too small for part. disable or use offset stock');
|
||||
}
|
||||
|
||||
if (settings.stock.y < bounds.max.y - bounds.min.y) {
|
||||
return ondone('stock too small for part. disable or use offset stock');
|
||||
if (settings.stock.y + 0.00001 < bounds.max.y - bounds.min.y) {
|
||||
return ondone('stock Y too small for part. disable or use offset stock');
|
||||
}
|
||||
|
||||
if (settings.stock.z < bounds.max.z - bounds.min.z) {
|
||||
return ondone('stock too small for part. disable or use offset stock');
|
||||
if (settings.stock.z + 0.00001 < bounds.max.z - bounds.min.z) {
|
||||
return ondone('stock Z too small for part. disable or use offset stock');
|
||||
}
|
||||
|
||||
if (sliceDepth <= 0.05) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue