Warn when adding big parts to the queue
This commit is contained in:
parent
fe7ed2a59f
commit
c484b5746e
5 changed files with 17 additions and 9 deletions
|
|
@ -83,10 +83,16 @@ namespace MatterHackers.MatterControl.Slicing
|
|||
{
|
||||
SliceLayer layer = allLayers[layerIndex];
|
||||
double zHeight = layer.ZHeight;
|
||||
if (zHeight < minZ || zHeight > maxZ)
|
||||
if (zHeight < minZ)
|
||||
{
|
||||
// not up to the start of the face yet
|
||||
continue;
|
||||
}
|
||||
if (zHeight > maxZ)
|
||||
{
|
||||
// done with this face
|
||||
break;
|
||||
}
|
||||
Plane cutPlane = new Plane(Vector3.UnitZ, zHeight);
|
||||
|
||||
Vector3 start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue