thelazyone / lazy-tree Goto Github PK
View Code? Open in Web Editor NEWa 3D printer-friendly trees generator
License: Other
a 3D printer-friendly trees generator
License: Other
Hi,
I seems to have an issue when loading the add-on in Blender, here's the trace:
Traceback (most recent call last):
File "/Applications/Blender.app/Contents/Resources/3.3/scripts/modules/addon_utils.py", line 333, in enable
mod = __import__(module_name)
File "/Users/pyt/Library/Application Support/Blender/3.3/scripts/addons/lazy-tree.py", line 28, in <module>
current_script_dir = bpy.context.space_data.text.filepath
AttributeError: '_RestrictContext' object has no attribute 'space_data'
Great job anyway, I'm looking forward to give it a try.
The problem is that updating and testing on Blender becomes objectively less practical if that happens. Or not. It's worth testing, in any case a smooth development workflow in Blender is the priority..
In any case, when this is implemented the Installation instructions will have to be updated.
Reorganize the parameters so that different sections are visibly separated, and a bunch of presets are available from a drop-down menu.
Currently the radial noise on branches starts from an arbitrary X versor.
This works fine with the trunk: all the rings are somehow oriented towards Z and therefore the noise remains costant. However, if a branch is directed towards X, slight variations of the branch direction might cause a 180° twist of the noise, which could be very visible in the surface.
The solution would be to use as starting point for the radial noise the position (or the versor) of the starting point in the previous ring instead.
I see there is a Create Tree in Mesh but then what?
By calculating the light that existing branches (with generic probabilistic leaves) block it's possible to direct the growing branches in different directions. This allows for more even trees, where the canopy is more on a uniform surface.
The only very useful parts of the Blender APIs I'm using right now are the creation of faces and, most importantly, the Bridge Edge Loop.
However, since I have more information about the ordering of the points of each ring in the trunk, I can easily fill te faces manually.
This could be a major rework, but might also be the right chance to refactor parts that were added layers after layer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.