Scripting the Trim command

 From:  bemfarmer
8786.5 
I'm getting some positive results with edges and curves !!!
I'll post something after more work and cleanup...
- B