<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Okay, I can reproduce it now. It’s because the script itself is extremely long. Chimera is:<div class=""><br class=""></div><div class="">1) Breaking the script into lines</div><div class="">2) Looking for lines that start with ‘#<i class="">frame_number</i>:’ and removing that part</div><div class="">3) Joining the lines back together</div><div class="">4) Substituting instances of ‘<FRAME>’ with the current frame number</div><div class="">5) Handing the result off to the command-script processing code for actual execution</div><div class=""><br class=""></div><div class="">For a big script, that is slow. I suggest you put your commands into separate files with the frame number embedded in their names (eg. cmd.457), and change your script to simply be “read ~/cmd_folder/cmd.<FRAME>”.</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On May 23, 2018, at 10:28 AM, Eric Pettersen <<a href="mailto:pett@cgl.ucsf.edu" class="">pett@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Michał,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>We cannot reproduce the slow playback you’re getting with the per-frame cones. Our guess is that it’s something else with the trajectory that’s problematic. Does it have a large nucleic acid in it (with abstracted “Nucleotides” depiction?). Do you have a molecular surface present (even if hidden [check the Model Panel])?</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div></div><br class="Apple-interchange-newline">
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On May 23, 2018, at 7:41 AM, Michał Kadlof <<a href="mailto:m.kadlof@cent.uw.edu.pl" class="">m.kadlof@cent.uw.edu.pl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:monospace,monospace">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace">I'm running MD simulation and I would like to display forces vectors "live". My strategy is to run:</div><div class="gmail_default" style="font-family:monospace,monospace"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace">MD Movie -> PerFrame Script -> In this script create a shape (cone), and update it every frame. I transformed my vectors into ration axis and angle, and run it. However it works extreamly slow, and even lowering quality of cone didn't help. Do you have any clues?</div><div class="gmail_default" style="font-family:monospace,monospace"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace">Here is how my script looks like:<br class=""></div><div class="gmail_default" style="font-family:monospace,monospace"><br class=""></div><div class="gmail_default" style="font-family:monospace,monospace">#1: close #1; shape cone radius 0.2 height 3.051701874476991 center :47 divisions 10 color red rotation 1.003198923120698,-0.8433298543660601,-0.5373867542336597,180<br class="">#2: close #1; shape cone radius 0.2 height 3.054021942152826 center :47 divisions 10 color red rotation 1.0022878678774028,-0.8433406134841704,-0.5373745205242975,180</div><div class="gmail_default" style="font-family:monospace,monospace">#3 ...</div><div class="gmail_default" style="font-family:monospace,monospace"><br class=""></div><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><span style="font-family:monospace,monospace" class="">--<br class="">pozdrawiam serdecznie<br class="">Michał Kadlof <<a href="mailto:m.kadlof@cent.uw.edu.pl" target="_blank" class="">m.kadlof@cent.uw.edu.pl</a>></span><br class=""></div></div></div></div></div></div>
</div>
_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></body></html>