Roberto Saccon
9fb514730b
bugfix
2023-12-08 22:56:37 +01:00
Roberto Saccon
80524d64e8
Vector Options added
...
Unfortunately the typing system cannot handle `tuple | None` so default vector needs to be defined be defining `default_x`, `default_y` and `default_z`
2023-12-08 10:10:59 +01:00
Roberto Saccon
fa9b3db75a
New approach witch InputOptions class
2023-12-06 06:29:21 +01:00
Roberto Saccon
abaf93f3e9
commented out the non-working subtype option
2023-12-04 00:20:27 +01:00
Roberto Saccon
6ddd546a1d
added more input options
...
a new InputObject class allows to use the following input options: min, max, name, subtype, tooltip, hide_in_modifer
setting subtype does not work (yet), only the menu label gets changed
2023-12-02 05:35:27 +01:00
Roberto Saccon
a1aac89c19
Added min / max option for numeric input values
...
Usage examples
min only:
---------
def test(value: Int[0]): pass
def test(value: Float[0.0]): pass
min, max
---------
def test(value: Int[0, 1]): pass
def test(value: Float[0.0, 1.0]): pass
min, max (slice notation)
-------------------------
def test(value: Int[0:1]): pass
def test(value: Float[0.0:1.0]): pass
2023-12-01 03:36:54 +01:00
Carson Katri
8a1b4c4321
Add check for nested trees
2023-11-17 13:45:46 -05:00
Carson Katri
6c25f12729
Support Blender 3.x alongside 4.x
2023-11-17 13:45:46 -05:00
Carson Katri
da99654edb
Add repeat zone support
2023-11-15 12:55:31 -05:00
Alfredo
e3befbefc9
Migrate to NodeTree.interface API for Blender 4.0 release
2023-11-11 14:09:37 -05:00
Carson Katri
467ae71ec6
Add curve support
2023-11-11 14:04:20 -05:00
Carson Katri
16a11e91af
Handle dict output
2022-12-09 15:51:38 -05:00
Carson Katri
86023a2bb5
Add simulation decorator
2022-12-01 09:07:07 -05:00
Carson Katri
bdf703c33a
Add built-in node arrange and documentation
2022-12-01 07:37:35 -05:00
Carson Katri
dddf0d93d9
Add Attribute class for named attributes
2022-11-28 21:09:27 -05:00
Carson Katri
db323268a2
Use InputGroup default values
2022-11-20 18:57:16 -05:00
Carson Katri
7001a179c0
Add scripted_expression helper function
2022-11-20 18:47:37 -05:00
Carson Katri
66ade0a739
Support prefixes for InputGroups
2022-11-19 15:00:26 -05:00
Carson Katri
852823af30
Fix multiple returns from sub-tree
2022-11-19 08:44:40 -05:00
Carson Katri
48929cea93
Add documentation to InputGroups and fix input recreation
2022-11-18 18:23:51 -05:00
Carson Katri
aa11b398a0
Add InputGroup to simplify large sets of inputs
2022-11-17 18:13:07 -05:00
Carson Katri
3850ec011c
Support generators and add City Builder example
2022-11-14 22:32:32 -05:00
Carson Katri
c28d6ced93
Add default argument value support
2022-11-14 18:31:26 -05:00
Carson Katri
7dc083e361
Add helpers for working with external files and docs
2022-11-13 18:49:09 -05:00