private static void GenerateLayers(SliceVolumeStorage layerData, int extrusionWidth, int bottomLayers, int topLayers) { int numLayers = layerData.layers.Count; for (int i = 0; i < numLayers; i++) { TopsAndBottoms.GenerateTopAndBottom(i, layerData, extrusionWidth, bottomLayers, topLayers); } }
private static void GenerateLayers(SliceVolumeStorage layerData, int extrusionWidth, int bottomLayers, int topLayers) { int numLayers = layerData.layers.Count; ConfigSettings config = new ConfigSettings { numberOfBottomLayers = bottomLayers, numberOfTopLayers = topLayers }; for (int i = 0; i < numLayers; i++) { TopsAndBottoms.GenerateTopAndBottom(i, layerData, extrusionWidth, config); } }