背景美化

This commit is contained in:
lingyu zeng
2025-03-23 21:14:59 +08:00
parent 237d2b4c93
commit c0618c822d

View File

@@ -175,6 +175,29 @@ animator.save_frames('frame1', 'frame2')
选择小分子: select 8g2c_tyk, resn TYK
```
### 背景美化
```shell
# 1. 设置背景为白色,并将表面透明度设置为 40%
bg_color white # 设置背景颜色为白色
set surface_transparency, 0.4 # 设置所有表面透明度为 40%
# 2. 使表面显示使用原子自身的颜色
set surface_color_by_atom, 1 # 启用表面按原子颜色显示
# 3. 蛋白质:着色为橙色,并显示表面
color orange, polymer.protein # 将所有蛋白质polymer.protein着色为橙色
show surface, polymer.protein # 显示蛋白质的表面
# 4. 核酸:着色为白色,并显示表面
color white, polymer.nucleic # 将所有核酸polymer.nucleic着色为白色
show surface, polymer.nucleic # 显示核酸的表面
# 5. 小分子:根据分子的 ligand id这里假设用 organic 选择小分子)着色为红色,并显示表面
color red, organic # 将所有小分子organic着色为红色
show surface, organic # 显示小分子的表面
```
## Schrodinger_Suites linux install
```shell