The newest update has solved most of my component compiling issues, but one of them appears to be causing me some trouble.
I've tried compiling it manually, i.e. with the clr method. For this particular component, I could not compile it with the automated method because I was getting the 'illegal characters' error. I was able to make a ghpy file of the component, i.e. compile the 'main.py' script; however, it causes Rhino WIP to crash, and whenever I try to restart Grasshopper after opening Rhino again, it continues to cause the program to crash. After deleting the component made using clr methods, Grasshopper has stopped crashing, so it appears to be the cause.
I've attached the files I tried to compile to make the component (called 'shape_to_geometry') here. I think the issue may be with the main.py file, or that I lack certain imports in the 'shape_to_geom.py' file.
main.py (83 Bytes)
shape_to_geom.py (10.8 KB)
Here is the compiled component, if it helps to better illustrate what's happening.
shape_to_geom.p18.104.22.168.ghpy (51 KB)
What am I missing in my code such that it causes Grasshopper to crash when trying to import the component? Also, is there a way I can adapt the component code itself so that I can use the automated method of compiling instead? It would be good to get some feedback. Thanks!