Description Usage Arguments Value
View source: R/ftt_add_sapling.R
This function generates code that will, when run inside Blender, create saplings (using the "add curve sapling" addon) to a scene.
1 2 3 4 5 6 7 8 | ftt_add_sapling(
script,
object,
id_code = NULL,
id_key = NULL,
location = NULL,
...
)
|
script |
The Python script to append the generated code onto. |
object |
An object inheriting from mvdf_obj which will be used to
calculate the x, y, and z positions for each primitive. One primitive will be
created for each row of |
id_code |
x |
id_key |
x |
location |
x |
... |
Additional arguments to pass to the sapling creation call. Currently ignored. |
A length 1 character vector containing the Blender Python script with code for creating saplings added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.