|
发表于 2013-12-7 17:21:50
|
显示全部楼层
这是将蛋白质切除一部分后画的,截面的阴影(灰色部分)就是切除后留下的切面,具体画法如下;It is sometimes useful to have cross section of your protein, especially in case of pockets, tunnels etc.
First issue following commands:
hide all
show surface
set ray_trace_mode, 0
set two_sided_lighting, off
set ray_interior_color, grey50
Of course you can set up ray_interior_color to any colour you want. This colour is used to display the clipping plane.
Then you will have to adjust the 'near' clipping plane so that it will cut you protein in desired place:
cmd.clip("near", x)
Where x can be positive or negative value (e.g -15 , +10, -90, +100 etc.).
Negative values will move clipping plane towards the molecule and positive values will move it towards you. You will have to start from negative values to move the clipping plane into the molecule.
You will have to ray trace image to see final result.
Example of protein sliced using method described above
|
|