Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong number of top/bottom layers #140
There's some sort of off-by-one error that gives too many solid top and bottom layers on a print.
For instance, using Cura 14.09, if I have a 20mm high closed cylinder, and slice it with all the layers 0.1mm high, and ask for a top/bottom thickness of 1mm, I get 200 layers total, with 11 layers of solid on the bottom, and another 11 on the top, not ten solid layers on each end.
Also, if the first layer is thicker than the standard layer height the bottom thickness isn't adjusted. For instance if I ask for a 0.2mm first layer; the total number of layers in the print is reduced to 199 layers, from 200 - because the first layer is now 1 extra layer thick. However, I still get 11 bottom layers, making the solid bottom now 0.2 + (10 x 0.1) = 1.2mm thick.