Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Simplifying 3D Printing with OpenSCAD

You're reading from   Simplifying 3D Printing with OpenSCAD Design, build, and test OpenSCAD programs to bring your ideas to life using 3D printers

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781801813174
Length 320 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Colin Dow Colin Dow
Author Profile Icon Colin Dow
Colin Dow
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Part 1: Exploring 3D Printing
2. Chapter 1: Getting Started with 3D Printing FREE CHAPTER 3. Chapter 2: What Are Slicer Programs? 4. Chapter 3: Printing Our First Object 5. Part 2: Learning OpenSCAD
6. Chapter 4: Getting Started with OpenSCAD 7. Chapter 5: Using Advanced Operations of OpenSCAD 8. Chapter 6: Exploring Common OpenSCAD Libraries 9. Part 3: Projects
10. Chapter 7: Creating a 3D-Printed Name Badge 11. Chapter 8: Designing and Printing a Laptop Stand 12. Chapter 9: Designing and Printing a Model Rocket 13. Part 4: The Future
14. Chapter 10: The Future of 3D Printing and Design 15. Other Books You May Enjoy

Turning 2D shapes into 3D objects

Part of constructing our PVC Hook in Chapter 4, Getting Started with OpenSCAD, involved using the linear_extrude command to turn a 2D shape into a 3D shape. We created the 2D shape in OpenSCAD using the shapes it had available.

Although the result was what we needed, there will be times when we may require a shape that is a little difficult to create in OpenSCAD. For these situations, we must import a .svg file and then extrude it.

In this section, we will do just that. We will create a 3D printable Thumbs Up award, import it as a .svg file, and then extrude it.

Importing SVG files into OpenSCAD

To import a .svg file into OpenSCAD, we can use the import command. To import the Thumbs Up graphic for our design, do the following:

  1. Download the ThumbsUp.svg file from the following GitHub location: https://github.com/PacktPublishing/Simplifying-3D-Printing-with-OpenSCAD/tree/main/Chapter5/images.
  2. Create a new OpenSCAD file called...
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 $19.99/month. Cancel anytime