You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks again for the component. it makes it easier to write in vscode and sync to gh.
I'm interested in creating a Grasshopper component from the script-sync component. My goal is to share this functionality with others, potentially as a Python component. Could you please advise me on the best approach for achieving this?
For context, the main Python file which is linked to my script-sync components imports functions from another Python file within the same module.
Thank you
The text was updated successfully, but these errors were encountered:
Thanks again for the component. it makes it easier to write in vscode and sync to gh.
Glad to hear that, that was the goal 👐 !
I'm interested in creating a Grasshopper component from the script-sync component. My goal is to share this functionality with others, potentially as a Python component. Could you please advise me on the best approach for achieving this?
For context, the main Python file which is linked to my script-sync components imports functions from another Python file within the same module.
If you didn't have modules that would be super easy: copy-paste your code in a new vanilla python grasshopper component and that's it. Now if you have modules that's more complex. You have two solutions:
--> 1) you share the script-sync component with the same files in the same structure you are using and the other user would have to re-point to the running script once downloaded
-- 2) I haven't tried it but the new text programming component from RV8, accepts "Libraries" aka modules. So:
Open grasshopper and type script >> drop the native component on the canvas >> then press Shift + Right Click on the component logo (this will get you to some "hidden" parameters) >> click on Library Input Parameters (see image) >> now press the Python button >> insert the path to your modules.
Not sure if the 2nd method works and in any case the user would have to do all this stuff. Maybe it's easier to share the folder of your project with the running script and modules and a script-sync component after all..
Hi @9and3
Thanks again for the component. it makes it easier to write in vscode and sync to gh.
I'm interested in creating a Grasshopper component from the script-sync component. My goal is to share this functionality with others, potentially as a Python component. Could you please advise me on the best approach for achieving this?
For context, the main Python file which is linked to my script-sync components imports functions from another Python file within the same module.
Thank you
The text was updated successfully, but these errors were encountered: