name: inverse layout: true class: center, middle, inverse --- # Intro to 3D Printing and Physical Computing Lauren Bricker CSE 340 Spring 2020 --- layout:false [//]: # (Outline Slide) .title[Today's goals] .body[ - Reminders - Start on ColorPicker if you have not already - Practice quiz on Accessibility/ColorPicker out on Friday - due 5/13 - Examlet on Accessibility/ColorPicker on Friday 5/15 - IMPORTANT - We need you to fill out [this form](https://docs.google.com/forms/d/e/1FAIpQLSdQrpZx-gexgDcKEF1SRp4egObimDP9qqVwLD56w0V2sYJDpw/viewform) so we can plan for our next assignment. - Discuss different types of 3D models - Talk about how 3D printing works - Talk about how 3D models are converted into low level g-code ] --- # Story time... .left-column40[ ![:img 1997 green subaru station wagon](img/3dprinting/subaru.png) ] -- .right-column50[
![:img subaru station wagon dome light, 70%](img/3dprinting/subaru-light.png) ![:img subaru station wagon dome light switch, 20%](img/3dprinting/subaru-switch.png) ] --- # Traditional Manufacturing
graph LR A(Materials) --> B(Factory) B --> D(Shipping) D --> E(Storage) E --> F(Shipping) F --> G(You) classDef blue font-size:14pt; classDef green font-size:14pt; class B,D,E,F blue class A,G green
--- .left-column[ # Legacy ... literally ] .right-column[ ![:img used part sale for a 1997 subaru legacy dome light, 45%](img/3dprinting/subaru-legacy-part.png) ] --- # It worked! ![:img 1997 green subaru station wagon](img/3dprinting/subaru-switch-replaced.png) ![:img 1997 green subaru station wagon](img/3dprinting/subaru-switch-replaced-on.png) --- # The future (is Here)
graph LR A(3D Modeling,
e.g. OpenSCAD) -->|Prepare| B(Geometry
e.g. .stl file) B -->|Slice| D(Printer instructions
G-code file) D -->|Printer| E(Printed Object) class A,B,D blue class E green
- __Prepare__ for printing - __Slice__ the model - __Printer__ Controller --- # Prepare for Printing - Create a model using any one of a number of 3D modeling packages such as Sketchup, Open SCAD, Rhino 3d, Meshmixer, Blender, OnShape, Minecraft, SolidWorks - Some packages reprsent 3D objects as solids, others as shells and boundaries. - Or you can find lots of stuff in repositories, like [Thingiverse](http://www.thingiverse.com/) .left-column50[ __Solids__ (image from [Wikipedia](https://en.wikipedia.org/wiki/Constructive_solid_geometry )) ![:img example of what solid modeling looks like, 40%](img/3dprinting/solid-modeling.png) ] .right-column50[ __Shells/Boundaries__ ![:img A 2D nurb plane, 45%](img/3dprinting/shells.png) ![:img A 3d scan of a male with long hair, 30%](img/3dprinting/bust.png) ] --- # .stl File Almost every software package can save the files as a `.stl` file (stereolithography) .left-column50[ ![:img open cube modeled as with surfaces, 45%](img/3dprinting/cube-shell.png) ![:img open cube as stl file, 45%](img/3dprinting/cube-stl.png) ] .right-column50[ ``` solid OBJECT facet normal 0 -1 0 outer loop vertex 10 -10 0 vertex 0 -10 10 vertex 0 -10 0 endloop endfacet facet normal 0 -1 0 outer loop vertex 0 -10 10 vertex 10 -10 20 vertex 8 -10 20 endloop endfacet ``` ] --- # Printer Controller The printer controller converts the `.stl` file into GCode, commands read by the printer .left-column50[ ``` solid OBJECT facet normal 0 -1 0 outer loop vertex 10 -10 0 vertex 0 -10 10 vertex 0 -10 0 endloop endfacet facet normal 0 -1 0 outer loop vertex 0 -10 10 vertex 10 -10 20 vertex 8 -10 20 endloop endfacet ``` ] -- .right-column50[ ![:img colorful magician, 50%](img/3dprinting/magician.png) ] --- # Printer Controller The printer controller converts the `.stl` file into GCode, commands read by the printer .left-column50[ ``` solid OBJECT facet normal 0 -1 0 outer loop vertex 10 -10 0 vertex 0 -10 10 vertex 0 -10 0 endloop endfacet facet normal 0 -1 0 outer loop vertex 0 -10 10 vertex 10 -10 20 vertex 8 -10 20 endloop endfacet ``` ] .right-column50[ ``` G1 X-5.87 Y-12.69 Z0.47 F3360.0 G1 F1200.0 G1 E1.0 G1 F3360.0 M101 G1 X-5.87 Y12.69 Z0.47 F381.198 E5.799 G1 X-2.93 Y12.69 Z0.47 F381.198 E6.354 G1 X-2.93 Y-12.69 Z0.47 F381.198 E11.152 G1 X0.0 Y-12.69 Z0.47 F381.198 E11.707 G1 X0.0 Y12.69 Z0.47 F381.198 E16.506 G1 X2.93 Y12.69 Z0.47 F381.198 E17.06 G1 X2.93 Y-12.69 Z0.47 F381.198 E21.859 G1 X5.87 Y-12.69 Z0.47 F381.198 E22.414 G1 X5.87 Y12.69 Z0.47 F381.198 E27.213 G1 X8.8 Y12.69 Z0.47 F381.198 E27.768 ``` ] --- # Results ![:img small grey 3D printed box](img/3dprinting/grey-box.png) --- # What do new fabrication technologies provide? .left-column50[ New ways to create - Faster, easier, sometimes better New ways to customize - Faster iteration - Mass customization New materials New shapes ] -- .right-column50[ Magic arms ![:youtube Video of child using a 3D printed hand, WoZ2BgPVtA0] ] --- # What new fabrication technologies are not Not the startrek replicator Not as fast as the best manufacturing solutions for bulk manufacturing Not as fast as your 2d printer Often expensive Material range is limited --- # Additive Vs Subtractive Printing .left-column50[ - Additive printing puts down material, building up the object layer by layer - Some are done with extruded plastic or other material - Others are done with powders that are sealed together (powder printers) - Subtractive removes materials from around the object ] .right-column50[ ![:img three 3D printed lion heads two are subtractive printing one is additive, 80%](img/3dprinting/add-subtract.png) ] --- # Additive Fused Deposition Modeling (FDM) .left-column50[ ![:img examples of failed additive prints, 100%](img/3dprinting/additive.png) ] .right-column50[
![:youtube Time lapse video explaining 3D printing, m_QhY1aABsE] ] --- # Powder printing (@0:28)
![:youtube Time lapse video of powder printing, kBHsfNDsbCs?t=28] --- # Liquid printing (@0:23)
![:youtube Time lapse video liquid printing, l3TgmvV2ElQ?t=23] --- # Laser Sintering (@0:53)
![:youtube Time lapse video laser sintering, 9E5MfBAV_tA?t=53] --- # Other Materials - [Lisa Harouni Talk](https://www.ted.com/talks/lisa_harouni_a_primer_on_3d_printing#t-120717) (@2:12) - [Powder printer](https://youtu.be/kBHsfNDsbCs?t=29s) - [Liquid Based additive printers](https://www.popsci.com/new-liquid-based-3d-printer-takes-minutes-not-hours/) (@1:07) - [Candy](https://www.youtube.com/watch?time_continue=5&v=rU6RAM0Wrck&feature=emb_logo), [Chocolate](http://youtu.be/BIFi8but3Vw) other [Confections](https://www.youtube.com/watch?v=U3TmrCzVZ6w) - [Pancake bot](https://www.youtube.com/watch?v=f3Q8nbtRNT0) - Cement for houses [old](https://www.youtube.com/watch?v=WzmCnzA7hnE), [new](https://www.youtube.com/watch?v=8zt_3Gs1ksg) - [MIT’s glass printer](https://gizmodo.com/watching-mits-glass-3d-printer-is-absolutely-mesmerizin-1725433454) - [Ceramics](https://www.youtube.com/watch?v=1JjaqKUUMMw) (with sound vibrations), [Sample art](https://www.foransuon.com/) --- # More reasons to learn about it! .left-column50[ 3d Printed car ![:youtube Video of car being 3D printed, daioWlkH7ZI] ] .right-column50[
- [3D Printed Medical Device Saves Baby's Life](https://www.youtube.com/watch?v=zr0HGCZSgE4) - [Prosthetic hand](http://youtu.be/CHPuMCshkLU?t=42s) (up to ~2:10) - [Lots of examples quickly](https://www.youtube.com/watch?v=X5AZzOw7FwA) - [3D printers print ten houses in 24 hours](https://www.youtube.com/watch?v=SObzNdyRTBs) - [Printed body parts](http://youtu.be/jSjW-EgKOhk?t=1m8s) - [Printed organs](https://www.youtube.com/watch?v=4nqw1yjyKEs) - [3D printed pizza](http://youtu.be/dvjqmMfMU7w?t=15s) - [3D printed fashion](http://youtu.be/63Xozzh_uHM) - [3D Printing a Garden Sprinkler](https://www.youtube.com/watch?v=y9XRD3P2G-E) ] --- # Printing: Beyond plastic .left-column50[ ![:img Model for embedding a nut and bolt in a print, 50%](img/3dprinting/embedding.png) ![:img Fabric taped down and embedded, 70%](img/3dprinting/fabric.png) ![:img Fabric attached through holes, 50%](img/3dprinting/fabric2.png) ] .right-column50[ ![:img Shorey designs embedded metal, 40%](img/3dprinting/metal-embed.jpg) ![:img Shorey designs dragon scales, 40%](https://images.squarespace-cdn.com/content/v1/5cf88c7cc74fa800012045db/1559817320037-GI8H3Y56L8W087DD9CDG/ke17ZwdGBToddI8pDm48kLxnK526YWAH1qleWz-y7AFZw-zPPgdn4jUwVcJE1ZvWEtT5uBSRWt4vQZAgTJucoTqqXjS3CfNDSuuf31e0tVH-2yKxPTYak0SCdSGNKw8A2bnS_B4YtvNSBisDMT-TGt1lH3P2bFZvTItROhWrBJ0/aaezgif.com-video-to-gif.gif?format=1000w) [Shorey Designs](https://www.shoreydesigns.com/3d-printing-on-fabric) ] --- # What else to embed? .left-column-half[ ![:img Picture of tendon that can be used to bend something, 80%](img/3dprinting/tendon1.png) ![:img Picture of tendon that has been used to bend something, 80%](img/3dprinting/tendon2.png) ] .right-column-half[ ![:youtube Examples of embedded fabric, 9xqze9csLmY] ] ??? - String or wire (like a tendon) --- # What else to print? ![:img Gears, 20%](img/3dprinting/gear.png) ![:img Timing wheel, 20%](img/3dprinting/wheel.png) ![:img String Drive Wheel, 20%](img/3dprinting/stringdrive.png) --- # What not to print - Food handling articles (unless on a special printer) - Safety critical strong things - High heat tolerance things - Things for chemically harsh environments --- # How does printing enhance a mobile phone? .left-column-half[ [Etch a Sketch!](https://www.thingiverse.com/thing:3251892) ![:youtube Mobile phone case to use the phone like an etch a sketch, dcaErURbyIA] ] -- .right-column-half[ New ways of interacting! - Works by combining condutive plastic with custom interactor - Looks like touch input to the software - Gears control motion options mechanically ] --- # How does printing enhance a mobile phone? .left-column-half[ [Phone trigger buttons](https://www.thingiverse.com/thing:2960274) ![:youtube Game playing hardware --trigger buttons--,X_C1Qxjg2WI] ] .right-column-half[ New ways of interacting! - Similar approach, also conductive ] --- # How does printing enhance a mobile phone? .left-column-half[ XiaoyiZhang, TracyTran, YuqianSun, IanCulhane, ShobhitJain, JamesFogarty, JenniferMankoff: [Interactiles: 3D Printed Tactile Interfaces to Enhance Mobile Touchscreen Accessibility](https://make4all.org/portfolio/interactiles/). ASSETS 2018 ![:img A picture of a mobile phone with a tangible scrollbar and number pad built into its case to help improve blind interaction with the phone,40% ](img/3dprinting/interactiles.png) ] .right-column-half[ New ways of interacting! - Silicon & sewn conductive thread - Nuts and bolts ] --- # How does printing enhance a mobile phone? .left-column-half[ Acoustruments ![:youtube Printed objects whose use can be sensed, C2d1pB1qlvA] ] .right-column-half[ New ways of interacting! - Leverages the phone's microphone - Uses flexible plastic with holes - Requires machine learning ] --- # How does printing enhance a mobile phone? .left-column-half[ Tactile map for the blind ![:img An interactive map with 6 black conductive touchpoints. The map is held in a case with 6 conductive buttons that houses a Samsung Note 2 with a 5.5-inch screen., 40%](img/3dprinting/tactile-map.png) ] .right-column-half[ New ways of interacting! Phone as embedded computer - Better solution because reprinting a map is faster than making a whole new portable map for each region - Similar to new interaction techniques, uses conductive plastic ] --- # Use your phone to control general hardware [IOIO](https://learn.sparkfun.com/tutorials/ioio-otg-hookup-guide) / [IOIO wiki](https://github.com/ytai/ioio/wiki) ![:img a development board specially designed to allow developers to add advanced hardware I/O capabilities to their Android or PC application. It features a PIC microcontroller,which acts like a bridge that connects an app on your PC or Android device to low-level peripherals. An app-level library helps you write control code for these low level peripherals in the same way you’d write any other Java app!](img/3dprinting/ioio.jpg) --- # How does printing enhance a mobile phone? .left-column-half[ ![:img (a) 3D printed smartphone adaptor designed for the Samsung Galaxy Note II with a black ABS dark box comprising slots for droppers. (b) 3D printed cartridge composed of a white ABS piece comprising 4 wells and BL substrate reservoirs and a black sliding lid with transparent ABS windows. (c) The assembled smartphone-based device with running the specifically designed application for BL signal acquisition and analysis., 60%](img/3dprinting/biotoxicity.jpg) Many similar options -- e.g. [Ph Meter](https://ieeexplore.ieee.org/abstract/document/6916991); [Sensing sweat make-up](https://pubs.rsc.org/en/content/articlehtml/2014/an/c4an01612b); [Nanosensing by Nasa](https://www.nasa.gov/centers/ames/news/features/2009/cell_phone_sensors.html) [more examples](https://www.sciencedirect.com/science/article/pii/S0167779914000572) ] .right-column-half[ New ways of interacting Phone as embedded computer New ways of sensing - [Biotoxicity sensing](https://www.sciencedirect.com/science/article/pii/S0925400515305992) - Dark box - Phone case ] ??? By clicking the “start” button (b) the application runs and several tabs can be selected (c). The “Procedure” box (d) provide to the user the instructions to perform the assay, then the Begin button allow to proceed to the “Checklist” box (e) where preset timers guide the user through the correct incubation times before BL image acquisition. The instructions can be also eluded by selecting “Test sample” in the home page, which jumps the user directly to the checklist. At the end of the countdown the smartphone camera is activated and the user can simply touch the “Acquire” button to capture the BL image of both the test and control wells. (f) The acquired images are rapidly analyzed on the smartphone and the sample toxicity result is displayed as “Cell viability” value and a warning message (Safe, Harmful, Highly toxic). BL image and results can be also saved for downstream application (i.e. sending results to a central laboratory). --- # How does printing enhance a mobile phone? .left-column50[ [Phone for potentiostatic control](https://ieeexplore.ieee.org/abstract/document/6916991) ![:img Arrangement used for mobile phone based ECL sensing. The audio jack supplies the potential to the paper microfluidic sensor while the resultant emission is detected by the camera in video mode. Both the excitation and detection processes are controlled by a software application which can also transmit the results via e-mail. The black plastic sleeve surrounding the top of the phone holds the sensor adjacent to the camera and blocks ambient light., 40%](img/3dprinting/potentiometric.jpg) ] .right-column50[ New ways of interacting Phone as embedded computer New ways of sensing - exploits ability to play sounds - serves basic functions of a potentiostat in controlling an applied potential to oxidise ECL-active molecules - resultant photonic signal is monitored using the camera in video mode. - combined with paper microfluidic sensors ] ??? The audio jack supplies the potential to the paper microfluidic sensor, while the resultant emission is detected by the camera in video mode. Both the excitation and detection processes are controlled by a software application which can also transmit the results via e-mail. The black plastic sleeve surrounding the top of the phone holds the sensor adjacent to the camera and blocks ambient light. --- # How does printing enhance a mobile phone? .left-column50[ Printed Analytics ![:youtube Printed objects whose use can be sensed, W1V2AgDbgTQ] ] .right-column-half[ New ways of interacting Phone as embedded computer New ways of sensing - uses backscatter technology - works in range of a modified wireless router ] --- # Summary: What does physical computing offer us? .left-column-half[ New ways to interact - capacitive sensing facilitate by conductive plastic/thread - microphone + machine learning New ways to sense information - fluid properties - audio - backscatter ] .right-column-half[ New ways to combine devices (e.g. through bluetooth sensing of physical hardware) Benefits: - modify a device beyond what the manufacturer expected - apid prototyping of novel solutions ] -- # END OF DECK --- # Moon House Video ![:youtube Video of a robot 3d printing a round house, 8zt_3Gs1ksg] --- # Accessible Game Control ![:youtube Xbox adaptive controller intro, 9fcK19CAjWM]