Hi ! I am using an open-source library (Wasp Plug-in) to try and add some new functionalities and components.
After lots of frustration, I realized that the exact same code that works perfectly well with the old GhPython components does not work with the new GhPython component. The output seems empty even though it seems to get an output.
I am attaching a screenshot and also the GH file, although you would need to install Wasp 0.5.008 to recreate the issue, which can be found here: Wasp | Food4Rhino
I have been losing my mind over this. Any help or suggestion would be greatly appreciated.
You are absolutely correct about Wasp not having Rhino 8 support, but I have no problem using its components inside Rhino 8. Strangely enough, the problem only occurs when I try “recreating” a component.
but I have no problem using its components inside Rhino 8
As you say, it’s an open source library. Consider helping.
Documenting exactly which components work, and which ones don’t, and posting the information to the Wasp issues page, instead of the general McNeel Rhino forum, will greatly assist Andrea and the maintainers identify the parts of the codebase they need to work on (should they choose to support Rhino 8).
Thank you for the insight. I have tried different pieces of code, and the problem seems to be less about the Wasp library and more about differences in scripting components in different versions of Rhino.
I would still appreciate any direction, as to where I can find some documentation on the differences between the scripting components on Rhino 7 vs 8.
you have renamed the Out output of the new Python component into “R”
the Out output is just for retrieving error messages and print messages
if you add an output to the Python component and rename it from “a” to “R”, you will get your result
[trigger Recompute with F5]
on a side note, Wasp has a Discord server where its creator gives updates and a lot of help
there’s a message from him from 3 days ago in the “announcments” channel, where he explains in detail the compatibility issue that might arise with Rhino 8 due to some changes in Rhino8 functions
you can find the link to join the discord server here in your link to food4rhino page: