mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.4K
active users

dbat :godot:

Is it possible to make a geo-node in Python?

i.e. I want to make a node that calls a python function to do stuff.

🦇

@dbat This is apparently something that won't ever be supported by the devs. There is a standing policy to not ever allow arbitrary Python code to automatically be executed. NodeBooster is doing some neat stuff with custom geometry nodes and has some basic Python access.

github.com/DB3D/NodeBooster

@obsurveyor Wow, that project looks great. Will peek.

But, yeah, I don't understand that Blender standpoint at all. I mean, it's already a Python-based programme.

If a geo-node called some Python, it could just detect that and tie it into a the permission system that's already there! "Do you want to enable scripts?" or whatever it is.

I guess there's a long history and reason for the policy, but it seems harsh.

Thanks!

@dbat I think the idea is that eventually Geometry Nodes will have access to everything that Python does, so you wouldn't need Python in the first place. However, that's a long way off and your solution seems better for the short term.

@obsurveyor It's v weird, but I defer to experience.