"surface={...}" - Specify Surface Properties

Q

How to turn on and specify surface properties using the "surface={...}" URL parameter in the Online 3Dmol Viewer?

✍: FYIcenter.com

A

You can use the surface={key:value;key:value;...} URL parameter to turn on the Van der Waals surface with given properties.

For example, the following URL turns on the Van der Waals surface with default properties:

https://3dmol.org/viewer.html?pdb=4KW4&surface=

The following URL turns on the Van der Waals surface with 2 given properties:

https://3dmol.org/viewer.html?pdb=4KW4&style=cartoon&surface=opacity:0.5;colorscheme:chain
Online 3Dmol Viewer - Van der Waals Surface
Online 3Dmol Viewer - Van der Waals Surface

 

"labelres={...}" - residue Label Properties

"style={...};{...}" - Specify Multiple Styles

Using Online Server of 3Dmol Viewer

⇑⇑ 3Dmol.js FAQ

2023-09-07, 265🔥, 0💬