Sharing custom presets

Spent a bit more time to make it a bit more automated. So now you create your volume property in Slicer and upload it directly from a module.

If you want to try out, you can try the vp-submit branch in the SlicerMorph git clone --branch vp-submit https://github.com/SlicerMorph/SlicerMorph.git

After that you can:

  1. Load a volume and enable volume rendering and create one VolumeProperty preset in the scene (or edit one of the existing preset to make it different).

  2. While strictly not necessary, I suggest renaming it different from the original preset name.

Submitting a preset

  1. Open the SubmitVolumeRenderingPreset module (under SlicerMorph Utilities).

  2. Select your vp from the dropdown. You can hit refresh to get all the volume property loaded in the scene Fill in an optional description and author name.

  3. Choose a 3-D view and arrange it as you want it to appear in the gallery.

  4. Click – Upload and submit to GitHub. The module uploads both vp.json and the captures screenshot automatically (saved to a temp location) and opens a pre-filled GitHub issue in your browser.

  5. Click Submit new issue

This would create a PR for me to take a quick look and once merged it will be shown at GitHub - SlicerMorph/VPs: trial repo for sharing volume rendering properties · GitHub

Note that I decided to use the new JSON based volume rendering property file as opposed to old txt file. Make sure you are trying with a preview version.

Suggestions are welcomed.