예제 #1
0
        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);
            }
        }
예제 #2
0
        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);
            }
        }