Create CPython components using Hops in Grasshopper

hi,

i am trying to run files from a remote server too but can’t figure out how to do it. Where is that getmesh file stored? i have a remote server for compute but i cant figure out how to reference files in the server.

thanks!

List<Point3d> P;
Rhino.Geometry.Polyline polyline = new Rhino.Geometry.Polyline(P);

2021-07-20 20_06_59-Window

can you send me the GhHops file please?

Hello
I use time.sleep to delay runing the code but changing the values in GenePool is very slow.
without timer work faster

3 Likes

Hey everyone. I believe hops is not able to work with for loops. or maybe there is a solution to that?

I replied in the other thread where you wrote the same question

Great job, @mistrymm7!
Thank you so much for providing such a nice example!!

Hello, may I ask if there’s any update on this after around a year?

Basically, it would be good if we can allow users to simply activate a Cython backend and run python code or pre-defined python components from GH.

No updates on this.

We are adding the ability to easily call ghhops_server functions for an already running server, but no specific work has been done to provide for bundling servers into individual GHAs.

I hope that tensorflow and ghhops can be used together. I need to output the data type of keras.model. What should I do?

trying my best to support in anyway I can.
Very excited to join in the discourse on this forum.

Michael Wickerson

1 Like

Is this tied to flask or could this work with FastAPI as well (https://fastapi.tiangolo.com/)?

Hi! hops newb here, in 2025 :o I was following the steps to install hops and set up my VS code, however, when I tried entering the local host or HTTP URL, the hops component never changed, even though I was able to paste these URLs in my browser and they were working fine. Moreover, even when there was a typo in the hops path, the component was green with no errors/warning. I’ve attached a screenshot of my code and gh view, any help would be greatly appreciated!

YES - its not working for me either - something has broken… SO frustrating. Using all updated versions of Rhino Python Grasshopper Hops. Tried three different computers. It has broken :frowning: :frowning: :frowning:

1 Like