Articles
3
Tags
0
Categories
0
首页
归档
标签
分类
liqure
dsadsadasdasdkcl
Back to Home
首页
归档
标签
分类
dsadsadasdasdkcl
Created
2025-12-28
|
Updated
2025-12-28
|
Post Views:
NACL KKKKCL
KFAS
SADDAD
dqasd2025
ccccd
ddddddd
Author:
G
Link:
https://liqure.com/post/KKCL/
Copyright Notice:
All articles on this blog are licensed under
CC BY-NC-SA 4.0
unless otherwise stated.
Previous
bpy基础
blender的核心由C/C++编写,包括计算、渲染等等,blender的接口是Python封装的,包括用户界面、插件等等,也就是bpy。 因此bpy的运行环境需要blender。 bpy接口分为数据读写、数据结构、消息、内核。 读写分为直接读写和通过工具读写两种。 ###直接读写 bpy访问数据库由data模块提供,bpy.data可以访问blender中所有的数据块。我们在数据类型中讲述所有的数据实例方法。 cube = bpy.data.objects.get("cube") names = [name for name in bpy.data.materials] ###上下文 上下文环境是blender的特性之一。上下文是对当前选中、当前激活、当前模式的记录。上下文的数据是context模块,操作是ops模块。 obj = bpy.context.active_object selected_objs = bpy.context.selected_objects bpy.ops.object.select_all() bpy.ops.ren...
Next
title
大
G
Articles
3
Tags
0
Categories
0
Follow Me
Announcement
This is my Blog
Recent Posts
bpy基础
2025-12-30
dsadsadasdasdkcl
2025-12-28
title
2025-12-28