nodebpy 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nodebpy-0.2.0 → nodebpy-0.3.0}/PKG-INFO +5 -5
- {nodebpy-0.2.0 → nodebpy-0.3.0}/README.md +4 -4
- {nodebpy-0.2.0 → nodebpy-0.3.0}/pyproject.toml +1 -1
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/builder.py +193 -411
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/__init__.py +352 -335
- nodebpy-0.3.0/src/nodebpy/nodes/attribute.py +536 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/color.py +30 -34
- nodebpy-0.3.0/src/nodebpy/nodes/converter.py +3527 -0
- nodebpy-0.3.0/src/nodebpy/nodes/experimental.py +312 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/geometry.py +4189 -3644
- nodebpy-0.3.0/src/nodebpy/nodes/grid.py +1713 -0
- nodebpy-0.3.0/src/nodebpy/nodes/group.py +17 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/input.py +1496 -1308
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/interface.py +236 -117
- nodebpy-0.3.0/src/nodebpy/nodes/manual.py +2051 -0
- nodebpy-0.3.0/src/nodebpy/nodes/output.py +85 -0
- nodebpy-0.3.0/src/nodebpy/nodes/texture.py +930 -0
- nodebpy-0.3.0/src/nodebpy/nodes/vector.py +528 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/zone.py +88 -119
- {nodebpy-0.2.0/src/nodebpy/nodes → nodebpy-0.3.0/src/nodebpy}/types.py +15 -2
- nodebpy-0.2.0/src/nodebpy/nodes/attribute.py +0 -481
- nodebpy-0.2.0/src/nodebpy/nodes/converter.py +0 -4518
- nodebpy-0.2.0/src/nodebpy/nodes/experimental.py +0 -314
- nodebpy-0.2.0/src/nodebpy/nodes/grid.py +0 -1228
- nodebpy-0.2.0/src/nodebpy/nodes/group.py +0 -20
- nodebpy-0.2.0/src/nodebpy/nodes/mesh.py +0 -17
- nodebpy-0.2.0/src/nodebpy/nodes/texture.py +0 -70
- nodebpy-0.2.0/src/nodebpy/nodes/vector.py +0 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/__init__.py +0 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/arrange.py +0 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/screenshot.py +0 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/screenshot_subprocess.py +0 -0
- {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/sockets.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: nodebpy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Build nodes in Blender with code
|
|
5
5
|
Author: Brady Johnston
|
|
6
6
|
Author-email: Brady Johnston <brady.johnston@me.com>
|
|
@@ -76,7 +76,7 @@ with TreeBuilder("AnotherTree") as tree:
|
|
|
76
76
|
|
|
77
77
|
_ = (
|
|
78
78
|
count
|
|
79
|
-
>> n.Points(position=n.RandomValue.vector(min
|
|
79
|
+
>> n.Points(position=n.RandomValue.vector(min=-1))
|
|
80
80
|
>> n.InstanceOnPoints(instance=n.Cube(), rotation=rotation)
|
|
81
81
|
>> n.SetPosition(
|
|
82
82
|
position=n.Position() * 2.0 + (0, 0.2, 0.3),
|
|
@@ -94,8 +94,8 @@ tree
|
|
|
94
94
|
graph LR
|
|
95
95
|
N0("NodeGroupInput"):::default-node
|
|
96
96
|
N1("RandomValue<br/><small>(-1,-1,-1) seed:2</small>"):::converter-node
|
|
97
|
-
N2("RandomValue<br/><small>(-1,-1,-1)
|
|
98
|
-
N3("AlignRotationToVector
|
|
97
|
+
N2("RandomValue<br/><small>(-1,-1,-1)</small>"):::converter-node
|
|
98
|
+
N3("AlignRotationToVector"):::converter-node
|
|
99
99
|
N4("AxisAngleToRotation<br/><small>(0,0,1)</small>"):::converter-node
|
|
100
100
|
N5("InputPosition"):::input-node
|
|
101
101
|
N6("Points"):::geometry-node
|
|
@@ -109,7 +109,7 @@ graph LR
|
|
|
109
109
|
N14("RealizeInstances"):::geometry-node
|
|
110
110
|
N15("InstanceOnPoints"):::geometry-node
|
|
111
111
|
N16("NodeGroupOutput"):::default-node
|
|
112
|
-
N1 -->|"Value>>
|
|
112
|
+
N1 -->|"Value>>Vector"| N3
|
|
113
113
|
N4 -->|"Rotation>>Rotate By"| N8
|
|
114
114
|
N3 -->|"Rotation>>Rotation"| N8
|
|
115
115
|
N2 -->|"Value>>Position"| N6
|
|
@@ -52,7 +52,7 @@ with TreeBuilder("AnotherTree") as tree:
|
|
|
52
52
|
|
|
53
53
|
_ = (
|
|
54
54
|
count
|
|
55
|
-
>> n.Points(position=n.RandomValue.vector(min
|
|
55
|
+
>> n.Points(position=n.RandomValue.vector(min=-1))
|
|
56
56
|
>> n.InstanceOnPoints(instance=n.Cube(), rotation=rotation)
|
|
57
57
|
>> n.SetPosition(
|
|
58
58
|
position=n.Position() * 2.0 + (0, 0.2, 0.3),
|
|
@@ -70,8 +70,8 @@ tree
|
|
|
70
70
|
graph LR
|
|
71
71
|
N0("NodeGroupInput"):::default-node
|
|
72
72
|
N1("RandomValue<br/><small>(-1,-1,-1) seed:2</small>"):::converter-node
|
|
73
|
-
N2("RandomValue<br/><small>(-1,-1,-1)
|
|
74
|
-
N3("AlignRotationToVector
|
|
73
|
+
N2("RandomValue<br/><small>(-1,-1,-1)</small>"):::converter-node
|
|
74
|
+
N3("AlignRotationToVector"):::converter-node
|
|
75
75
|
N4("AxisAngleToRotation<br/><small>(0,0,1)</small>"):::converter-node
|
|
76
76
|
N5("InputPosition"):::input-node
|
|
77
77
|
N6("Points"):::geometry-node
|
|
@@ -85,7 +85,7 @@ graph LR
|
|
|
85
85
|
N14("RealizeInstances"):::geometry-node
|
|
86
86
|
N15("InstanceOnPoints"):::geometry-node
|
|
87
87
|
N16("NodeGroupOutput"):::default-node
|
|
88
|
-
N1 -->|"Value>>
|
|
88
|
+
N1 -->|"Value>>Vector"| N3
|
|
89
89
|
N4 -->|"Rotation>>Rotate By"| N8
|
|
90
90
|
N3 -->|"Rotation>>Rotation"| N8
|
|
91
91
|
N2 -->|"Value>>Position"| N6
|