vault backup: 2023-09-07 21:42:17
This commit is contained in:
parent
c67bb47327
commit
2bf70c73c9
@ -102,6 +102,20 @@ for root, subdirs, files in os.walk(psaDirPath):
|
|||||||
bpy.ops.object.delete()
|
bpy.ops.object.delete()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 添加平滑组
|
||||||
|
```python
|
||||||
|
import bpy
|
||||||
|
import os
|
||||||
|
import math
|
||||||
|
|
||||||
|
for obj in bpy.data.objects:
|
||||||
|
if obj.type=='MESH':
|
||||||
|
obj.data.use_auto_smooth = True
|
||||||
|
obj.data.auto_smooth_angle = math.radians(180)
|
||||||
|
currentmesh = obj.data
|
||||||
|
for setting in currentmesh.polygons:
|
||||||
|
setting.use_smooth = True
|
||||||
|
```
|
||||||
# 其他
|
# 其他
|
||||||
获取UModel解包游戏所需的AES Key:https://cs.rin.ru/forum/viewtopic.php?t=100672
|
获取UModel解包游戏所需的AES Key:https://cs.rin.ru/forum/viewtopic.php?t=100672
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user