This script deletes selected edges/trims from faces. The remaining trims will either remain or their edges will be replaced with curves.
This script deletes selected faces from a brep and contains an option (on by default) to attempt to heal the remainder of the brep.
When the script cannot heal the brep, whether due to limitations, bugs, and/or no solution exists, it will attempt to replace it with other geometry that assists in completing the task manually.
There is no installation; place all .py files in the .zip into a Module Search Path for Rhino Python, e.g., %AppData%\McNeel\Rhinoceros\6.0\scripts
and run the desired .py.
These supporting scripts in the .zip are also useful on their own: