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.
Files changed (33) hide show
  1. {nodebpy-0.2.0 → nodebpy-0.3.0}/PKG-INFO +5 -5
  2. {nodebpy-0.2.0 → nodebpy-0.3.0}/README.md +4 -4
  3. {nodebpy-0.2.0 → nodebpy-0.3.0}/pyproject.toml +1 -1
  4. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/builder.py +193 -411
  5. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/__init__.py +352 -335
  6. nodebpy-0.3.0/src/nodebpy/nodes/attribute.py +536 -0
  7. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/color.py +30 -34
  8. nodebpy-0.3.0/src/nodebpy/nodes/converter.py +3527 -0
  9. nodebpy-0.3.0/src/nodebpy/nodes/experimental.py +312 -0
  10. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/geometry.py +4189 -3644
  11. nodebpy-0.3.0/src/nodebpy/nodes/grid.py +1713 -0
  12. nodebpy-0.3.0/src/nodebpy/nodes/group.py +17 -0
  13. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/input.py +1496 -1308
  14. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/interface.py +236 -117
  15. nodebpy-0.3.0/src/nodebpy/nodes/manual.py +2051 -0
  16. nodebpy-0.3.0/src/nodebpy/nodes/output.py +85 -0
  17. nodebpy-0.3.0/src/nodebpy/nodes/texture.py +930 -0
  18. nodebpy-0.3.0/src/nodebpy/nodes/vector.py +528 -0
  19. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/nodes/zone.py +88 -119
  20. {nodebpy-0.2.0/src/nodebpy/nodes → nodebpy-0.3.0/src/nodebpy}/types.py +15 -2
  21. nodebpy-0.2.0/src/nodebpy/nodes/attribute.py +0 -481
  22. nodebpy-0.2.0/src/nodebpy/nodes/converter.py +0 -4518
  23. nodebpy-0.2.0/src/nodebpy/nodes/experimental.py +0 -314
  24. nodebpy-0.2.0/src/nodebpy/nodes/grid.py +0 -1228
  25. nodebpy-0.2.0/src/nodebpy/nodes/group.py +0 -20
  26. nodebpy-0.2.0/src/nodebpy/nodes/mesh.py +0 -17
  27. nodebpy-0.2.0/src/nodebpy/nodes/texture.py +0 -70
  28. nodebpy-0.2.0/src/nodebpy/nodes/vector.py +0 -0
  29. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/__init__.py +0 -0
  30. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/arrange.py +0 -0
  31. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/screenshot.py +0 -0
  32. {nodebpy-0.2.0 → nodebpy-0.3.0}/src/nodebpy/screenshot_subprocess.py +0 -0
  33. {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.2.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=(-1, -1, -1)))
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) seed:1</small>"):::converter-node
98
- N3("AlignRotationToVector<br/><small>(0,0,1)</small>"):::converter-node
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>>Rotation"| N3
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=(-1, -1, -1)))
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) seed:1</small>"):::converter-node
74
- N3("AlignRotationToVector<br/><small>(0,0,1)</small>"):::converter-node
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>>Rotation"| N3
88
+ N1 -->|"Value>>Vector"| N3
89
89
  N4 -->|"Rotation>>Rotate By"| N8
90
90
  N3 -->|"Rotation>>Rotation"| N8
91
91
  N2 -->|"Value>>Position"| N6
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nodebpy"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "Build nodes in Blender with code"
5
5
  readme = "README.md"
6
6
  authors = [