[chimerax-users] Center of the erase sphere

Tom Goddard goddard at sonic.net
Wed Oct 19 12:43:59 PDT 2022


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 at 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 at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20221019/9431c1bc/attachment.html>


More information about the ChimeraX-users mailing list