This project attempts to make a user interface using Eto in Rhino 6 WIP. The UI collects geometrical data from Rhino , calculate some lengths parameters / Distances and then is supposed to display information regarding the surface. The problem is that every time the UI tries to run a external function using a button, rhino crashes.
The UI Checks if all the data is selected. when the recompute button is pressed the script is supposed to calculate.
The above image shows the function call that is to be called either from within the script or by importing an external script.
the entire script can be reviewed at:-
I would be Glad if someone could figure out what I am doing wrong…