Center of the erase sphere

Hi ChimeraX developers, Is there any way I can know the center of the erase sphere in CHimeraX? Best, Tianming

Hi Tianming, Each time you click to erase a part of the map it logs a command that gives the center position and radius of the sphere, for example, volume erase #1 center 203.25,197.44,171.69 radius 29.616 <cxcmd:volume erase #1%20center%20203.25,197.44,171.69%20radius%2029.616> If you want the center position without actually erasing a tricky way to do that is to use the "measure rotation" command. If model #1 is the map and #2 is the eraser sphere then this would to it measure rotation #2 toModel #1 <cxcmd:measure rotation #2%20toModel%20#1> Position of eraser sphere #2 relative to emdb 31605 #1 coordinates: Matrix rotation and translation 1.00000000 0.00000000 0.00000000 203.24973595 0.00000000 1.00000000 0.00000000 197.43569648 0.00000000 0.00000000 1.00000000 171.69176485 You can see the center position in the last column of the 3 by 4 matrix output by the command Tom
On Oct 19, 2022, at 7:50 AM, Tianming Qu via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi ChimeraX developers,
Is there any way I can know the center of the erase sphere in CHimeraX?
Best, Tianming _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu <mailto:ChimeraX-users@cgl.ucsf.edu> Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
participants (2)
-
Tianming Qu
-
Tom Goddard