Add print statement to check when the code runs

This commit is contained in:
CJSatnarine
2023-09-11 11:22:08 -04:00
parent eb7d27b567
commit 866be5d1a8

View File

@@ -1,6 +1,5 @@
#Imports.
import bpy;
import random;
# Variables:
# Size of each cube.
@@ -15,7 +14,6 @@ zNum = 3;
cubeCount = 0;
# Setting the maximum amount of cubes that is needed to be created.
numOfCubes = xNum * yNum * zNum;
print(numOfCubes);
#Function to clean the scene. This removes all of the objects, collections, materials, particles, textures, images, curves, meshes, actions, nodes, and worlds from the scene.
def cleanScene():
@@ -63,6 +61,8 @@ def spawnGround():
cleanScene();
spawnGround();
# Shows that the code ran.
print("The code ran.");
# Notes:
# - For loop for the grid: