Copyright 2017 by McGraw-Hill Education. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher.
ISBN: 978-1-25-986184-0
MHID: 1-25-986184-8.
The material in this eBook also appears in the print version of this title: ISBN: 978-1-25-986183-3, MHID: 1-25-986183-X.
eBook conversion by codeMantra
Version 1.0
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps.
McGraw-Hill Education eBooks are available at special quantity discounts to use as premiums and sales promotions or for use in corporate training programs. To contact a representative, please visit the Contact Us page at www.mhprofessional.com.
Information contained in this work has been obtained by McGraw-Hill Education from sources believed to be reliable. However, neither McGraw-Hill Education nor its authors guarantee the accuracy or completeness of any information published herein, and neither McGraw-Hill Education nor its authors shall be responsible for any errors, omissions, or damages arising out of use of this information. This work is published with the understanding that McGraw-Hill Education and its authors are supplying information but are not attempting to render engineering or other professional services. If such services are required, the assistance of an appropriate professional should be sought.
TERMS OF USE
This is a copyrighted work and McGraw-Hill Education and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill Educations prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms.
THE WORK IS PROVIDED AS IS. McGRAW-HILL EDUCATION AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill Education and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill Education nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill Education has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill Education and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise.
About the Author
John Baichtal has written or edited over a dozen books, including the award-winning Cult of Lego (No Starch Press, 2011), LEGO hacker bible Make: LEGO and Arduino Projects (Maker Media, 2012) with Adam Wolf and Matthew Beckler, Maker Pro (Maker Media, 2014), and Hacking Your LEGO Mindstorms EV3 Kit (Que, 2015). Hes hard at work on his latest project, a compilation of LED projects for No Starch Press. John lives in Minneapolis with his wife and three children.
Contents-at-a-Glance
Contents
Acknowledgments
Thanks to Matt Wagner for helping make this happen. I also want to thank everyone at McGraw-Hill for believing in the project. My mom, Barbara Baichtal, helped a lot, as did the builders who let me publish screenshots of their models. Finally, I couldnt write a word without my wife Elise and kids Arden, Rose, and Jack.
CHAPTER 1
Building with Virtual LEGO
IHEAR THE COMPLAINT all the timeLEGO bricks, while amazing, just cost too much. A typical price is 10 cents a brick if you purchase them in sets, more if you buy them individually from a LEGO store. It doesnt help things that those bricks are likely to last 20 years or more. LEGOs legendary quality derives from really great plastic that holds its shape and color long after inferior formulations have gone into the trash bin. Called ABS, this plastic unsurprisingly costs a lot to manufacture, and that price is passed on to the customer. In the end its simple economics: if you want a $200 set and cant afford it, you cant buy it and cant build the model.
Enter the concept of building with virtual LEGO. Imagine a design application that allows you to build any model you can imagine on your computer using nearly every brick the company has molded in a vast array of colors. You can see an example in : any brick in any color! You manipulate the virtual bricks with your mouse to build anything you could build with real LEGO.
Figure 1-1 LEGO Digital Designer (LDD) offers every part in every color. The rest is up to you!
In this chapter youll learn about the three most popular LEGO building programs: LEGO Digital Designer (henceforth LDD), Mecabricks, and LDraw, as well as discovering reasons why youd want toor might not want touse such an application.
Whats Virtual Building All About?
With virtual building, your ability to build is not limited by economics, nor storage space in your house, nor even what parts and colors the company currently offers. Of course, there are downsides. You do not end up with a physical model the way you would with the normal way of building. Furthermore, there is no tactile experience of running your hands through a box of parts looking for that one perfect 2 3 dark red brick that you need for your latest project. Its kind of like the comparison between buying a book online versus rummaging through a dusty old bookstore hoping to find a gem that you never knew existed. Building physically and building virtually both are great, and both are needed, but its not an either-or.
The following are some features common to virtual LEGO building programs.
Virtual Building
You can build virtual LEGO models using these programs, just as you could build LEGO models on your dining room table. Its the most obvious aspect, perhaps, but it bears mentioning. You can build anything you could build in real lifeand a lot besides. In general, the programs I describe in this book are intended to closely shows a simplified virtual model that illustrates just how easy it can be.