﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
4482	Compute clip caps immediately in scripts so they can be colored	Tom Goddard	Tom Goddard	"Command scripts that create a clip cap then try to color it don't work because the cap is only created when the scene is rendered.  This requires putting a tricky ""wait 1"" in the script.  No one can figure that out.

We solved this same type of problem with volume threshold changes by having the volume code recompute surfaces immediately if session.in_script is true.  Could do the same for the clip caps.

Begin forwarded message:

From: Daniel Asarnow 
Subject: [chimerax-users] Surface caps only colored interactively
Date: April 7, 2021 at 6:27:04 PM PDT
To: ChimeraX Users Help <chimerax-users@cgl.ucsf.edu>

Hi,
I'm trying to generate a figure using several surfaces colored by map
values. If I clip a surface, and then color it, the caps have the
correct colors. However, when I do the same thing non-interactively,
the caps are uncolored. Am I doing something wrong?

view front.cut
color sample #1.1 map #1.2 palette cyanmaroon range 2.25,7.0
#surface dust #1.1 size 100
save front_cut.png pixelSize 0.1 transparentBackground true

Best,
-da"	defect	closed	moderate		Surface		fixed					asarnow@msg.ucsf.edu	all	ChimeraX
