Bottom clip will just go in the mesh position.
This commit is contained in:
parent
5b509f340f
commit
9d176fcd3b
1 changed files with 2 additions and 2 deletions
|
|
@ -73,10 +73,10 @@ namespace MatterHackers.MatterControl.SlicerConfiguration.Slicing
|
|||
{
|
||||
}
|
||||
|
||||
public List<SliceLayer> GetAllLayers(Mesh meshToSlice, double firstLayerHeight, double otherLayerHeights, double bottomClip)
|
||||
public List<SliceLayer> GetAllLayers(Mesh meshToSlice, double firstLayerHeight, double otherLayerHeights)
|
||||
{
|
||||
AxisAlignedBoundingBox meshBounds = meshToSlice.GetAxisAlignedBoundingBox();
|
||||
double heightWithoutFirstLayer = meshBounds.ZSize - firstLayerHeight - bottomClip;
|
||||
double heightWithoutFirstLayer = meshBounds.ZSize - firstLayerHeight;
|
||||
int layerCount = (int)((heightWithoutFirstLayer / otherLayerHeights) + .5);
|
||||
double currentZ = otherLayerHeights;
|
||||
if (firstLayerHeight > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue