|
From: Jared S. <jar...@co...> - 2022-02-14 02:42:54
|
I forgot to add that the transparency can be handled by e.g.
set cgo_transparency, 0.5, my_cgo_object
Cheers,
Jared
On Sun, Feb 13, 2022 at 9:38 PM Jared Sampson <jar...@co...>
wrote:
> Hi Marcelo -
>
> Looks like you have the right format for `CONE`. This should really be in
> the Wiki...and apparently is not. I've just made a couple of pages, others
> can of course feel free to elaborate:
>
> https://pymolwiki.org/index.php/CGO_Shapes
> https://pymolwiki.org/index.php/Load_CGO
>
> You may also find it useful to look at the Open Source PyMOL source code,
> perhaps starting with:
>
> https://github.com/schrodinger/pymol-open-source/blob/master/modules/pymol/cgo.py
>
> Hope that helps.
>
> Cheers,
> Jared
>
>
> On Sat, Feb 12, 2022 at 10:51 PM Marcelo Depólo Polêto <
> mar...@gm...> wrote:
>
>> Hi all,
>>
>> I am building a CGO object of a cone and I want to embed a transparency
>> value to it. So far I managed to create the cone with the line below:
>>
>> *obj = [cgo.CONE] + begin + end + [radius_begin, radius_end] + color1 +
>> color2 + [1.0, 1.0]*
>>
>> Could someone provide more information on how the CGO objects are
>> structured (which values are expected and their formats)?
>>
>> Best regards,
>> --
>> *Marcelo Depólo Polêto, Ph.D.*
>> Postdoctoral Associate
>> Office: 106B Engel Hall
>> Department of Biochemistry
>> Virginia Tech
>> 340 West Campus Dr.
>> Blacksburg, VA 24061
>> gender pronouns <https://ccc.vt.edu/resources/Gender_Pronouns.html>:
>> he/him/his
>> _______________________________________________
>> PyMOL-users mailing list
>> Archives: http://www.mail-archive.com/pym...@li...
>> Unsubscribe:
>> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
>
>
|