
My Customized Stencil-o-Matic
thingiverse
# This is a customized version of http://www.thingiverse.com/thing:55821 # Created with Customizer! http://www.thingiverse.com/apps/customizer/run?thing_id=55821 import os base_filename = "handleless_cup" if offX != 0 or offY != 0: filename_postfix = "_offset_{}_{}".format(offX, offY) else: filename_postfix = "" if handle == 'no': filename_postfix += "_nohandle" if handle_orientation != 45: filename_postfix += "_orient{0}".format(handle_orientation) filename = "{}_{}{}.stl".format(base_filename, filename_postfix, "off" if offX or offY else "") stl_file_command = "echo 'Solid {}\n Union{{}\n}';>\ {}\\{}".format("\n ".join([" Translate({} {} 0) Rotate({} 1 0 0) Scale({} 1 1 {})} {}".format(offX, offY, handle_orientation, stencil_width / 25.4, stencil_thickness / -127, filename_postfix, file) for file in files]), os.getcwd(), filename) stl_file_command = "echo 'Solid {}\n Union{{}\n}';>\ {}\\{}".format("\n ".join([" Translate({} {} 0) Rotate({} 1 0 0) Scale({} 1 1 {})} {}".format(offX, offY, handle_orientation, stencil_width / 25.4, stencil_thickness / -127, filename_postfix, file) for file in files]), os.getcwd(), filename) # Add the handle if requested if handle == 'yes': filename_handle = "{}_{}_handle{}.stl".format(base_filename, filename_postfix, "n" if no_input else "") stl_file_command_handle = "echo 'Solid {}\n Union{{}\n}';>\ {}\\{}".format("\n ".join([" Translate({} {} 0) Rotate({} 1 0 0) Scale({} 1 1 {})} {}".format(offX, offY, handle_orientation, handle_width / 25.4, handle_length / -127, filename_postfix, file) for file in files]), os.getcwd(), filename_handle)
With this file you will be able to print My Customized Stencil-o-Matic with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on My Customized Stencil-o-Matic.