Exemplo n.º 1
0
        private static void GenerateLayers(ExtruderLayers extruder, int extrusionWidthUm, int bottomLayers, int topLayers, long infillExtendIntoPerimeter_um)
        {
            int numLayers = extruder.Layers.Count;

            for (int layerIndex = 0; layerIndex < numLayers; layerIndex++)
            {
                extruder.GenerateTopAndBottoms(null, layerIndex, extrusionWidthUm, extrusionWidthUm, bottomLayers, topLayers, infillExtendIntoPerimeter_um);
            }
        }
        private static void GenerateLayers(ExtruderLayers extruder, int extrusionWidthUm, int bottomLayers, int topLayers)
        {
            int numLayers = extruder.Layers.Count;

            for (int layerIndex = 0; layerIndex < numLayers; layerIndex++)
            {
                extruder.GenerateTopAndBottoms(layerIndex, extrusionWidthUm, extrusionWidthUm, bottomLayers, topLayers);
            }
        }
 private static void GenerateLayers(ExtruderLayers extruder, int extrusionWidthUm, int bottomLayers, int topLayers)
 {
     int numLayers = extruder.Layers.Count;
     for (int layerIndex = 0; layerIndex < numLayers; layerIndex++)
     {
         extruder.GenerateTopAndBottoms(layerIndex, extrusionWidthUm, extrusionWidthUm, bottomLayers, topLayers);
     }
 }