3D Modeling and Printing for Electronics (Extract)

Page 3

3D Modeling and Printing for Electronics Learn to 3D Model & 3D Print with Tinkercad INCLUDES 6VIDEOTUTORIALS ELEKTOR ACADEMY
Teun van Roessel

3D Modeling and Printing for Electronics

Teun van Roessel

● This is an Elektor Publication. Elektor is the media brand of Elektor International Media B.V.

PO Box 11, NL-6114-ZG Susteren, The Netherlands

Phone: +31 46 4389444

● All rights reserved. No part of this book may be reproduced in any material form, including photocopying, or storing in any medium by electronic means and whether or not transiently or incidentally to some other use of this publication, without the written permission of the copyright holder except in accordance with the provisions of the Copyright Designs and Patents Act 1988 or under the terms of a licence issued by the Copyright Licencing Agency Ltd., 90 Tottenham Court Road, London, England W1P 9HE. Applications for the copyright holder's permission to reproduce any part of the publication should be addressed to the publishers.

● Declaration

The authors and publisher have used their best efforts in ensuring the correctness of the information contained in this book. They do not assume, or hereby disclaim, any liability to any party for any loss or damage caused by errors or omissions in this book, whether such errors or omissions result from negligence, accident or any other cause.

All the programs given in the book are Copyright of the Author and Elektor International Media. These programs may only be used for educational purposes. Written permission from the Author or Elektor must be obtained before any of these programs can be used for commercial purposes.

● British Library Cataloguing in Publication Data

A catalogue record for this book is available from the British Library

● ISBN 978-3-89576-547-6 Print

ISBN 978-3-89576-548-3 eBook

● © Copyright 2023: Elektor International Media B.V.

Editor: Alina Neacsu

Prepress Production: D-Vision, Julian van den Berg

Elektor is the world's leading source of essential technical information and electronics products for pro engineers, electronics designers, and the companies seeking to engage them. Each day, our international team develops and delivers high-quality content - via a variety of media channels (including magazines, video, digital media, and social media) in several languages - relating to electronics design and DIY electronics. www.elektormagazine.com

4 3D Modeling and Printing for Electronics

Foreword

You are looking at the booklet for the crash course on 3D printing for electronics. Created by author Teun van Roessel and published by Elektor. Next to this booklet, the course consists of several videos which can be found on www.elektor.com.

As the name implies, during this course you will learn how to quickly build casings for electronic parts. This course is perfect for you if you just bought your (first) printer and want to print your own designs as soon as possible.

Information in the blue blocks is background information and is not necessary for printing, but it does help you to understand printing better and, in most cases, helps make better prints.

Modeling in this course is done on the computer, although the main modeling program (Tinkercad) is also available on tablet.

Hope you enjoy and learn something!

Cheers, Teun

5
6 3D Modeling and Printing
Electronics Table of contents Foreword .................................................................................................................................... 5 1: Introduction ............................................................................................................................ 1 - Goal .............................................................................................................................................................. 1 - How 3D printing works .......................................................................................................................... 1 - Software................................................................................................................................................... 10 - Before you start printing 14 2: Basic 3D modeling for 3D printing ................................................................................. 19 - Modeling 19 - Slicing 27 - Printing 35 3: Modeling something useful ............................................................................................. 37 - Measurements and dimensions 37 - Modeling the bottom part 41 - Modeling the top part 44 - Slicing and printing 51 4: Post-processing ..................................................................................................................52 - Removing support material 52 - Removing webbing ............................................................................................................................. 52 - Smoothening ......................................................................................................................................... 53 - Opening holes ...................................................................................................................................... 54 - Upgrading the print ............................................................................................................................. 55 5: Pushing the limits ...............................................................................................................56 - Making something hard 56 - The model 56 - Measuring & Sketching 58 - Modeling the shape 59 - Slicing and part placement 72 6: Movable parts ..................................................................................................................... 74 - The basics 74 - Creating a simple hinge 74 - Slicing 82 7: Snap fits ................................................................................................................................85 8: Outro ................................................................................................................................... 106 9. Epilogue ............................................................................................................................. 108 Attachments........................................................................................................................... 109
for

1. Introduction

Goal of this course

During this course, you will learn to model a 3D object with software and how to convert it into a physical 3D object, using a 3D printer. The focus of this course will be on making a container (housing) for (custom) electronics. We will use the most accessible software to get great results quickly. In this course, the emphasis is therefore on the 3D printing of practical parts and not on the creation of art objects such as game characters.

3D printed objects are formed layer by layer, in most cases you can see the layers from production.

How 3D printing works

Despite 3D printers seeming like magic to some, the principle is quite simple. Material is hardened layer by layer in a certain shape so that slowly but surely a physical object is created from all those layers.

The simplest and most common form among hobbyists is fused deposition modeling (FDM). This involves pushing plastic filament (wire) through a hot piece of metal (hotend) by an extruder. The filament melts and is placed on a plate by a movable nozzle. When it lies on the plate, the filament hardens. Because the nozzle can move, it can lay the layer of plastic in any desired shape. When the entire layer is ready, the nozzle goes up relative to the plate and it is time for the next layer. Layers can easily melt into each other when they are placed on top of each other by the nozzle. This way, strong plastic parts can be built up from layers.

7 1. Introduction

Another commonly used form is SLA printing, which uses a liquid that hardens when in contact with certain wavelengths of light. A beam of light is used to harden the material at specific points, layer by layer, to create the model.

With FDM printing, the object is built from bottom to top. With SLA printing, the object is built upside down as it is slowly being pulled out of the liquid.

SLA printing requires the use of chemical liquids, which require a well ventilated workspace and protective clothing/gear. Moreover, these printers tend to be a bit more pricey and they are a little less intuitive to understand. During this course we will use the most common print technique for hobby printers; FDM.

Another technique that is used in the industry a lot is SLS (Selective laser sintering). It uses layers of powder that are melted using a laser beam. SLS can print with less visible layers in the model, but the printers are a lot more expensive to buy and operate.

*Image courtesy of Anycubic website

8 3D Modeling and Printing for Electronics
Filament printers VS SLA printers

FDM printer basic parts

To be able to FDM print something, you need to melt plastic filament and let it cool in a controlled way. The basic principle to do this requires at least the following parts.

Filament: the plastic material which will form your 3D printed model

Filament roll, the way filament is bought and placed on the printed

Extruder, this part pushes the filament through the printer

Hot end, this part heats up the filament until it is liquid

The nozzle, this part forces the filament through a small hole, making sure the printer can print accurately

The print bed, this is the place where your model is built. The nozzle can move freely over the bed because of motors and pulleys. This way it can create the shapes that will form your model.

9 1. Introduction

Software

To be able to 3D print your self-designed 3D object, you need 3 pieces of software: the 3D modeling software, the slicer and the software on your printer.

3D modeling software

Before you can print something, you need a digital model. You can model this through 3D modeling software.

There are several ways to model 3D objects. For example, you can build an object using polygons (small dots in 3D space), by means of 3D sculpting and as a solid.

The first two methods are mainly used for modeling characters or objects in video games or animations. You can adjust the model very specifically with a focus on making it visually appealing and less on specific dimensions. These methods are ideal for curves and organic shapes.

10 3D Modeling and Printing for Electronics
3D modeled character*
3D model (.STL) Control Code (G-code) Slicer 3D printer
Modeling software
Blender is an open-source program that makes it possible to model 3D objects in all kinds of ways and for all kinds of functions. Note that, because of all these possibilities, the learning curve is quite high.

Solid models are often used in industry because they allow you to quickly and precisely create shapes that are easy to produce. Solid models are made up of basic shapes that you put together or cut out from each other to get a unique shape.

3D modeled object**

Thingiverse.com is a website that has a ton of ready-to-print models. Make sure to download the right file type. Most slicer programs handle .STL files the best. Make sure to download a file type your slicer can handle.

Solid for industry

Solid models are also often used by engineers for all kinds production processes, such as (CNC) milling, punching or (laser)cutting. Solid works or AutoCAD are well-known software packages that work with solids. A way more accessible way to model solid models is using the Tinkercad software. This software is free to use and works in-browser so you don’t have to install anything. It uses the principles of solid modeling in the most basic ways and is easy to get into. In Lesson 2 we will get started on this.

Tinkercad allows you to use simple shapes to form the basis of your design. They are easily transformed and combined to create custom shapes.

*Image courtesy of Blender website

** Image courtesy of Tinkercad website

11 1. Introduction

Slicer software

If you have a 3D object, your printer still needs to know how to print that object. Which movements do the motors have to make to get the nozzle in the right place at the right time? How fast should the filament come through the nozzle? How hot should the nozzle get? How fast should everything go? These parameters differ per printer.

Fortunately, you do not have to estimate and enter all these parameters yourself. Slicer software is specifically designed to do this for you. This software usually comes standard with your printer. There is also software that can slice for multiple printers such as Simplify 3D or Cura (open source).

With Slicer software, you enter your 3D file (.STL) and you get a G-code (.gcode) file out. Your printer then knows exactly what to do to print the object.

A .STL file just describes all the surfaces of your 3D model. Not the colors or infill. Moreover, it builds the model from triangles only. The bigger the resolution of the file, the smaller the triangles are. If a curvy surface is made from triangles, a low resolution will be visible as the curve will be less smooth. STL files are widely used because they are simple, light, and easy to be handled by 3D machines and software.

A .gcode file is literally a piece of code that the 3D printer interprets. It tells the different motors, the hot end, and other parts of the printer what to do. You can open a G-code file using notepad or a coding program to see how it is built up.

12 3D Modeling and Printing for Electronics

Printer software

There are a variety of printers, and almost all of them come with software preinstalled. Most printers have an input port for a USB stick or (mini) SD card. You can put your Gcode file on this storage medium and put it in the printer. The printer recognizes the file and can print it. When the Gcode is correct, it will correctly instruct the printer on how to print.

It is also possible to set things manually through the software of your printer. For example, you can let the nozzle heat up so that you can change filament. How to do this exactly depends on the prints user interface.

Most printers have a touch screen or a rotary knob as input for the interface. This interface is used for all kinds of manual things like heating up the nozzle, using the extruder and moving the print head.

13 1. Introduction

Before you start printing Filament

There are different types of filament, the most commonly used material is PLA. This material runs quite smoothly through the nozzle and has a small chance to get stuck. The PLA material is plant-based. There are also materials such as ABS (Lego blocks are made of this) and PET (from the PET bottles). Different materials require different settings for printing. Most slicers allow you to choose the material and then adjust these settings directly. In this course we will use PLA (see attachment 1 for an overview of the different types of filament).

Make sure the filament is dry. Most filaments like to absorb moisture. This will degrade their material properties. Store your filament in a dry area.

Inserting filament

Before you can print, you must have filament in your printer in the right way. The exact process for installing your filament varies per printer. In general the steps are roughly the same.

1. Heat up the nozzle.

2. Push the filament through the run-up tubes.

3. Put a little pressure on the filament when it touches the extruder. Activate the extruder using the menu of your printer. The extruder will now grip the material and push it in.

4. When the filament is in the extruder, make the extruder push the filament further forward until the filament comes out of the nozzle.

There are also printers with two nozzles, where you can print with multiple colors or materials in 1 model.

14 3D Modeling and Printing for Electronics

Leveling the bed

Before you can start printing with a new 3D printer, it is wise to level the bed first. It is important to make sure the filament will be able to flow onto, and stick to, the bed properly. If the distance between the nozzle and the bed is not correct, you will not get nice print results, or in some cases, you can even damage the printbed (because the nozzle will run into it). Setting the right distance in all corners of the bed will ensure the print results will be good.

With most simple printers you can use screws located on different corners of the bed to change the height of the bed easily. The printer almost always has a mode to conveniently find the right height. In this mode, the print head moves around all corners and places the nozzle at print height. You can then look/feel with a piece of paper whether the distance between the bed and the nozzle is okay.

More high-end printers have an automatic mode to level the bed with a probe and extra motors. You can often still manually determine the distance to the nozzle if necessary.

15 1. Introduction
Too close Too far Right distance

Things to consider while modeling

Depending on your printing method, there are different things to consider while modeling. The product is built up layer by layer. As a result, inclined and overhanging surfaces can collapse. In those cases, the printer tries to print on air instead of a previous layer and therefore the layer falls down. This is not desirable.

Support material (green) is generated when the overhang angle is too great, in which case layers can not stick to each other enough and extra material beneath the layer is needed.

To partially compensate for this, the printer can print support material. These are small pieces of printed material that only serve as support for your model. Support material is printed in a way that makes it come off your model easily. However, it usually does not give the best finish to the surface which is built upon it. To minimize the need for support, you can in some cases take into account that there are no (steep) slopes in your model. You can also play with which side you see as the ‘bottom’ of your model and place it on the plate during printing.

The orientation of the print can sometimes reduce the amount of support that is needed, creating a quicker and cleaner print. On the left is an example of a bad orientation when it comes to minimizing support materials, on the right is a better choice.

16 3D Modeling and Printing for Electronics

Some printers use a specially designed material for printing support. This material is printed using a second nozzle. This material dissolves in water. You can print your model with support, put it in a container of water, and after a while the support is gone, this often gives a better finish than breaking off fused support material.

Orientation

Also, keep in mind that your model has to stick to the plate during the entire printing process, a larger surface as the bottom stays in place better.

It is a good idea to choose the bigger side of the model as the bottom of your print because it will stick to the base plate better. On the left is a bad choice for making sure the model sticks to the base plate. On the right is a wiser choice.

17 1. Introduction

Printer maintenance

Because your print bed wears out and slides with use, it is sometimes necessary to level your print bed again.

After a longer period of use, most printers require more maintenance, like lubricating the guidance tubes and replacing the nozzle or hot end. How to do this exactly differs greatly per type of printer. See your printer’s manual for these kinds of maintenance.

Safety

3D printers are devices with moving, hot parts. Never put your hand in the device when it is printing or heated up unless the manual suggests otherwise.

Carefully read your printers manual to find out all safety measures and be sure to comply.

18 3D Modeling and Printing for Electronics

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.