查看方案
组件 3D 模型: import bpy
import bmesh
import math
from mathutils import Vector, Euler

# ===== | Tripo AI
Lv.0

modèle 3d de composants

浏览全部3D模型
提示词

import bpy import bmesh import math from mathutils import Vector, Euler # ============================================================================== # 1. 清理场景与单位设置 (毫米) # ============================================================================== bpy.ops.wm.read_factory_settings(use_empty=True) scene = bpy.context.scene scene.unit_settings.system = 'METRIC' scene.unit_settings.scale_length = 0.001 # 1 Blender 单位 = 1 mm scene.unit_settings.length_unit = 'MILLIMETERS' # 创建集合 col_shell = bpy.data.collections.new("01_Coque_Externe_Gant") col_hardware = bpy.data.collections.new("02_Gabarits_Composants_PC") col_lights = bpy.data.collections.new("03_Eclairage_Vitres") scene.collection.children.link(col_shell) scene.collection.children.link(col_hardware) scene.collection.children.link(col_lights) # ============================================================================== # 2. 创建 PBR 材质 # =

4K·PBR·Tripo H3.1

推荐模型