Blender 2.49 scripting [electronic resource] : extend the power and flexibility of Blender with the help of Python, a high-level, easy-to-learn scripting language / Michel Anders.
- Birmingham, U.K. : Packt Open Source, 2010.
1 online resource (292 p.)
- Python (Computer program language).
- Electronic books.
- The focus of the book is on practical problems and how to solve them in Python. The examples given are useful programs that try to solve real-world needs. Each chapter revolves around a single concept giving several examples gradually growing in difficulty. Each section analyses the problem first before diving into coding and gives extensive background information to enable the reader to generalize from the specific problem to a wider range of challenges. The sample code is provided as fully working examples with all key issues extensively highlighted. All sample programs are clear and concise
- Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Extending Blender with Python; The Blender API; A lot of power; Some batteries included; Check for a full Python distribution; Installing a full Python distribution; The interactive Python console; Exploring built-in modules, the help() function; Exploring built-in functions, the dir() function; Getting familiar with the built-in editor; An editor example; First steps: Hello world; Integrating a script in Blender's menus; Integrating a script in Blender's help system
Don't get confused, stay objective Adding different types of object from a script; Adding a mesh object; Distributing scripts; The Blender API; The Blender module; Blender objects; The bpy module; Drawing on the screen; Utilities; Summary; Chapter 2: Creating and Editing Objects; Creepy crawlies-a GUI to configure objects; Building the user interface; Creating bugs-some assembly required; Creating a user interface; Remembering choices; The full power of Blender graphics; Creating a new Mesh object; Transforming mesh topology; Code outline bridging edge loops
Dazzle your boss-bar charts in Blender style The bar chart script; Weird faces-selecting and editing faces in meshes; Selecting warped (non-planar) quads; Code outline warp select; Selecting ultra sharp faces; Selecting vertices with many edges; Selecting poles; Selecting poles, again; Determining the volume of a mesh; Determining the centre of mass of a mesh; Some remarks about accuracy; Growing sunflowers-parenting and grouping objects; Groups; Parenting; Growing a sunflower from seed; Duplication versus instantiation; Growing a sunflower; Summary; Chapter 3: Vertex Groups and Materials
Vertex groups A weighty issue; Code outline: left right.py; Modifiers; Engraving; Converting a Text3d object to a mesh; Extruding an edge loop; Expanding an edge loop; Putting it all together: Engrave.py; Flying sparks; Calculating the local curvature; Code outline: curvature.py; Putting it all together: St. Elmo's fire; Bones; Tick-Tock; Code outline: clock.py; Get a bit of backbone boy!; Materials; Object materials versus ObData materials; Assigning materials to parts of an Object; Vertex colors versus face materials; Adding materials to our engraving; Summary
Chapter 4: Pydrivers and Constraints Getting to grips with animated properties; IPO; IPO channels and IPO Curves; Constraints; Difference between drivers and constraints; Programming with constraints; Programming with IPOs; PyDrivers; PyConstraints; Setting the time-one to rule them all; Overcoming limitations: pydrivers.py; Internal combustion-correlating complex changes; More power-combining multiple cylinders to an engine; Adding simple constraints; Defining complex constraints; The Blender constraint template; Do you find me attractive too?; Snapping to mesh vertices
Aligning along a vertex normal
- Includes index.
|Location||Notes||Your Loan Policy|
|Description||Status||Barcode||Your Loan Policy|