3D Scanning and Printing

Group Assignment

Go to the group assignment page


Individual assignment

Learning outcomes:

Have you:

Week workflow

Weekly assignment: Test Printer → Design an object → Print object → Scan object → Print scanned object (optional)


Tools used


Software Used


Files Generated/used


  1. Printers preparation

    Delta 3D printer Printer I designed and built a few years back.


    1. To start the test, I prepared the printers by cleaning the nozzles and spreading new glue onto the platforms.

      Glue stick Glue used on the platform 0.4 mm needle 0.4 mm needle used to clean the nozzle

    2. I tested the extrusion on both printers, and it looked good.

      PLA being extruded PLA being extruded PLA being extruded PLA being extruded


  2. The limits of our printers
    1. I started this week's assignment by looking for a test pattern on the website Thingiverse . Simply by using its search engine with the keywords test 3d print , it showed various results with the purpose of testing printers.

      Thingiverse search results Screenshot of the search at Thingiverse

    2. I selected one of the designs, which tests different capabilities of the printers.

      3D printer test model page Screenshot of the test pattern page at Thingiverse

      On the 3D printer test model's page, I downloaded the design and noted the parameters it tests, such as:

      • Nut, Size M4 Nut should fit perfectly
      • Wave, rounded print
      • Star, Sharp Edges
      • Name, Complex Shapes
      • Holes, Size 3, 4, 5 mm
      • minimal Distance: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 mm
      • Z height: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1 mm
      • Wall Thickness: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 mm
      • Bridge Print: 2, 4, 8, 16 mm
      • Sphere, Rounded Print 4.8mm height
      • Sphere Mix, 7 mm height
      • Pyramid 7 mm height
      • Overhang: 25, 30, 35, 40, 45, 50, 55, 60, 65, 70°
      • Warp, does it bend?
      • 3D Print Font, optimized for 3D printing
      • Surface, Flatness
      • Size, 100 x 100mm x 23.83 (10mm width)
      • Spike, minimum Layer Time, 21 mm height from Bottom (include Baseplate)
      • Hole in Wall, 4 mm diameter, check for proper print
      • Raft Test, raft should be just under the model
      • Retract Travel, check retract settings for longer travel

      Below is the 3D print test model:

      It seems you are using an outdated browser that does not support canvas :-( Rendered 3D model of the STL file

      The author also provides an image for reference when checking the print.

      Test model infographic Infographic from the phpBB forum


    3. In Repetier Host, I loaded the STL file and sliced it for each printer, naming the G-code with the printer designation in front.

      Repetier Host G-code for the Mini Generating G-code on Repetier Host for the Mini

      Repetier Host G-code for the Delta Generating G-code on Repetier Host for the Delta

      Slic3r Settings
    4. 3D printers are far from being plug-and-play devices. There is a lot of adjusting, and some of it seems like magic. I will highlight the most important points to consider in the settings of the Slic3r software, which works in conjunction with Repetier.
      1. Still in Repetier, in the "Slicer" tab, the software presents us with several preset configuration options. The first is the slicer software itself. On the drop-down menu, it is possible to choose from Slic3r, Cura, or older software that nobody uses...
      2. In Print settings, we have characteristics of the particular model to print. My current choice is "coarsewithsupport"; later, I will discuss how I chose the settings that make up the presets presented.
      3. Then we have "Printer Settings". Normally, settings related to a specific printer (machine) go here. In my presets, I have the different printers of the lab: one is a Cartesian printer, "Mini_2.5_retraction", and another (not shown) is a delta printer.
      4. Here, in "Filament Settings", are the many filaments one can have, each with different settings like color, temperature, or thickness.
      5. In this item, we will dive deeper into the settings and set up the presets displayed before.

      Slicer tab in Repetier Host

      This Slic3r is the slicer software itself, buried deep in Repetier. Its realms are not for the faint of heart: wrong moves here, or should I say settings, might render catastrophic results in your prints.

      1. As Slic3r presents in the first column, we have the classes: Print settings, Filament, and Printer.
      2. Then, in the second column, we have drop-down menus to choose each preset that the user wishes to customize.
      3. In the third column, we see a gear-shaped icon, a typical icon for configuration. Let's click on it to open each class and see its inner workings.

      Slic3r presets

      Now we are in the Print Settings tab.

      1. Let's examine it sub-class by sub-class, starting with Layers and Perimeters.
      2. In this area, we can see Layer height. This is an important setting that should not go beyond the nozzle diameter size. If you are in a hurry and don't care about the appearance, go high. I have chosen 0.3 mm for a rough feeling. The layers will be noticeable, and slopes will look like stairs. If you need a detailed result, go low. The limits of how low this can go are near infinite, but because time is limited, I suggest not going lower than 0.1 mm. A lower number means more layers, and it will be smooth as peach skin.
      3. After each tweak, click on this strange blue square shape that reminds me of past times, before all this excess of information and the echo chambers, before this truly limitless universe of terabytes around us. It's called a floppy disk. If you don't click, believe me, you will regret it, as nothing will be saved, but fear not, Slic3r won't let you do that without a warning.

      Slic3r Layers and perimeters

      Now, this sub-class of the Print settings is infill. One can save a lot of time and money here. Someone once said they are both the same; frankly, I'd rather own the first than the second. The infill I have is 20%. I am not a cheapskate; I believe 20% is enough. After all, the ephemeral pieces this printer expels are rarely worth using all this corn. Ah, did I mention I am using PLA, a derivative of corn? Of course not; that's later in filaments... So, for now, believe me, 20% is enough for almost all prints. If you need to tow a truck, go crazy, use 100%. If, on the other hand, you want to make a delicate vase, 0% will leave you a hollow print.

      Slic3r Infill

      In this subsection of Print settings, the famous Skirt and Brim, the savvy fabber can use Brim instead of the ridiculous and wasteful rafts made by those who won't take the time to level and calibrate their printers. By using a wide brim, you make sure your print won't detach from the bed. Brim basically consists of lines next to each other and attached to the print; it's great for a spiky model's base, or just for corners that want to take off from the print bed, causing "warping". The skirt is used to kind of clean one's nose—I mean nozzle, yes, the printer nozzle, the part that the filament comes out of. This setting will extrude a line around the model to be printed, especially useful when filament promiscuity is the case, so when changing colors or filament types, be sure to either extrude in the air or add some skirt before your print.

      Slic3r Skirt and brim

      The subclass of Support material I leave for the people who won't challenge their machines, for the ones who don't care to calibrate and level.

      Support material is what you use for overhangs. Support builds under your model in places where the negative slope is too steep, in order to prevent a real bird's nest by free-forming under your nose—I mean nozzle.

      Raft... how I hate rafts! I don't even want to talk about rafts. I wonder how much popcorn has been erased from the universe by the usage of rafts! Well, like the name implies, no one wants to be on, or use, a raft. It's for emergencies and should be kept only for that. It creates a waste of material that will poorly compensate for the lack of leveling; it's for the lazy, but in the end, it promotes more work, as the underside of the print will never be as smooth as the part printed directly on glass. Support also does that. Try printing with support and then spend the next hours post-processing your prints—super fun stuff.

      Slic3r Support material

      The class of filament settings doesn't deserve much time, as it is straightforward. If your filament supplier cares about you, they will give you the temperature at which to print on a label on the sides of the box or spool. The diameter is, and has always been with me, 1.75mm. The thinner diameter is easier to push than 3mm, the other standard in filament thickness. After all, we are pushing filament through a nozzle with a 0.4 mm diameter; that's thin, so choosing a printer that takes a thin filament is better!

      Slic3r Filament settings

      Here in printer settings, we find the nozzle size. I use 0.4 mm. Next, my preferred setting in these tests—well, practically the only one I messed with—is "retraction".

      As the designer, engineer, and technician of my printers, there's little that I haven't tried before.

      The retraction, yes, the retraction, will depend on many factors. Too much retraction, and the filament can get stuck in the nozzle, guaranteeing one a lot of fun fixing/disassembling a nozzle where the filament froze in higher levels. It's always fun for geeks like me to fix that, NOT! Too little retraction, and you will have spider webs all around your towers. So, this is a setting that needs to be tested and tested, until, like many other settings, through trial and error, you master it to what resembles perfection, if that even exists in FDM, of course.

      Slic3r Printer settings, retraction

    5. Next, I took the G-code I had saved on the SD card, placed it in the 3D printers, and started the print.

      Click here for the process of slicing and creating the file with the G-code to print.

      Video of the Mini starting the test print

    6. The prints were not bad, but there was a lot of oozing (spider webs). So, I increased the retraction by .5 mm and then by 1 mm; the improvements were very noticeable in both printers.

      Prints with 1.5 and 2.5 mm retraction Photo of prints with 1.5 (left) and 2.5 mm (right) retraction settings

    7. The results
      Parameter Results  
          Mini Delta
      1 Nut, Size M4 Nut should fit perfectly Yes No
      2 Wave, rounded print Yes Yes
      3 Star, Sharp Edges Yes Yes
      4 Name, Complex Shapes Yes Yes
      5 Holes, Size 3, 4, 5 mm 2.9, 3.9, 4.9 3, 4, 5 mm oval
      6 minimal Distance: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 mm 0.1mm not good 0.1, 0.2, 0.3 not good, scale wrong: 6.5mm instead of 7mm
      7 Z height: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1 mm 0.1mm printed as 0.2 and 1.1 as 1 Yes
      8 Wall Thickness: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 mm didn't print 0.1, 0.2; the next walls printed as 0.5, until the last one as 1mm Yes
      9 Bridge Print: 2, 4, 8, 16 mm Printed as 2.85, 3.9, 7.9, 15.8 Yes
      10 Sphere, Rounded Print 4.8mm height 5.1 Yes
      11 Sphere Mix, 7 mm height 7.15 Yes
      12 pyramid, 7 mm height 6.95 Yes
      13 Overhang: 25, 30, 35, 40, 45, 50, 55, 60, 65, 70° Yes Yes
      14 Warp, does it bend? no Yes, it warped
      15 3D Print Font, optimized for 3D printing Yes Yes
      16 Surface, Flatness a bit rough Yes
      17 Size, 100 x 100mm x 23.83 (10mm width) 99.45 x 99.8 x 23.2 (10.2 width) Yes
      18 Spike, minimum Layer Time, 21 mm height from Bottom (include Baseplate) 15mm Yes
      19 Hole in Wall, 4 mm diameter, check for proper print Yes Yes
      20 Raft Test, raft should be just under the model didn't test Yes
      21 Retract Travel, check retract settings for longer travel almost no oozing Yes
        Conclusion For an FDM printer, I believe the result is very good. The size differences are probably due to PLA shrinkage.

  3. Designing and printing an object
    1. I decided to create a necessary part for my final project: a wire organizer that, when connected together, works as a chain.

      This design is either too hard or even impossible to do with subtractive techniques due to its shape and details, which are inaccessible to a 2-axis CNC or even a 3-axis one.

    2. The design is parametric, so I can easily change the size as needed.

      Parametric design collage Parametric design on SolidWorks from beginning to G-code generation

      Finished wire organizer model Model finished

    3. The steps to design

      Square sketch with parameters Here, I selected a plane, then created a square and added parameters so I can easily change it in the future.

      Choosing the extrusion Here, I already exited the sketch and selected the type of feature, in this case, extrusion. Next, I chose the dimension of the extrusion.

      Extruded piece The extruded piece!

      Sketching on a face Next, I chose the face that will have the feature and started sketching directly on its plane.

      Sketch of the cut After the last extrusion, I sketched what would be cut.

      Cut feature And finished with the feature, choosing to cut all.

      Creating planes I created a few planes for the next operations.

      Planes being created Planes being created

      Mirroring the feature With the planes created, I could mirror the feature.

      Mirror operation The mirror operation

      Fillets Fillets for a better finish and also a smooth 3D print. This feature would be very hard to do on a CNC.

      Fillets finished The fillets finished.

      Parameters example Example of the parameters.

      Finished part Finished part, ready for the STL creation

      Save As dialog ...to create the STL, click on File, Save As...

      Choosing the STL format Choose the format type as STL.

      Choosing where to save Save in the desired location.

      STL statistics Confirm and see the statistics.

      Table of parameters This is the table of parameters for this part.

    4. As I finished the SolidWorks model, I then exported the file as STL.

      It seems you are using an outdated browser that does not support canvas :-( Render of my 3D model of the wire organizer.

      Loading the STL in Repetier Host

      Slice and Print
      1. Add the STL file.
      2. Scale if needed.
      3. Rotate if needed.
      4. Click on Slicer to get to the settings and start slicing.

      Slicer settings in Repetier Host

      1. In Configuration, you can set particular characteristics of the slicing operation. Attached is the config bundle for our printers.
      2. With the preset loaded, here you choose print settings.
      3. Here, you can select the machine model.
      4. Here are the filament settings.
      5. Finally, click on "Slice with Slic3r".

      Saving the G-code to the SD card

      1. Click on save to SD card to have your G-code saved to the media you will insert into a 3D printer.
      2. In visualization, you can see layer by layer and understand how your settings will affect the print before actually printing.

      Layer by layer preview

      1. The settings in the slicer show that the infill was rectilinear and at 20%, and the layer height was 0.2mm.
      2. Again, clicking show layer height and sliding the last layer will show the layers step by step.

      Printer LCD

      1. With the SD card inside, check the LCD, which will show the nozzle temperature, top left.
      2. Then, press the rotary encoder to show the menu options.

      Print from media menu

      1. Scroll to "Print from media" and press the encoder knob.

      Choosing the file to print

      1. Scroll to the desired file, press the knob, and the print will start.

      Printer printing the chain organizer Printer almost finished printing the chain organizer.

      Video of the printers printing the organizer and the organizer assembled in a chain.

  4. 3D Scanning
    1. For that part of the assignment, I used Autodesk ReMake. It relies on photogrammetry.

      Autodesk ReMake

    2. Luckily, I was at the beach, and I saw a model that would be interesting: someone had balanced a large rock.

      Balanced rock on the beach Balanced rock at "Figueira beach" near Lagos, Portugal.

    3. The next step was to take more than 90 photos from all angles, preferably without a moving background like people or clouds.

      Photos of the rock from all angles Sample of the 90+ images taken to make the model.

    4. Next, I uploaded the files to ReMake. It's important to select only good images and restrict moving objects in the background. After the upload is done, press create model. It can take a while to generate your model.

      Uploading images to ReMake Screenshot from ReMake uploading images

    5. After the upload, choose an option in the generation process. I chose standard as it's free.

      ReMake generation options Screenshot of the options in ReMake

    6. On the lower part of the screen, ReMake shows models being generated and in the queue. The top part shows models already done.

      ReMake model queue Screenshot from Autodesk ReMake

    7. With the model ready, you can click on it and enter the edit mode of ReMake.

      Model generated, showing problems with open faces. Not ready for printing.

    8. I compiled the editing sequence in the following mosaic. In short, I selected the undesired parts, deleted them, and filled the holes left. Finally, I generated an STL file that should be ready to print.

      Editing the scan in ReMake Collage of screenshots of the editing sequence in Autodesk ReMake


      The result:

      It seems you are using an outdated browser that does not support canvas :-( Render of my 3D model from photogrammetry scanning on ReMake

    9. Preparation of the Stone Model
      1. I clicked on load in order to load the STL file into Repetier. STL file here.
      2. Next, find the file in its directory and click OK.
      3. If needed, it's possible to rotate, scale, etc. the model until it fits in the printer area. In my case, this was not necessary, as the model fit.

      Stone model loaded in Repetier Host

    10. On the tab "Slicer"
      1. I started by selecting the slicer software. I chose "Slic3r" (with a 3 instead of the letter "E"—yes, this is a confusing name).
      2. Next, I selected the pre-configured setting "coarse with support".
      3. Then, the best option according to the previous tests: Mini 2.5 retraction.
      4. On Extruder, there is only one pre-configured in this printer, so no choices are available.
      5. Advanced configurations are available in the "configuration" option, but in my case, it was not needed, as the already tested pre-configuration should work fine.
      6. Finally, click on "Slice with Slic3r" to start the slicing process.

      Slicer tab settings for the stone model

    11. Now the model is ready to be printed. This can be done by clicking on the button "Print". The top arrow points to the statistics of the print; it would take 1 hour and 41 minutes to print the scanned model, which I chose not to do. In the lower arrow, it's possible to see the support material that was prepared for the print.

      Print preview and statistics of the stone model

    12. G-code generated:

      The G-code generated can be downloaded with the link above, but I extracted the beginning of it here in order to show a few of its statistics:

      ; generated by Slic3r 1.3.1-dev on 2020-05-31 at 20:04:21
      ; external perimeters extrusion width = 0.44mm (3.38mm^3/s)
      ; perimeters extrusion width = 0.48mm (7.54mm^3/s)
      ; infill extrusion width = 0.48mm (10.05mm^3/s)
      ; solid infill extrusion width = 0.48mm (2.51mm^3/s)
      ; top infill extrusion width = 0.48mm (1.88mm^3/s)
      ; support material extrusion width = 0.44mm (6.76mm^3/s)
      

← (Feb 26) Electronics Production · all weeks · Electronics Design (Mar 11) →