Helo Maxime, can you tell me please how add the addon under " rewrite all". After installing, i can’t find it .
Download the branch “rewrite_all” as zip, and install it with the blender user preferences panel.
I did it. but addon doesn’t appear in the list.
i was also wanting to play around with rewrite all version ,but blender wouldn’t detect it under addons. I noticed all lines in the init file was commented out. How do you install that version? I was unzipping and copying to addons folder.
Maxime wrote it :
Works fine here on blender 2.79, so you’d better use the install method instead of unzipping it
I had forgotten to uncomment the addon information, I just did and it should work fine now !
Ok thanks Addon installed now, but doesn’t appear at Object tools
Tried both - unzipping & installing via zip.
rewrite_all: Doesn’t show up (no error shown)
master: Throws an Error
Traceback (most recent call last):
File “C:\programi\b279pigeon\2.79\scripts\modules\addon_utils.py”, line 331, in enable
mod = import(module_name)
File “C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\modular_treeM_init_.py”, line 26, in <module>
from .generator_operators import MakeTreeOperator, BatchTreeOperator, MakeTwigOperator, UpdateTreeOperator, UpdateTwigOperator, SetupNodeTreeOperator
File “C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\modular_treeM\generator_operators.py”, line 28, in <module>
from .prep_manager import save_everything
File “C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\modular_treeM\prep_manager.py”, line 63
bpy.ops.wm.save_as_mainfile(filepath=os.path.join( bpy.context.user_preferences.filepaths.temporary_d irectory,‘modular_tree’), copy=True)
SyntaxError: invalid syntax
2.9.1 shows & works
on Win 7 with Blender 2.79 (x64)
It looks like a space between d and I of directory. Not sure if that 100% of the cause. Line 63, https://github.com/MaximeHerpin/modular_tree/blob/master/prep_manager.py
That’s right, it’s fixed now, thanks a lot !
Rewrite_all works for me, after enabling it you can create a modular_tree node tree in the node editor.
Nice, everything works now…
& Create via “Node Editor: Modular Tree Node Tree” tip is very helpful indeed
thank you all
Hi there and thanks for the update,
By the way it doesn’t work at all for me.
Just to clarify, the new rewrite_all replaces the previous one, right ?
So I removed the old version.
I noticed that there is no more tree tab in the tool bar …
And I cannot create a tree using the nodes, I can’t find the previous nodes anymore I only have those :
Input -> Grease Pencil
Tree functions -> Split and Grow
Output -> Build Tree
Nothing else …
Did I missed something ?
Burnin: Yes, thanks ! fixed now
Enricocerix: You didn’t miss anything, the workflow has changed a bit on this version. For now there are only four node.
The Grease pencil node is mandatory, you only need to draw a few strokes with the grease pencil where you want the trunk and a few branch to be.
The split and grow node respectively create new extremities on branches, and make extremities grow. You can stack those any way you want, a bit like in speed tree.
The Build tree node is mandatory.
You can enable auto update on the build tree node, to update the tree at every frame change (I don’t know why but blender crashes when I use the scene update handler, if anyone has an idea why, please tell me).
Note that this branch is very experimental, there are no safeguards and a lot of bugs.
I think the next step will be to implement armature, and maybe add physical simulation on it.
Right now I’m in mid term exams, but I hope to release a stable version soon.
Thank you all for your feedback and support !
really cool looks, good work, tried to do similar but I did not succeed. but has succeeded a little in other thing http://live-casino-online.org/platform/live-dealer-microgaming
hi & sorry for late reply
updater doesn’t work here (w7x64, b279a), forgot to mention it before
& now in console this error runs indefinitely (until closing)
& have a successful run on exams
What’s the workflow for the GP? I did one by chance and now I’m not able to do it anymore…
Do I have to create a GP or create the node first?
- OPEN BLENDER: 3D View Editor
2. CREATE GREASE PENCIL LAYER: N-Tab > Grease Pencil Layers > click New Layer (to create one)
3. DRAW: T-Tab > Grease Pencil > Draw (draw something)
4. ADD TREE NODE: Node Editor > Modular Tree Node Tree> click New (add nodes & Play)
Ok, more or less I’ve got it.
Just it needs to read GP layer much better, it’s keen on messing and circle-closing.
Some parameters, too, lock the simulation very easily, it takes some guards…
Continuous animation while building is nice… it’s promising
Quick update, I’ve added armature generation, and started working on animation. So far i have implemented a physical wind simulation that requires only one step per frame and will probably work well when I find the good parameters. I also added a non physical simulation that is near instantaneous and gives good results for small winds.