Syngress LEGO software power tools kho tài liệu training

514 20 0
Syngress   LEGO software power tools kho tài liệu training

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page i solutions@syngress.com With more than 1,500,000 copies of our MCSE, MCSD, CompTIA, and Cisco study guides in print, we continue to look for ways we can better serve the information needs of our readers One way we that is by listening Readers like yourself have been telling us they want an Internet-based service that would extend and enhance the value of our books Based on reader feedback and our own strategic plan, we have created a Web site that we hope will exceed your expectations Solutions@syngress.com is an interactive treasure trove of useful information focusing on our book topics and related technologies The site offers the following features: ■ One-year warranty against content obsolescence due to vendor product upgrades You can access online updates for any affected chapters ■ “Ask the Author” customer query forms that enable you to post questions to our authors and editors ■ Exclusive monthly mailings in which our experts provide answers to reader queries and clear explanations of complex material ■ Regularly updated links to sites specially selected by our editors for readers desiring additional reliable information on key topics Best of all, the book you’re now holding is your key to this amazing site Just go to www.syngress.com/solutions, and keep this book handy when you register to verify your purchase Thank you for giving us the opportunity to serve your needs And be sure to let us know if there’s anything else we can to help you get the maximum value from your investment We’re listening www.syngress.com/solutions 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page ii 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page iii LEGO ® Software Power Tools Kevin Clague Miguel Agullo Lars C Hassing Technical Reviewer 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page iv Syngress Publishing, Inc., the author(s), and any person or firm involved in the writing, editing, or production (collectively “Makers”) of this book (“the Work”) not guarantee or warrant the results to be obtained from the Work There is no guarantee of any kind, expressed or implied, regarding the Work or its contents.The Work is sold AS IS and WITHOUT WARRANTY You may have other legal rights, which vary from state to state In no event will Makers be liable to you for damages, including any loss of profits, lost savings, or other incidental or consequential damages arising out from the Work or its contents Because some states not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you You should always use reasonable care, including backup and other appropriate precautions, when working with computers, networks, data, and files Syngress Media®, Syngress®,“Career Advancement Through Skill Enhancement®,” and “Ask the Author UPDATE®,” are registered trademarks of Syngress Publishing, Inc “Mission Critical™,”“Hack Proofing®,” and “The Only Way to Stop a Hacker is to Think Like One™” are trademarks of Syngress Publishing, Inc Brands and product names mentioned in this book are trademarks or service marks of their respective companies KEY 001 002 003 004 005 006 007 008 009 010 SERIAL NUMBER HU2JMG8D4E J6RDUM397T QKV87BN5GS XD3FYX6B7N ZAQBVY4532 74KP7V76S6 PQ2AK89FE4 9BKMAS44FU SC4ETMW6FH P95BVX7F7Z PUBLISHED BY Syngress Publishing, Inc 800 Hingham Street Rockland, MA 02370 LEGO® Software Power Tools, Including LDraw, MLCad, and LPub Copyright © 2002 by Syngress Publishing, Inc All rights reserved Printed in the United States of America Except as permitted under the 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, with the exception that the program listings may be entered, stored, and executed in a computer system, but they may not be reproduced for publication Printed in the United States of America ISBN: 1-931836-76-0 Technical Reviewer: Lars C Hassing Cover Designer: Michael Kavish Acquisitions Editor: Jonathan Babcock Page Layout and Art by: Shannon Tozier Copy Editor: Darlene Bordwell Indexer: Rich Carlson CD Production: Michael Donovan Distributed by Publishers Group West in the United States and Jaguar Book Group in Canada 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page v Acknowledgments We would like to acknowledge the following people for their kindness and support in making this book possible A special thanks to Matt Gerber at Brickswest for his help and support for our books Karen Cross, Lance Tilford, Meaghan Cunningham, Kim Wylie, Harry Kirchner, Kevin Votel, Kent Anderson, Frida Yara, Jon Mayes, John Mesjak, Peg O’Donnell, Sandra Patterson, Betty Redmond, Roy Remer, Ron Shapiro, Patricia Kelly, Andrea Tetrick, Jennifer Pascal, Doug Reil, David Dahl, Janis Carpenter, and Susan Fryer of Publishers Group West for sharing their incredible marketing experience and expertise Duncan Enright, AnnHelen Lindeholm, David Burton, Febea Marinetti, and Rosie Moss of Elsevier Science for making certain that our vision remains worldwide in scope David Buckland,Wendi Wong, Daniel Loh, Marie Chieng, Lucy Chong, Leslie Lim, Audrey Gan, and Joseph Chan of Transquest Publishers for the enthusiasm with which they receive our books Kwon Sung June at Acorn Publishing for his support Jackie Gross, Gayle Voycey, Alexia Penny, Anik Robitaille, Craig Siddall, Darlene Morrow, Iolanda Miller, Jane Mackay, and Marie Skelly at Jackie Gross & Associates for all their help and enthusiasm representing our product in Canada Lois Fraser, Connie McMenemy, Shannon Russell, and the rest of the great folks at Jaguar Book Group for their help with distribution of Syngress books in Canada David Scott, Annette Scott, Geoff Ebbs, Hedley Partis, Bec Lowe, and Tricia Herbert of Woodslane for distributing our books throughout Australia, New Zealand, Papua New Guinea, Fiji Tonga, Solomon Islands, and the Cook Islands Winston Lim of Global Publishing for his help and support with distribution of Syngress books in the Philippines v 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page vi 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page vii Contributors Kevin Clague is a Senior Staff Engineer at Sun Microsystems, where he does verification work on their Ulta-SPARC V RISC processor He also worked for Amdahl Corporation for 18 years as a Diagnostic Engineer Kevin played with LEGO as a child, and got back into LEGO as an adult when his wife, Jan, got him the LEGO MINDSTORMS Dark Side Developer Kit for Christmas three years ago Kevin soon got himself a LEGO MINDSTORMS Robotics Invention System 1.5 set, and has been having fun inventing LEGO creations ever since In 2001 Kevin got involved with authoring LEGO instruction books for Syngress Publishing, including 10 Cool LEGO Mindstorms Dark Side Robots,Transports, and Creatures: Amazing Projects You Can Build in Under an Hour (ISBN: 1-931836-59-0) and 10 Cool LEGO Mindstorms Ultimate Builders Projects: Amazing Projects You Can Build in Under an Hour (ISBN: 1-931836-60-4) In the process, Kevin developed the LPub program for creating professional quality building instructions using MLCad, L3P, and POV-Ray More recently, Kevin has developed the LSynth program so that bendable LEGO parts can more easily be documented when creating building instructions Kevin would like to thank his wife, Jan, and children, Aaron,Tony, Allison, and Andrew for “ooohing” and “aaahing” over his LEGO creations Miguel Agullo was born in Spain and has lived abroad for long periods of time, from the Far East to South America, from central Europe to the U.S.Trained as a journalist and impressed with the candor and resourcefulness of the online LEGO community, he tries to give something back by regularly updating his Web site at http://www.geocities.com/ technicpuppy with instructions for new models, new LDraw pieces, and anything he thinks is worth sharing with other LEGO aficionados His building interests revolve around robotics, and specifically biomechanics: creating mechanisms that mimic the behavior of natural devices such as legs or arms Miguel’s creations include biped walkers, robots that jump, and a fully functional (including a brake!) LEGO motorcycle His current vii 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page viii hobbies include boating, biking, traveling, and learning Thai and Dutch (his wife is Thai and they live in Amsterdam—which also explains the boat and the bike) Miguel was a contributing author for 10 Cool LEGO Mindstorms: Dark Side Robots,Transports, and Creatures: Amazing Projects You Can Build in Under an Hour (Syngress Publishing, ISBN: 1-931836-59-0) Technical Reviewer Lars C Hassing lives in Århus, Denmark, only 90 km from Billund, where (naturally) he has a season pass to LEGOLAND Lars works as a programmer at CCI Europe, where he builds large scale, multi-user desktop publishing programs for newspaper publishers in Europe and in the U.S He is the author of L3P and L3Lab, which are programs he created for the LDraw community (www.ldraw.org) Lars is married with two young sons, which gives him a perfect excuse for playing with LEGO viii 240_LEGOtools_TOC.qxd 12/3/02 2:49 PM Page ix Contents Foreword xvii Chapter A LEGO CAD System Introduction The Software Power Tools Suite of Applications LDraw MLCad LSynth L3P and POV-Ray LPub The LEGO Community AT-ST Building Instructions LEGO as a Learning Tool Summary Solutions Fast Track Frequently Asked Questions 5 6 7 10 11 Chapter Installation Introduction Installing the Software The LDraw Parts Library LSynth L3P LPub POV-Ray MEGA-POV Examples MLCad 13 14 16 16 20 20 20 20 21 21 21 ix 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 479 Index scaling LEGO models, 86 scenes described, 290 with models (fig.), 178 seams, adding to images, 304-305 searching rules, MLCad, 246 Select Color window, MLCad (fig.), 123 selecting deactivating selection, 161 parts, 191-192 various parts, 113-162 selection box (fig.), 160 Select Model dialog window (fig.), 168 Select Part dialog window (fig.), 164 Shaded mode (fig.), 79 shock absorbers, 356-357 shortcuts See keyboard shortcuts Snap to Grid button (fig.), 132 software included on CD-ROM, installing, 16 LEGO-based, 34 necessary installations, 23 Software Power Tools, 2, 4-7 sorting parts, 193-194 specifications, synthesis, 253 sport podium model See podium model Spring2DAT bendable-part synthesizer, 252 standards, LDraw, 29 Star Wars and LEGO, 374 theme in minifigs, 119 Statusbar, XYZ coordinates in, 113-114 step-by-step instructions, adding to models, 205-225 studs, 54 measurements in parts library, 99 479 measuring units, 130 submodels and groups, 194-196 minifig (fig.), 168 some primitive (fig.), 231 using for basic parts, 230 SYNTH END meta command, 255 SYNTH meta commands, 253 synthesis band-type, 267-278 constraints, 255, 259 described, 252 hose-type, 257-267 specification, 260, 263 system, LEGO, T tangents, 271-274 Technic axles, 233, 236 brick (fig.), 148 chains, 276-277 hoses (figs.), 254, 255 synthesized ribbed hose (fig.), 255 Technic Puppy Journal, 385-386 textures in parts, 100 toilet bowls, 375 toolbars, MLCad (fig.), 44 tools, LDraw-compatible, installing, 14 torso (minifig) in correct position (fig.), 129 hidden (fig.), 158 misaligned (fig.), 131 trademarks, 380-381 trading LEGO parts, 376 translating LDraw files to POV files, 302 tread, 275-276 240_LEGOtools_indx.qxd 480 12/3/02 4:39 PM Page 480 Index trigonometry, 233 Tschager,Willy, 354 U Uhlmann, Lutz, 284 Ungroup button (fig.), 162 V vector, rotation, 144 vectors, 232 view angles, 109-111 and 3D models, 81-84, 218 axes that connect, 112 preset, with axis positions (fig.), 114 Viewbar, Draw to Selection button (fig.), 224 viewing instruction steps, 211-213 MLCad options (fig.), 245 virtual LEGO mosaics, 176 landscapes, creating, 173-174 space, 109, 115 MLCad, center of (fig.), 115 virtuous cycle, 31-33 W Web pages building instructions for champ (fig.), 340 creating with LPub, 349-351 Web sites 3D Cafe, 382 Brickfilms, 372-373 Bricklink, 375-376 Brickshelf, 216, 369-371 Clague, Kevin, 384-385 First LEGO League, 378-379 From Bricks to Bothans, 374-375 Jennifer Clark, L3PAO, 319 Lars Hassing’s, LDraw, 29, 231, 284 LDraw.org, 371-372 LEGO, official, 379-382 LEGO sphere instructions, 86 LEGO Users Group Network, 40 LSynth, 253 Lugnet, 29, 367-369 meta commands, 204 Michael Agullo, 385 personal, 382 Rubber Belt Generator, 252 Spring2DAT bendable-part synthesizer, 252 Syngress, 11 wheels, 184, 275 Windows 95 and LEGO CAD, 11, 27 coloring functions, 124 Windows 2000 Professional Command Prompt window (fig.), 285 Windows Notepad, opening champ file in (fig.), 189 Wireframe mode (fig.), 78-80 X XYZ coordinate system axes and view angles, 112-113 and camera positioning, 314-315 described, 111-112 L3P use of, 293 parts, precise position, 154 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 481 Index reading in MLCad, 113 relevance to modeling, 183 Y Y rotation axis button, Elementbar, 60-61 Z Zoombar, MLCad, 45 zoom factors MLCad Preview window, different, 53 setting (fig.), 85, 87 view angle change adjustments, 83 481 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 482 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright © 1989, 1991 Free Software Foundation, Inc 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed Preamble The licenses for most software are designed to take away your freedom to share and change it By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software—to make sure the software is free for all its users.This General Public License applies to most of the Free Software Foundation’s software and to any other program whose authors commit to using it (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too When we speak of free software, we are referring to freedom, not price Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can these things To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights.These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have.You must make sure that they, too, receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software Also, for each author’s protection and ours, we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors’ reputations Finally, any free program is threatened constantly by software patents.We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary.To prevent this, we have made it clear that any patent must be licensed for everyone’s free use or not licensed at all The precise terms and conditions for copying, distribution and modification follow TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License.The “Program”, below, refers to any such program or work, and a “work based on the Program” means either the 482 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 483 Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language (Hereinafter, translation is included without limitation in the term “modification”.) Each licensee is addressed as “you” Activities other than copying, distribution and modification are not covered by this License; they are outside its scope.The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program).Whether that is true depends on what the Program does You may copy and distribute verbatim copies of the Program’s source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, not apply to those sections when you distribute them as separate works But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program 483 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 484 In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections and above provided that you also one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections and above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections and above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance You are not required to accept this License, since you have not signed it However, nothing else grants you permission to modify or distribute the Program or its derivative works.These actions are prohibited by law if you not accept this License.Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program 484 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 485 subject to these terms and conditions.You may not impose any further restrictions on the recipients’ exercise of the rights granted herein.You are not responsible for enforcing compliance by third parties to this License If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded In such case, this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Program specifies a version number of this License which applies to it and “any later version”, you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation 10 If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally 485 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 486 NO WARRANTY 11 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,THERE IS NO WARRANTY FOR THE PROGRAM,TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS”WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU SHOULD THE PROGRAM PROVE DEFECTIVE,YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION 12 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms To so, attach the following notices to the program It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found one line to give the program’s name and an idea of what it does Copyright (C) yyyy name of author This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version of the License, or (at your option) any later version This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for more details 486 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 487 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Also add information on how to contact you by electronic and paper mail If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type ‘show w’ This is free software, and you are welcome to redistribute it under certain conditions; type ‘show c’ for details The hypothetical commands ‘show w’ and ‘show c’ should show the appropriate parts of the General Public License Of course, the commands you use may be called something other than ‘show w’ and ‘show c’; they could even be mouse-clicks or menu items—whatever suits your program You should also get your employer (if you work as a programmer) or your school, if any, to sign a “copyright disclaimer” for the program, if necessary Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program ‘Gnomovision’ (which makes passes at compilers) written by James Hacker signature of Ty Coon, April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library If this is what you want to do, use the GNU Library General Public License instead of this License 487 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 488 SYNGRESS PUBLISHING LICENSE AGREEMENT THIS PRODUCT (THE “PRODUCT”) CONTAINS PROPRIETARY SOFTWARE, DATA AND INFORMATION (INCLUDING DOCUMENTATION) OWNED BY SYNGRESS PUBLISHING, INC (“SYNGRESS”) AND ITS LICENSORS.YOUR RIGHT TO USE THE PRODUCT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT LICENSE: Throughout this License Agreement, “you” shall mean either the individual or the entity whose agent opens this package You are granted a limited, non-exclusive and non-transferable license to use the Product subject to the following terms: (i) If you have licensed a single user version of the Product, the Product may only be used on a single computer (i.e., a single CPU) If you licensed and paid the fee applicable to a local area network or wide area network version of the Product, you are subject to the terms of the following subparagraph (ii) (ii) If you have licensed a local area network version, you may use the Product on unlimited workstations located in one single building selected by you that is served by such local area network If you have licensed a wide area network version, you may use the Product on unlimited workstations located in multiple buildings on the same site selected by you that is served by such wide area network; provided, however, that any building will not be considered located in the same site if it is more than five (5) miles away from any building included in such site In addition, you may only use a local area or wide area network version of the Product on one single server If you wish to use the Product on more than one server, you must obtain written authorization from Syngress and pay additional fees (iii) You may make one copy of the Product for back-up purposes only and you must maintain an accurate record as to the location of the back-up at all times PROPRIETARY RIGHTS; RESTRICTIONS ON USE AND TRANSFER: All rights (including patent and copyright) in and to the Product are owned by Syngress and its licensors.You are the owner of the enclosed disc on which the Product is recorded You may not use, copy, decompile, disassemble, reverse engineer, modify, reproduce, create derivative works, transmit, distribute, sublicense, store in a database or retrieval system of any kind, rent or transfer the Product, or any portion thereof, in any form or by any means (including electronically or otherwise) except as expressly provided for in this License Agreement.You must reproduce the copyright notices, trademark notices, legends and logos of Syngress and its licensors that appear on the Product on the back-up copy of the Product which you are permitted to make hereunder.All rights in the Product not expressly granted herein are reserved by Syngress and its licensors TERM: This License Agreement is effective until terminated It will terminate if you fail to comply with any term or condition of this License Agreement Upon termination, you are obligated to return to Syngress the Product together with all copies thereof and to purge and destroy all copies of the Product included in any and all systems, servers and facilities DISCLAIMER OF WARRANTY: THE PRODUCT AND THE BACK-UP COPY OF THE PRODUCT ARE LICENSED “AS IS” SYNGRESS, ITS LICENSORS AND THE AUTHORS MAKE NO WARRANTIES, EXPRESS OR IMPLIED, AS TO RESULTS TO BE OBTAINED BY ANY PERSON OR ENTITY FROM USE OF THE PRODUCT AND/OR ANY INFORMATION OR DATA INCLUDED THEREIN SYNGRESS, ITS LICENSORS AND THE AUTHORS MAKE NO EXPRESS OR IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE WITH RESPECT TO THE PRODUCT AND/OR ANY 488 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 489 INFORMATION OR DATA INCLUDED THEREIN IN ADDITION, SYNGRESS, ITS LICENSORS AND THE AUTHORS MAKE NO WARRANTY REGARDING THE ACCURACY, ADEQUACY OR COMPLETENESS OF THE PRODUCT AND/OR ANY INFORMATION OR DATA INCLUDED THEREIN NEITHER SYNGRESS, ANY OF ITS LICENSORS, NOR THE AUTHORS WARRANT THAT THE FUNCTIONS CONTAINED IN THE PRODUCT WILL MEET YOUR REQUIREMENTS OR THAT THE OPERATION OF THE PRODUCT WILL BE UNINTERRUPTED OR ERROR FREE.YOU ASSUME THE ENTIRE RISK WITH RESPECT TO THE QUALITY AND PERFORMANCE OF THE PRODUCT LIMITED WARRANTY FOR DISC: To the original licensee only, Syngress warrants that the enclosed disc on which the Product is recorded is free from defects in materials and workmanship under normal use and service for a period of ninety (90) days from the date of purchase In the event of a defect in the disc covered by the foregoing warranty, Syngress will replace the disc LIMITATION OF LIABILITY: NEITHER SYNGRESS, ITS LICENSORS NOR THE AUTHORS SHALL BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE, CONSEQUENTIAL OR SIMILAR DAMAGES, SUCH AS BUT NOT LIMITED TO, LOSS OF ANTICIPATED PROFITS OR BENEFITS, RESULTING FROM THE USE OR INABILITY TO USE THE PRODUCT 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 Some states not allow the exclusion or limitation of indirect, special or consequential damages, so the above limitation may not apply to you U.S GOVERNMENT RESTRICTED RIGHTS If the Product is acquired by or for the U.S Government then it is provided with Restricted Rights Use, duplication or disclosure by the U.S Government is subject to the restrictions set forth in FAR 52.227-19.The contractor/manufacturer is Syngress Publishing, Inc at 800 Hingham Street, Rockland, MA 02370 GENERAL: This License Agreement constitutes the entire agreement between the parties relating to the Product.The terms of any Purchase Order shall have no effect on the terms of this License Agreement Failure of Syngress to insist at any time on strict compliance with this License Agreement shall not constitute a waiver of any rights under this License Agreement This License Agreement shall be construed and governed in accordance with the laws of the Commonwealth of Massachusetts If any provision of this License Agreement is held to be contrary to law, that provision will be enforced to the maximum extent permissible and the remaining provisions will remain in full force and effect *If you not agree, please return this product to the place of purchase for a refund 489 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 490 240_LEGOtools_indx.qxd 12/3/02 4:39 PM Page 491 240_LEGOtools_indx.qxd 12/3/02 4:40 PM Page 492 Ride the LEGO® Wave with Syngress! AVAILABLE NOW! ORDER at www.syngress.com/bricks Building & Programming LEGO® Mindstorms™ Robots KIT Demystifies robotics, programming, and engineering for LEGO Mindstorms This 2-book box set contains the best selling Building Robots with LEGO Mindstorms (ISBN: 1-928994-67-9) and Programming LEGO Mindstorms with Java (ISBN: 1-928994-55-5) ISBN: 1-931836-71-X Price: $54.95 USA $84.95 CAN AVAILABLE NOW! ORDER at www.syngress.com/bricks 30 Cool LEGO Mindstorms Projects KIT ® ™ Provides all levels of Mindstorms enthusiasts with 30 cool robots to build in less than an hour Written by LEGO experts, this kit is perfect for all Mindstorms fans This kit includes: 10 Cool LEGO MINDSTORMS Dark Side Robots, Transports, and Creatures: Amazing Projects You Can Build in Under an Hour (ISBN: 1-931836-59-0) 10 Cool LEGO MINDSTORMS Ultimate Builders Projects: Amazing Projects You Can Build in Under an Hour (ISBN: 1-931836-60-4) 10 Cool LEGO MINDSTORMS Robotics Invention System 2.0 Projects: Amazing Projects You Can Build in Under an Hour (ISBN: 1-931836-61-2) ISBN: 1-931836-62-0 Price: $69.95 USA $108.95 CAN AVAILABLE JANUARY 2003 ORDER at www.syngress.com/bricks LEGO® Mindstorms™ Masterpieces: Building and Programming Advanced Robots The world’s leading LEGO Mindstorms inventors share their knowledge and development secrets Written for owners of LEGO Mindstorms kits who are searching for advanced creations to build and adapt Includes CD! ISBN: 1-931836-75-2 Price: $49.95 USA $77.95 CAN www.syngress.com/bricks Document3 4/3/02 4:04 PM Page ... investment We’re listening www .syngress. com/solutions 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page ii 240_LEGOtools_FM.qxd 12/3/02 4:38 PM Page iii LEGO ® Software Power Tools Kevin Clague Miguel Agullo... November 2002 www .syngress. com 240_LEGOtools_01.qxd 12/2/02 5:57 PM Page Chapter A LEGO CAD System Solutions in this Chapter: ■ The Software Power Tools Suite of Applications ■ LEGO as a Learning... perfect excuse for playing with LEGO viii 240_LEGOtools_TOC.qxd 12/3/02 2:49 PM Page ix Contents Foreword xvii Chapter A LEGO CAD System Introduction The Software Power Tools Suite of Applications

Ngày đăng: 17/11/2019, 08:28

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan