Extensions:2.6/Py/Scripts/3D interaction/snowflake generator
UI location | AddMesh | ||
---|---|---|---|
Version | 0.0.1 | Author(s) | Tamir Lousky |
Blender | 2.6.9 | License | GPL |
File name | snowflake_generator.py |
---|---|
Current version download | https://github.com/Tlousky/blender_scripts/blob/master/snowflake_generator.py |
Links | https://github.com/Tlousky/blender_scripts/wiki/Snowflake-Generator |
---|
目次
Installation and usage video tutorial
Installation
- Download the script file from the Download Page.
- Open Blender, and go to the User Preferences Window --> Addons Tab --> Install from File.
- Open the downloaded script.
- Check "V" in the checkbox on the right to enable the script.
- Press "Save User Settings" if you want the script to be loaded by default.
Description
The snowflake generator creates Koch Snowflakes shapes, represented as profile / outline meshes (edges and verts only, with no faces).
Usage
Either go to the Add-->Mes menu at the info panel's header, or simply open the add mesh menu through the Shift/a->Mesh shortcut in the 3D view, then choose "Snowflake" from either menu.
After creating a snowflake, you'll be able to edit its parameters in the operator editing section at the bottom of the Tools Panel. The tools panel is located at the left side of the 3D View (open by tapping **T** on your keyboard if you can't see it).
Script parameters
テンプレート:Radius: the size of the initial polygon from which the snowflake is generated.
Minimum: 0.1
Maximum: 100
テンプレート:Number of sides: The number of sides (edges) of the initial polygon, from which the snowflake is generated.
Minimum value: 3
Maximum value: 32
テンプレート:Iterations: Number of fractal subdivisions (in each one, every preexisting edge is subdivided and gets an additional triangle added at its center). Currently limited to 6 iterations, since more than that will likely take forever to calculate and might crash Blender.
Minimum: 1
Maximum: 6