add 'none' infill type

This commit is contained in:
Stewart Allen 2025-02-27 21:00:29 -05:00
commit 24e7cdedfa
4 changed files with 50 additions and 42 deletions

View file

@ -1142,7 +1142,7 @@ function doShells(slice, count, offset1, offsetN, fillOffset, opt = {}) {
* the bounds of the top polygons and their inner solid areas.
*/
function doSparseLayerFill(slice, options = {}) {
if (slice.xray) {
if (slice.xray || options.type === 'none') {
return;
}