USEPA / SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
111 stars 66 forks source link

It is not clear how to add SWMM-CAT and SSOAP Tools #406

Open michelleannesimon opened 4 years ago

michelleannesimon commented 4 years ago

SWMM-CAT and SSOAP are two tools that link with SWMM but I do not see how to use them with the new GUI.

I do not see the configure tools option under the GUI Tools tab.

michelleannesimon commented 4 years ago

I like the Scripting editor but most of our users need a direct plug-in for SWMM-CAT (see epa SWMM weib page) and SSOAP (https://www.epa.gov/water-research/sanitary-sewer-overflow-analysis-and-planning-ssoap-toolbox) .

PaulDudaRESPEC commented 4 years ago

I'll take a look and see what it would take to make these as plug-ins.

PaulDudaRESPEC commented 4 years ago

I just added a new sample plugin to the repo: dev-ui-py3qt5\src\plugins\SWMM-AddOns

When this plugin is activated, it will add the menu items for SWMM-CAT and SSOAP: image

There are other ways this could be done, and like the old version it is dependent upon where the user installed those AddOns. The user would need to modify the python code as desired:

image

michelleannesimon commented 3 years ago

Is it possible for the user to specify the location of the plug-in executable? Please see Pull Request # 419. Faryn and I put in a new location for SWMM-CAT "C:\Program Files (x86)\SWMM-CAT\SWMM-CAT.exe" but the user may have a different configuration. Is there a way to do this so that the user can specify the location?