Modular Tree

This is beautiful! thanks for sharing, love it!!

Awesome :slight_smile:

it’s perfect!

so I really like this add on but for some reason I can’t render the tree. Is this a bug or do I need to check something in order to render.

it will be nice if we can control the overall form of tree -like pyramidal,oval,columnar etc

Hi! Does this addon works with 2.78c? I get a python error when I try to activate it from the addon list.

I really hope development goes on, it’s an awesome addon! :slight_smile:

It was updated 4 days ago, maybe you´re using a release version?

There is an update indeed. I have finished the node workflow, and written some documentation that you can find here.
Since I have rewritten a lot of the code for this release, plenty of sneaky little bugs are to be expected, and I need you guys to test and play with the addon so I can make some corrections.

No need to say that this release is pretty sweet, with things like:

• Node workflow to create trees with the node editor, allowing much more control, and more intuitive in my opinion.
• Better grease pencil integration, the whole trunk now follows the stroke, and I’m working on allowing to draw branches too.
• Finally a decent way of orienting leaves and twigs, an emitter mesh is generated to rotate the leaves realistically.
• A lot of small things and bug fixes.

You can download it here if you don’t have a previous version, and if you do you can automatically update to the latest release in the user preferences.

Hope you will have fun with it !

Big thanks your hard work !

I need some help . I have this error when i enable this addons
"
bpy.data.window_managers[“WinMan”].addon_filter = ‘User’
Traceback (most recent call last):
File “D:\Program Files\blender-2.78.0-git.db8bc1d-windows64\2.78\scripts\modules\addon_utils.py”, line 331, in enable
mod = import(module_name)
File “C:\Users\administer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\modular_tree-master_init_.py”, line 26, in <module>
from .generator_operators import MakeTreeOperator, BatchTreeOperator, MakeTwigOperator, UpdateTreeOperator, UpdateTwigOperator, SetupNodeTreeOperator
File “C:\Users\administer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\modular_tree-master\generator_operators.py”, line 27, in <module>
from .tree_creator import alt_create_tree, create_twig
File “C:\Users\administer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\modular_tree-master ree_creator.py”, line 28, in <module>
from .nodes import get_node_group, curve_node_mapping
File “C:\Users\administer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\modular_tree-master
odes.py”, line 9, in <module>
from .icons import register_icons, unregister_icons, get_icon
ImportError: No module named ‘modular_tree-master.icons’

"

My blender is 2.78.5 daily build!

Awesome stuff! :smiley:

I am very very glad to see the development is going on! I am not sure today at work what version I downloaded. Now I had the 2.82 and it worked. I updated it from the option inside the addon in blender preferences and after restarting (and an apparently successful update) I get this error when I try to activate the addon. Blender 2.78c, win10 64bit

https://www.dropbox.com/s/rgd9huw4d978fg5/screen.jpg?dl=0

I confirm the ‘enable’ error. I uploaded the addon from references then restarted blender, but no ‘tree’ panel appeared so I tried to disable it and re-enable to see if the ‘tree’ panel show up -> instead an error which prevent the enabling :stuck_out_tongue:

I seem to have deleted a folder in the master branch, I am currently working on fixing it !

It should work now :slight_smile:

I have tried the addon and I did update it using its own updating system so I am now running version 2.9.1 but I get a few errors when I click on “make tree”.

Are there any specific steps to get things working?

Traceback (most recent call last):
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/modular_tree-master/generator_operators.py”, line 49, in execute
alt_create_tree(self, scene.cursor_location)
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/modular_tree-master/tree_creator.py”, line 1929, in alt_create_tree
node_tree = bpy.data.node_groups[mtree_props.node_tree]
KeyError: ‘bpy_prop_collection[key]: key “” not found’

location: <unknown location>:-1

By default, the property “use node workflow” is checked, but you used the operator without specifying a node tree to use. You can uncheck the property, or let it and continue with the help of the documentation

Got it. I’ve missed the create a new node tree button that’s why the nodes were grayed out. Following your guide as we speak. Thanks for sharing the addon mate.

I’m testing the curve mapping node and my result are badly different from the documentation’s examples. When I ‘upgrade tree’ it give most of of time an error too http://prntscr.com/g8wcka

The x_max value is the max height, you set it at .4, which is .4 blender units, blender extrapolates the curve for your tree height (which may be about 40 blender units), which in your case must give extremely high values. Try to set x_max to something like 30 or 40.

Thanks for this. In my limited experience with these things, the node workflow is an excellent addition! So simple to use.