kopia lustrzana https://github.com/carson-katri/geometry-script
Document named outputs syntax
rodzic
16a11e91af
commit
840701d916
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 108 KiB |
|
@ -41,6 +41,19 @@ def cube_tree():
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
By default, each output is named 'Result'. To customize the name, return a dictionary.
|
||||||
|
|
||||||
|
```python
|
||||||
|
@tree("Cube Tree")
|
||||||
|
def cube_tree():
|
||||||
|
return {
|
||||||
|
"My Cube": cube(),
|
||||||
|
"Scale Constant": 5
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Group Input
|
## Group Input
|
||||||
All arguments in a tree function must be annotated with a valid socket type. These types are provided by Geometry Script, and are not equivalent to Python's built-in types. Let's add a size argument to our Cube Tree.
|
All arguments in a tree function must be annotated with a valid socket type. These types are provided by Geometry Script, and are not equivalent to Python's built-in types. Let's add a size argument to our Cube Tree.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue