Thingiverse
Fractal Tree Library with Bezier Curves by txoof
by Thingiverse
Last crawled date: 3 years, 1 month ago
2D Fractal Tree Library
This library creates 2D objects that can be exported as SVG objects
This does NOT produce a valid three dimensional object that can be printed.
tl;dr:
trunk();
F6 (render)
Export as an SVG in OpenSCAD: File > Export > Export as SVG
Thanks
All Bezier Functions based on the excellent work of @caterpillar Justin SDKhttps://openhome.cc/eGossip/OpenSCAD/BezierCurve.html
Thanks to SteveWeber314 for his fractal tree tutorialshttps://www.thingiverse.com/steveweber314/about
The latest version of this can be found at github:https://github.com/txoof/fractal_tree
Licenses
Releasted under GPL v3 - Share Alike
please see the included LICENSE file for the complete license text
README
This library uses psuedo-random bezier curves to generate a 2D vector drawing of a tree.
There are many paramaters that can be adjusted to produce different trees.
To use this within another OpenSCAD design try:
use
trunk();
Here are three examples all grown from the same "seed" but with tweaks to the parameters
to produce three very different trees.
To produce a tree simliar to a birch tree (thin, tall, quickly diminishing,
and straight) try the following settings:
trunk(size = 900, bend = 25, seed = 40, depth = 12, widthBottom = 100, widthTop = 90,
maxAngle = 45, minAngle = 35, branchProb = [40, 20, 10],
maxGrowth = .9, minGrowth = .9, decay = .85);
To produce a tree similar to a gnarled old oak (thick, branching horizontally, with
a bushy crown) try the following settings:
trunk(size = 600, bend = 150, seed = 40, widthBottom = 300, widthTop = 280,
maxAngle = 75, minAngle = 55, branchProb = [20, 50],
maxGrowth = 1.0, decay = .93, depth = 6);
A reasonable poppler (tall, stright, fast growing and vertical) can be prodced with
these settings:
trunk(size = 1500, bend = 100, seed = 40, widthBottom = 300, widthTop = 280,
maxAngle = 15, minAngle = 15, branchProb = [10, 50],
maxGrowth = 1.0, decay = .93, depth = 6);
To produce a tree of a particular dimension use:
resize([0, 0, 500], auto = true) //resize to a height of 500
trunk(size = 1500, bend = 100, seed = 40, widthBottom = 300, widthTop = 280,
maxAngle = 15, minAngle = 15, branchProb = [10, 50, 30],
maxGrowth = 1.0, decay = .93, depth = 6);
Design Considerations
To create more bent branches increase the bend/size ratio. size = 500, bend = 250 will
make a VERY twisted tree
Setting depth above 9 can result in very long excution times as the recursion grows
exponentially with depth
Paramaters
module trunk()
paramaters:
Denotes parameter that is used internally by recursion and is not intended to be
used from the inital module call
(suggested values in parentheses)
size [real] size of first segment (linear from origin)
seed [real] seed with which to generate a psuedo-random tree
depth [integer] recusion level (1 to 8)
widthBottom [real] maximum width at base of trunk
widthTop [real] maximum width at top of first trunk segment
minGrowth [real] minimum amount to grow the new branch (0.1 to 1.2)
maxGrowth [real] maximum amount to grow the new branch (0.1 to 1.2)
decay [real] base amount to diminish each branch by (0.5 to 1.2)
minAngle [real] minimum angle to rotate each branch (0 to 180)
maxAngle [real] maximum angle to rotate each branch (0 to 180)
branchProb [vector] % chance of one, two or three branches occuring
[%one, %two] ([10, 40]) - %three is calculated as the
remainder of 100-%one-%two. In this case, %50.
step [real] step size to use when generating bezier curves
values approaching 0 are smoother, but take much longer
to render (0.05)
*depthMax [integer] records maximum depth on first call
*distance [integer] records distance from "trunk" - can be used to diminish
branches
*start [vector] records [x, y, z] vector at which to start
*first [boolean] first run sets persistent variables for recursion
growing the branch
debug [boolean] turn on debugging including control points
This library creates 2D objects that can be exported as SVG objects
This does NOT produce a valid three dimensional object that can be printed.
tl;dr:
trunk();
F6 (render)
Export as an SVG in OpenSCAD: File > Export > Export as SVG
Thanks
All Bezier Functions based on the excellent work of @caterpillar Justin SDKhttps://openhome.cc/eGossip/OpenSCAD/BezierCurve.html
Thanks to SteveWeber314 for his fractal tree tutorialshttps://www.thingiverse.com/steveweber314/about
The latest version of this can be found at github:https://github.com/txoof/fractal_tree
Licenses
Releasted under GPL v3 - Share Alike
please see the included LICENSE file for the complete license text
README
This library uses psuedo-random bezier curves to generate a 2D vector drawing of a tree.
There are many paramaters that can be adjusted to produce different trees.
To use this within another OpenSCAD design try:
use
trunk();
Here are three examples all grown from the same "seed" but with tweaks to the parameters
to produce three very different trees.
To produce a tree simliar to a birch tree (thin, tall, quickly diminishing,
and straight) try the following settings:
trunk(size = 900, bend = 25, seed = 40, depth = 12, widthBottom = 100, widthTop = 90,
maxAngle = 45, minAngle = 35, branchProb = [40, 20, 10],
maxGrowth = .9, minGrowth = .9, decay = .85);
To produce a tree similar to a gnarled old oak (thick, branching horizontally, with
a bushy crown) try the following settings:
trunk(size = 600, bend = 150, seed = 40, widthBottom = 300, widthTop = 280,
maxAngle = 75, minAngle = 55, branchProb = [20, 50],
maxGrowth = 1.0, decay = .93, depth = 6);
A reasonable poppler (tall, stright, fast growing and vertical) can be prodced with
these settings:
trunk(size = 1500, bend = 100, seed = 40, widthBottom = 300, widthTop = 280,
maxAngle = 15, minAngle = 15, branchProb = [10, 50],
maxGrowth = 1.0, decay = .93, depth = 6);
To produce a tree of a particular dimension use:
resize([0, 0, 500], auto = true) //resize to a height of 500
trunk(size = 1500, bend = 100, seed = 40, widthBottom = 300, widthTop = 280,
maxAngle = 15, minAngle = 15, branchProb = [10, 50, 30],
maxGrowth = 1.0, decay = .93, depth = 6);
Design Considerations
To create more bent branches increase the bend/size ratio. size = 500, bend = 250 will
make a VERY twisted tree
Setting depth above 9 can result in very long excution times as the recursion grows
exponentially with depth
Paramaters
module trunk()
paramaters:
Denotes parameter that is used internally by recursion and is not intended to be
used from the inital module call
(suggested values in parentheses)
size [real] size of first segment (linear from origin)
seed [real] seed with which to generate a psuedo-random tree
depth [integer] recusion level (1 to 8)
widthBottom [real] maximum width at base of trunk
widthTop [real] maximum width at top of first trunk segment
minGrowth [real] minimum amount to grow the new branch (0.1 to 1.2)
maxGrowth [real] maximum amount to grow the new branch (0.1 to 1.2)
decay [real] base amount to diminish each branch by (0.5 to 1.2)
minAngle [real] minimum angle to rotate each branch (0 to 180)
maxAngle [real] maximum angle to rotate each branch (0 to 180)
branchProb [vector] % chance of one, two or three branches occuring
[%one, %two] ([10, 40]) - %three is calculated as the
remainder of 100-%one-%two. In this case, %50.
step [real] step size to use when generating bezier curves
values approaching 0 are smoother, but take much longer
to render (0.05)
*depthMax [integer] records maximum depth on first call
*distance [integer] records distance from "trunk" - can be used to diminish
branches
*start [vector] records [x, y, z] vector at which to start
*first [boolean] first run sets persistent variables for recursion
growing the branch
debug [boolean] turn on debugging including control points
Similar models
thingiverse
free
2D Fractal Tree by txoof
...real 0.1:1] radius of leaf as a percentage of branch size
leaf = [boolean true:false] true: include leaves, false: skip leaves
3dwarehouse
free
Recursive Tree
...recursive tree
3dwarehouse
a three branch recursive tree. print hollow without a bottom. #3dbcmodelgarden
3dwarehouse
free
psuedo fractal flying buttress
...psuedo fractal flying buttress
3dwarehouse
psuedo fractal flying buttress
thingiverse
free
Fractal / Recursive Tree by SynarK
...fractal / recursive tree by synark
thingiverse
a fractal tree that i designed using openscad.
thingiverse
free
Recursive Tree (with some degree of randomness) by roman_hegglin
...ate!) and the tree will grow...
update: i did some optimisation in the code, it runs now twice as fast... and with more colors!
thingiverse
free
Fractal Recursive Branch Experiment by Fredbartels
...d right branches should be scaled down about 85%. i'm using 1/4" orthodontic rubber bands to hold the branches together.
cg_trader
$12
Apple branch
... tree leaf green fruit grow growing agriculture blossom blossoming flowering 3d model max plant apple tree apple tree tree branch
thingiverse
free
Parametric Fractal Trees by movotrab
...ractal_tree_module_recursion.scad – to generate custom fractal trees
tree base.scad – to generate custom bases for fractal trees
cg_trader
$21
branch
...branch
a part of a tree that grows out from the trunk or from a bough.
it is advised to watch nearby
high-quality textures + pump
cg_trader
$12
Apple branch 1
... tree leaf green fruit grow growing agriculture blossom blossoming flowering 3d model max plant apple tree apple tree tree branch
Txoof
thingiverse
free
Micro switch by txoof
...h/to/libraries/micro_switch.scad>
micro_switch();
updates can be found at github:https://github.com/txoof/openscad_electronics
thingiverse
free
Honeycomb Library by txoof
...honeycomb library by txoof
thingiverse
this library generates concentric rings of hexagons.
thingiverse
free
3D Printing Badge by txoof
...3d printing badge by txoof
thingiverse
my own version of this awesome thing!
thingiverse
free
Coin Magnet by txoof
...coin magnet by txoof
thingiverse
turn your favorite coins into 'fridge magnets! print one or print many!
thingiverse
free
Parametric Spiral Stairs by txoof
...parametric spiral stairs by txoof
thingiverse
ever needed a set of spiral stairs? look no further!
thingiverse
free
Garmin mount with no base by txoof
...garmin mount with no base by txoof
thingiverse
garmin quarter turn stl with no base. for use in combination with other objects.
thingiverse
free
Battery Holder by enif-txoof-webmongersimonsolar2c by SimonSolar2C
...the txoof script which caused a hole underneath.
putting it here so i can make battery holder with his improvement to the markers
thingiverse
free
Hoveltskov Harp Chair by txoof
...harp chair by txoof
thingiverse
a great chair (and surprisingly comfortable in real life) designed by jordan hoveltskov in 1963.
thingiverse
free
Filament Jam Sensor by txoof
...filament jam sensor by txoof
thingiverse
a friction based p-stop filament jam sensor for sailfish based printers
thingiverse
free
Customizer Example for Class by txoof
...hingiverse
this item is customizable and demonstrates several ways variables and conditional statements can be used in openscad.
Bezier
3ddd
free
VAUGHAN Beziers Shade Lantern
... beziers , shade
люстра vaughan beziers shade lantern.
turbosquid
$18
BEZIER POWDER VANITY
...ier powder vanity for download as max, max, 3ds, fbx, and obj on turbosquid: 3d models for games, architecture, videos. (1550949)
turbosquid
$15
BEZIER 26in CLOSED NIGHTSTAND
...26in closed nightstand for download as 3ds, max, obj, and fbx on turbosquid: 3d models for games, architecture, videos. (1260885)
turbosquid
$15
BEZIER 4-DRAWER DRESSER
...ezier 4-drawer dresser for download as 3ds, max, obj, and fbx on turbosquid: 3d models for games, architecture, videos. (1260881)
3ddd
$1
RH BEZIER
...arm patina
2 drawers slide smoothly on soft-close glides
wipe with a soft, dry cloth
dimensions
26"w x 22"d x 22"h
3ddd
$1
RH/ BEZIER VANITY COLLECTION
...ндивидуальное имя на английском языке.
другие мои моделиhttp://3ddd.ru/users/scion/models
быстрых рендеров!
3d_export
$5
Classic mirror frame 3D Model
...mirror frame 3d model 3dexport classic mirror frame hard bezier mode style interior classic mirror frame 3d model ruwolf...
3d_ocean
$5
Chinese Lampion
...included file .3ds, .fbx, .blend, obj, the object using bezier as the mesh of the lampion’s...
3d_export
$7
Security Camera CCTV CCD
...axes that make animation easier<br>the cable uses a beveled bezier curve that allows animation<br>non-overlapping uvs<br>.blend<br>.obj<br>.stl<br>.fbx<br>this model is suitable for...
3d_export
$9
Vintage Radio Alien design 1958 - c4d fbx 3ds obj
...infographie prades pyrenees-orientales perspective images de synthese 3d narbonne bezier montpellier toulouse france visite virtuelle electromenager darty boulanger fnac...
Fractal
turbosquid
$5
Fractal chandelier
...
royalty free 3d model fractal chandelier for download as max on turbosquid: 3d models for games, architecture, videos. (1426939)
turbosquid
free
Fractal cube
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
turbosquid
$1
Fractal sports car
...del fractal sports car for download as jpg, 3ds, obj, and md3 on turbosquid: 3d models for games, architecture, videos. (1500593)
turbosquid
free
Fractal Vase
...squid
royalty free 3d model vase for download as c4d and fbx on turbosquid: 3d models for games, architecture, videos. (1317806)
turbosquid
$2
Fractal Dome Glass Light
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
turbosquid
$2
Fractal Light - Tri Side Glass
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
turbosquid
$5
Fractal shape - kaleidoscopic IFS model
... ifs model for download as blend, dae, fbx, stl, dxf, and obj on turbosquid: 3d models for games, architecture, videos. (1561552)
3d_ocean
$7
«Craftal Box»
...3docean abstract accent art craftals decor decoration detailed elements fractal interior metal mysterious openwork statuette fractal craftals decor detailed...
3d_ocean
$12
Iphone 4 + Creative scene
...iphone 4 + creative scene 3docean fractal fractal generated graphics iphone 4 iphone 5 scene studio...
3d_ocean
$7
Craftal Disk Statuette
...craftal disk statuette 3docean abstract craftals decor decoration details fractal metal modern sculpture statuette unique statuette on stand for...
Curves
3d_export
free
curved sword
...curved sword
3dexport
a curved sword
3ddd
$1
CURVE
...wave oscillates rhythmically across this rug.
hand knotted from tibetan wool, curve is available from stock in a range of sizes.
3ddd
$1
SYSTEMPOOL Serie Curve
..., serie curve , раковина
systempool serie curve
3ddd
$1
DIAMANTE Curved Bench
...diamante curved bench
3ddd
diamante curved bench скамья
diamante curved bench
3ddd
$1
Enne Curve Sofa
...enne curve sofa
3ddd
enne , curve
диван enne curve, размеры -h800x920x2350mm
design_connected
$27
Curve Sofa
...curve sofa
designconnected
living divani curve sofa computer generated 3d model. designed by lissoni, piero.
3d_export
$5
curve base handle
...curve base handle
3dexport
curve base handle
3d_export
$5
simple curve handle
...simple curve handle
3dexport
simple curve handle
turbosquid
$2
Curved leaf
...urbosquid
royalty free 3d model curved leaf for download as on turbosquid: 3d models for games, architecture, videos. (1641948)
turbosquid
$2
Curved Mouse
...rbosquid
royalty free 3d model curved mouse for download as on turbosquid: 3d models for games, architecture, videos. (1314525)
Library
3d_ocean
$5
Library
...library
3docean
book book case library
library
3d_export
$6
library
...library
3dexport
a ready-made model of a library for use in peru
3d_ocean
$5
Library
...library
3docean
book books furniture home home design interior library
home design…
turbosquid
$15
library
...turbosquid
royalty free 3d model library for download as max on turbosquid: 3d models for games, architecture, videos. (1351741)
turbosquid
$9
Library
...turbosquid
royalty free 3d model library for download as max on turbosquid: 3d models for games, architecture, videos. (1433110)
turbosquid
$7
Library
...turbosquid
royalty free 3d model library for download as max on turbosquid: 3d models for games, architecture, videos. (1363568)
turbosquid
$5
Library
...turbosquid
royalty free 3d model library for download as max on turbosquid: 3d models for games, architecture, videos. (1309343)
3ddd
$1
classic library
...classic library
3ddd
library
classic library
3dsmax 2008 vray
3d_export
$10
Library
...library
3dexport
3d_export
free
library
...library
3dexport
Tree
3d_ocean
$9
tree
...tree
3docean
textured tree
textured tree
3d_ocean
$9
tree
...tree
3docean
textured tree
textured tree made with cinema4d
3d_ocean
$9
tree
...tree
3docean
cinema4d textured tree
textured tree made with cinema4d
3d_export
$10
tree
...tree
3dexport
this is a tree.
3d_export
$7
Tree
...tree
3dexport
tree
3d_export
$5
tree
...tree
3dexport
tree
3d_export
$5
Tree
...tree
3dexport
tree
3d_export
$5
Tree
...tree
3dexport
tree
3d_export
$5
Tree
...tree
3dexport
tree
3d_export
free
tree
...tree
3dexport
tree.