Python Scripting in Blender: Extend the power of Blender using Python to create objects, animations, and effective add-ons (Paperback)

Acampora, Paolo

  • 出版商: Packt Publishing
  • 出版日期: 2023-06-09
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803234229
  • ISBN-13: 9781803234229
  • 相關分類: 3D建模 3D-modelingPython程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn how to use Python scripts in Blender 3.3 to automate tasks, optimize your workflow, think like a 3D programmer, and start creating your tools quickly

Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Discover ready-to-go scripts that provide a clear solution to your problems
  • Find out how to automate repetitive tasks in an efficient way
  • Extend Blender's actions and user interface with your code

Book Description

Blender, a powerful open source 3D software, can be extended and powered up using the Python programming language. This book teaches you how to automate laborious operations using scripts, and expand the set of available commands, graphic interfaces, tools, and event responses, which will enable you to add custom features to meet your needs and bring your creative ideas to life.

The book begins by covering essential Python concepts and showing you how to create a basic add-on. You'll then gain a solid understanding of the entities that affect the look of Blender's objects such as modifiers, constraints, and materials. As you advance, you'll get to grips with the animation system in Blender and learn how to set up its behavior using Python. The examples, tools, patterns, and best practices present throughout the book will familiarize you with the Python API and build your knowledge base, along with enabling you to produce valuable code that empowers the users and is ready for publishing or production.

By the end of this book, you'll be able to successfully design add-ons that integrate seamlessly with the software and its ecosystem.

What you will learn

  • Understand the principles of 3D and programming, and learn how they operate in Blender
  • Build engaging and navigation-friendly user interfaces that integrate with the native look and feel
  • Respect coding guidelines and deliver readable and compliant code without the loss of originality
  • Package your extensions into a complete add-on, ready for installation and distribution
  • Create interactive tools with a direct response to the user's action
  • Code comfortably and safely using version control

Who this book is for

This book is for Blender users who want to expand their skills and learn scripting, technical directors looking to automate laborious tasks, and professionals and hobbyists who want to learn more about the Python architecture underlying the Blender interface. Prior experience with Blender is a prerequisite, along with a basic understanding of the Python syntax-however, the book does provide quick explanations to bridge potential gaps in your background knowledge.

商品描述(中文翻譯)

學習如何在Blender 3.3中使用Python腳本自動化任務、優化工作流程、像3D程式設計師一樣思考,並快速開始創建自己的工具。

購買印刷版或Kindle電子書,即可免費獲得PDF電子書。

主要特點:

- 發現現成的腳本,為您的問題提供明確的解決方案
- 找出如何以高效的方式自動化重複性任務
- 通過您的代碼擴展Blender的操作和用戶界面

書籍描述:

Blender是一款功能強大的開源3D軟件,可以使用Python編程語言進行擴展和增強。本書教您如何使用腳本自動執行繁瑣的操作,擴展可用命令、圖形界面、工具和事件響應,從而使您能夠添加自定義功能,滿足您的需求並實現創意想法。

本書首先介紹了基本的Python概念,並向您展示如何創建基本的附加組件。然後,您將深入了解影響Blender對象外觀的實體,例如修改器、約束和材質。隨著您的進一步學習,您將熟悉Blender中的動畫系統,並學習如何使用Python設置其行為。本書中的示例、工具、模式和最佳實踐將使您熟悉Python API,建立您的知識庫,並使您能夠生成有價值的代碼,使用者能夠使用並準備發布或生產。

通過閱讀本書,您將能夠成功設計與軟件及其生態系統無縫集成的附加組件。

您將學到什麼:

- 理解3D和編程的原則,並了解它們在Blender中的運作方式
- 構建引人入勝且易於導航的用戶界面,與原生外觀和感覺相結合
- 遵守編碼指南,提供可讀且符合規範的代碼,同時不損失原創性
- 將您的擴展打包成完整的附加組件,可供安裝和分發
- 創建對用戶操作直接響應的交互式工具
- 使用版本控制舒適且安全地編碼

本書適合對Blender有一定經驗並希望擴展技能並學習腳本編寫的用戶,技術總監希望自動化繁瑣任務的用戶,以及希望了解Blender界面背後的Python架構的專業人士和愛好者。先前使用Blender的經驗是必要條件,並且需要基本的Python語法理解,但本書提供了快速解釋,以彌補您背景知識的潛在差距。

目錄大綱

1. Python's Integration with Blender
2. Python Entities and APIs
3. Creating Your Add-Ons
4. Exploring Object Transformations
5. Designing Graphical Interfaces
6. Structuring Our Code and Add-Ons
7. The Animation System
8. Animation Modifiers
9. Animation Drivers
10. Advanced and Modal Operators
11. Object Modifiers
12. Rendering and Shaders

目錄大綱(中文翻譯)

1. Python與Blender的整合
2. Python實體與API
3. 創建您的插件
4. 探索物件變換
5. 設計圖形介面
6. 結構化我們的程式碼和插件
7. 動畫系統
8. 動畫修改器
9. 動畫驅動程式
10. 高級和模態操作者
11. 物件修改器
12. 渲染和著色器