From 1716b4922fea23d89879c6e135390f670cc00f5b Mon Sep 17 00:00:00 2001 From: CJ Satnarine <117758228+CJSatnarine@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:15:13 -0500 Subject: [PATCH] Initial commit --- Trial.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Trial.py diff --git a/Trial.py b/Trial.py new file mode 100644 index 0000000..b126d86 --- /dev/null +++ b/Trial.py @@ -0,0 +1,23 @@ +import bpy; + +size = 1; +x = y = z = size / 2; + +bpy.ops.mesh.primitive_cube_add(size = size, location = (x, y, z)); +#z = 1.5; +#bpy.ops.mesh.primitive_cube_add(size = size, location = (x, y, z)); + +#x +for i in range(15): + x += size; + bpy.ops.mesh.primitive_cube_add(size = size, location = (x, y, z)); + +#Z +for i in range(15): + z += size; + bpy.ops.mesh.primitive_cube_add(size = size, location = (x, y, z)); + +#y +for i in range(15): + y += size; + bpy.ops.mesh.primitive_cube_add(size = size, location = (x, y, z));