mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
210 stars 122 forks source link

Add right click menu item to workbench show sample shape #34563

Closed DannyHindson closed 1 year ago

DannyHindson commented 1 year ago

Reported by Spencer et al.

Make matplotlib sample shape plotting available via a simple menu item (Eg right click menu on a workspace) without requiring user to copy and paste python code into a script window

DanielMurphy22 commented 1 year ago

Possibly beyond the scope of this, but should the plot update if the underlying sample shape is updated? e.g. from a future call to RotateSampleShape https://github.com/mantidproject/mantid/issues/34565 ?

DannyHindson commented 1 year ago

Possibly beyond the scope of this, but should the plot update if the underlying sample shape is updated? e.g. from a future call to RotateSampleShape #34565 ?

Yes this be a good feature - probably a "nice to have" if it's difficult to achieve. It would support the iterative alignment we discussed earlier where someone is visually aligning a sample by rotating it several times.