aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeurig <don@suspectdevices.com>2022-01-17 08:57:02 -0800
committerfeurig <don@suspectdevices.com>2022-01-17 08:57:02 -0800
commit88789150b1b32204a6a67b24c5199aeeff648834 (patch)
tree36104aa2f0c2cbebd76b74e973b1d323ab4f4f31
parentfb13f44e175ca7437250cc08588f67ca6695ef48 (diff)
add parameters to baseplate
-rw-r--r--baseplate.blend1bin893220 -> 0 bytes
-rw-r--r--makeplate.py21
-rw-r--r--nextLayer.blendbin721656 -> 723728 bytes
-rw-r--r--nextLayer.blend1bin714424 -> 721656 bytes
-rw-r--r--theStand.py0
5 files changed, 3 insertions, 18 deletions
diff --git a/baseplate.blend1 b/baseplate.blend1
deleted file mode 100644
index 6d74caf..0000000
--- a/baseplate.blend1
+++ /dev/null
Binary files differ
diff --git a/makeplate.py b/makeplate.py
index 21ba24b..e710a40 100644
--- a/makeplate.py
+++ b/makeplate.py
@@ -2,7 +2,8 @@ import bpy
holeDepth=5
holeRadius=1.5
-
+basePlateRadius=62.0
+basePlateDepth=2.0
bpy.ops.mesh.primitive_cube_add()
gearHole = bpy.context.selected_objects[0]
gearHole.name="GearHole"
@@ -163,7 +164,7 @@ bpy.ops.object.delete()
#bpy.data.objects['AllTheHoles'].select_set(state=False)
bpy.data.objects["AllTheHoles"].location.x += 12.0
-bpy.ops.mesh.primitive_cylinder_add(vertices=64, radius=62, depth=2.0, location=(0,0, 1.0))
+bpy.ops.mesh.primitive_cylinder_add(vertices=64, radius=basePlateRadius, depth=basePlateDepth, location=(0,0,basePlateDepth/2.0))
baseplate = bpy.context.selected_objects[0]
baseplate.name="BasePlate"
@@ -176,22 +177,6 @@ bpy.ops.object.select_all(action='SELECT')
bpy.data.objects['BasePlate'].select_set(state=False)
bpy.ops.object.delete()
-bpy.ops.mesh.primitive_cylinder_add(vertices=64, radius=59, depth=5.0, location=(0,0, 1.25))
-bigHole = bpy.context.selected_objects[0]
-bigHole.name="BigHole"
-
-bpy.ops.mesh.primitive_cylinder_add(vertices=64, radius=61, depth=3.0, location=(0,0, 1.5))
-nextLayer = bpy.context.selected_objects[0]
-nextLayer.name="NextLayer"
-
-bpy.ops.object.modifier_add(type='BOOLEAN')
-bpy.context.object.modifiers["Boolean"].object = bigHole
-bpy.context.object.modifiers["Boolean"].operation = 'DIFFERENCE'
-bpy.ops.object.modifier_apply(apply_as='DATA', modifier="Boolean")
-
-bpy.ops.object.select_all(action='DESELECT')
-bpy.ops.object.select_pattern(pattern = 'BigHole')
-bpy.ops.object.delete()
#newHoles8 = bpy.context.selected_objects[0]
#newHoles8.name = ""
diff --git a/nextLayer.blend b/nextLayer.blend
index f67cd89..43020af 100644
--- a/nextLayer.blend
+++ b/nextLayer.blend
Binary files differ
diff --git a/nextLayer.blend1 b/nextLayer.blend1
index 27f5661..f67cd89 100644
--- a/nextLayer.blend1
+++ b/nextLayer.blend1
Binary files differ
diff --git a/theStand.py b/theStand.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/theStand.py