Add print statement to check when the code runs
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user