Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
3D printing with RepRap Cookbook

You're reading from   3D printing with RepRap Cookbook Over 80 fast-paced recipes to help you create and print 3D models

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781782169888
Length 346 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
 Salinas Salinas
Author Profile Icon Salinas
Salinas
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

3D Printing with RepRap Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with 3D Printing 2. Optimizing the Printing Process FREE CHAPTER 3. Scanning and Printing with a Higher Resolution 4. Modeling and Printing with Precision 5. Manipulating Meshes and Bridges 6. Making the Impossible 7. Texture – the Good and the Bad 8. Troubleshooting Issues in 3D Modeling 9. Troubleshooting Issues in 3D Printing Understanding and Editing Firmware Taking a Closer Look at G-code Filament Options for RepRap Printers Index

Generating G-code


G-code is generated by your slicer. The slicer is a program that takes the file of your 3D model and slices it up into many layers. A model created for 3D printing is constructed by a contiguous surface of triangles. This forms the entire skin of your model, without any gaps or overlapping.

The following image is a model created with TopMod.

When the slicer program slices the model, it generates a perimeter of each Z layer. A sliced layer is illustrated in the following image:

In order to create a perimeter for the slicer, some or all of the triangles that intersect the XY plane for the Z height may be used. In the following image, we can see the places where some triangles may be eliminated due to size or redundancy:

This is one reason why different slicers may produce different results. As shown in the following image, we can see a difference in the 39th Z height layer of this model:

The narrow undercut of the perimeter is sharper in the Slic3r profile as opposed to the more rounded Skeinforge interpolation. This is a subtle difference, but it illustrates how there can be a difference between different slicer interpolations.

Another difference between slicer profiles will be how the extruder's actual path is generated. In the following figure, we can see the difference between Slic3r and Skeinforge:

It's very unlikely that a difference in the actual movement path of the extruder will make a difference, unless the end and start of a Z height layer occurs in the same XY coordinate, and this creates a ridge in a detailed sensitive area of the model. Of course, this can be alleviated by selecting a random start point for each Z height in the slicer profile.

Repetier-Host, Pronterface, and other host software have good G-code viewers, but there is also a web browser G-code viewer that is useful. It is called G-code Visualizer. It's an open source web app that was created by Alex Utsyantsev, and it's available freely at http://gcode.ws/.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images