# Getting pynodes geometric node to work

I downloaded the geometric node from git, and copied it in the addon folder of blender 2.67. Tried with 2.67b and a self-compiled svn version, in both, I can't enable it in the user preferences. Does anyone know how to get it to work ? I didn't find any readme.

.config/blender/2.67/scripts/addons/geometry_nodes/parameter.py", line 433, in register_mod_pass from geometry_nodes import modifiers ImportError: cannot import name modifiers

• I get the following error from geometry_nodes import modifiers ImportError: cannot import name modifiers do you? – zeffii Jun 2 '13 at 9:20
• @zeffi : yes. CharlesL : updated question with all I could get. – matali Jun 2 '13 at 17:20
• Lukas Tönne implemented this, you can contact him. But do note that this is just a proof of concept to show pynodes work, I doubt it's intended to ever make it into Blender in this form. – brecht Jun 5 '13 at 16:11
• This is about blender as it's one of the only link to an example in the official doc of 2.67. Most programmer can't get their feet wet in a new API with just the API Doc. I think the python programmer community should get support too, even if we are not pro. – matali Jun 6 '13 at 6:38

The version of geometry_nodes as of commit edbdbc8fea539 does a small check that isn't actually really used yet. This looks to be part of a work-in-progress that is as of yet uncompleted. To get these nodes running you'll have to modify modifiers.py and comment out or remove lines 46 and 47:

#if not isinstance(datatype, TypeSpec):
#    raise TypeError("Expected TypeSpec datatype")


After this (re-)start blender, enable the addon and play with the geometry nodes :)

Note that as of this writing the above mentioned commit is the latest and the only one in 24 days. Looks very much like current development is on hold.

A small screenshot of geometry nodes in the node editor:

• Confirmed. This works. i.stack.imgur.com/ODGMd.png – iKlsR Jun 5 '13 at 21:27
• Hmm, but as expected, not everything works properly yet, as geometry nodes are very much in development still :) But you can add the nodes! Any further fixes should be really handled as part of the development process :) – jesterKing Jun 5 '13 at 21:30
• yes, see brecht's comment on the question above. It is very shaky but it works. :) – iKlsR Jun 5 '13 at 21:31
• @zeffii tried in 2.66 and 2.67a and works – iKlsR Jun 5 '13 at 21:50
• this system won't allow me to award the bounty for another 8 hours, but I can now load that addon too. – zeffii Jun 5 '13 at 21:52

As brecht noted correctly, this addon is a proof-of-concept and far from finished. There is a lot of WIP code and it's unlikely to run out of the box. The current branch is somewhat in the process of refactoring.

I've been testing a number of concepts regarding pynodes here (idref links to datablocks, node groups, converter system for parsing node trees) which works very nicely for the most part.

The big TODO is the actual design of a geometry processor, i.e. how geometry data is stored and how nodes can properly address lists to be both flexible and not too complicated. In the meantime this addon must be considered unfinished/broken ...

• nevertheless this addon is very interesting conceptually and codewise, Thank you. – zeffii Jun 9 '13 at 9:28
• Thanks for the clarification Lukas. Please let us know when it's ready :) – matali Jun 26 '13 at 12:59