Varian-MedicalAffairsAppliedSolutions / MAAS-SFRThelper

Medical Affairs Applied Solutions ESAPI plugin tools to aid in the creation of structure patterns (spheres) or irregular stuctures (straight and angled rods) which can be evaluated or aid in the creation of treatment plans with the intention of not covering traditional PTVs homogeneously.
Other
4 stars 2 forks source link

Single structure path #12

Closed mattcschmidt closed 1 month ago

mattcschmidt commented 1 month ago

Create a checkbox when checked only generates one structure.

Requirements

When checkbox is unchecked, the code runs as currently developed. Tooltip on the ComboBox that recommends research mode for the checkbox as clinical mode does not support any creation more than 99 structures.

mattcschmidt commented 1 month ago

Workflow for single structure creation:

Create a new structure for each position. Boolean for this sphere AND with the target structure. Calculate if the volume of that structure is below the threshold. If volume > threshold volume, boolean OR this new sphere with the single structure. If single structure is checked → Delete Sphere, else, keep sphere. try to test this with a plan that creates > 99 structures with the system in clinical mode

mattcschmidt commented 1 month ago

Change checkbox to say “Create Spheres as Single Structure”. Have the box checked by default.

Updated Description to note these changes

japnp commented 1 month ago

This issue has been addressed.