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. #Imports.
import bpy; import bpy;
import random;
# Variables: # Variables:
# Size of each cube. # Size of each cube.
@@ -15,7 +14,6 @@ zNum = 3;
cubeCount = 0; cubeCount = 0;
# Setting the maximum amount of cubes that is needed to be created. # Setting the maximum amount of cubes that is needed to be created.
numOfCubes = xNum * yNum * zNum; 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. #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(): def cleanScene():
@@ -63,6 +61,8 @@ def spawnGround():
cleanScene(); cleanScene();
spawnGround(); spawnGround();
# Shows that the code ran.
print("The code ran.");
# Notes: # Notes:
# - For loop for the grid: # - For loop for the grid: