Cgo arrow: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(created)
 
No edit summary
 
Line 1: Line 1:
{{Infobox script-repo
{{Infobox script-repo
|type      = module
|type      = module
|filename  = cgo_arrow.py
|filename  = scripts/cgo_arrow.py
|author    = [[User:Speleo3|Thomas Holder]]
|author    = [[User:Speleo3|Thomas Holder]]
|license  = BSD-2-Clause
|license  = BSD-2-Clause

Latest revision as of 21:38, 22 June 2025

Type Python Module
Download scripts/cgo_arrow.py
Author(s) Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

This script will draw a CGO arrow between two picked atoms.

Usage

cgo_arrow [ atom1 [, atom2 [, radius [, gap [, hlength [, hradius [, color [, name ]]]]]]]]

Example

run cgo_arrow.py

fetch 1rx1, async=0
preset.pretty("*")

cgo_arrow [34.9, 68.4, 19.1], A/164/O3X, gap=1.0

Cgo arrow example.png