tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 98b8e46e0d9eac573fbd85dbce858c29aa985c4d
parent 376969989b5dd640abf4ae035db5eebe874b8205
Author: rbckman <rbckman@localhost.localdomain>
Date:   Thu,  6 Sep 2018 12:56:06 +0300

microphone clip should now be more stiff

Diffstat:
M3d/tarina-body.stl | 0
M3d/tarina-mic-body.stl | 0
M3d/tarina-mic-lid.stl | 0
M3d/tarina-picamera-body.stl | 0
M3d/tarina-right-side.stl | 0
M3d/tarina-screen-lid.stl | 0
M3d/tarina.blend | 0
M3d/tarina_stl_export.py | 28++++++++++++++--------------
8 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/3d/tarina-body.stl b/3d/tarina-body.stl Binary files differ. diff --git a/3d/tarina-mic-body.stl b/3d/tarina-mic-body.stl Binary files differ. diff --git a/3d/tarina-mic-lid.stl b/3d/tarina-mic-lid.stl Binary files differ. diff --git a/3d/tarina-picamera-body.stl b/3d/tarina-picamera-body.stl Binary files differ. diff --git a/3d/tarina-right-side.stl b/3d/tarina-right-side.stl Binary files differ. diff --git a/3d/tarina-screen-lid.stl b/3d/tarina-screen-lid.stl Binary files differ. diff --git a/3d/tarina.blend b/3d/tarina.blend Binary files differ. diff --git a/3d/tarina_stl_export.py b/3d/tarina_stl_export.py @@ -4,7 +4,7 @@ import bpy import os # export to blend file location -basedir = os.path.dirname(bpy.data.filepath) +basedir = os.path.dirname(bpy.data.filepath) + '/' if not basedir: raise Exception("Blend file is not saved") @@ -17,85 +17,85 @@ selection = bpy.context.selected_objects bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Body'] o.select = True -o = bpy.data.objects['supportmaterial body'] +o = bpy.data.objects['Body Support'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-body.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-body.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Left-Side'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-left-side.stl", check_existing=True, axis_forward='-Y', axis_up='X', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-left-side.stl", check_existing=True, axis_forward='-Y', axis_up='X', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Right-Side'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-right-side.stl", check_existing=True, axis_forward='-Y', axis_up='-X', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-right-side.stl", check_existing=True, axis_forward='-Y', axis_up='-X', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Hdmi-Cap'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-hdmi-cap.stl", check_existing=True, axis_forward='X', axis_up='Z', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-hdmi-cap.stl", check_existing=True, axis_forward='X', axis_up='Z', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Button-Plate-Bottom'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-button-plate-bottom.stl", check_existing=True, axis_forward='X', axis_up='Z', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-button-plate-bottom.stl", check_existing=True, axis_forward='X', axis_up='Z', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Button-Plate-Upper'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-button-plate-upper.stl", check_existing=True, axis_forward='-X', axis_up='-Z', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-button-plate-upper.stl", check_existing=True, axis_forward='-X', axis_up='-Z', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Screen-Lid'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-button-screen-lid.stl", check_existing=True, axis_forward='Z', axis_up='Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-screen-lid.stl", check_existing=True, axis_forward='Z', axis_up='Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Picamera-Bridge'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-picamera-bridge.stl", check_existing=True, axis_forward='Y', axis_up='X', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-picamera-bridge.stl", check_existing=True, axis_forward='Y', axis_up='X', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Picamera-Body'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-picamera-body.stl", check_existing=True, axis_forward='Z', axis_up='Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-picamera-body.stl", check_existing=True, axis_forward='Z', axis_up='Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Picamera-Body-Lid'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-picamera-body-lid.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-picamera-body-lid.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Mic-Body'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-mic-body.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-mic-body.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.select_all(action='DESELECT') o = bpy.data.objects['Mic-Lid'] o.select = True bpy.context.scene.objects.active = o -bpy.ops.export_mesh.stl(filepath=basedir + "/stl/tarina-mic-lid.stl", check_existing=True, axis_forward='-Z', axis_up='-Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') +bpy.ops.export_mesh.stl(filepath=basedir + "tarina-mic-lid.stl", check_existing=True, axis_forward='Z', axis_up='Y', filter_glob="*.stl", use_selection=True, global_scale=1.0, use_scene_unit=False, ascii=False, use_mesh_modifiers=True, batch_mode='OFF') bpy.ops.object.select_all(action='DESELECT') \ No newline at end of file