Skip to content

Commit

Permalink
update most of the nodes almost ready for 1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Jun 9, 2022
1 parent 5efe478 commit 4c078cd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified molecular_nodes_append_file.blend
Binary file not shown.
Binary file added release/molecular_nodes_0.6.3.zip
Binary file not shown.
Binary file modified serpens_plugin_file.blend
Binary file not shown.
4 changes: 2 additions & 2 deletions src/setup_node_treepy.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def create_starting_node_tree(collection_of_properties, obj):

# create an empty node group and link it to the atomic properties node group
new_node_group = node_mod.node_group.nodes.new("GeometryNodeGroup")
new_node_group.node_tree = bpy.data.node_groups["MOL_atomic_properties"]
new_node_group.node_tree = bpy.data.node_groups["MOL_prop_setup"]
new_node_group.inputs['Properties'].default_value = collection_of_properties
new_node_group.location = [0, 0]
# resize the newly created node to be a bit wider
Expand All @@ -68,7 +68,7 @@ def create_starting_node_tree(collection_of_properties, obj):
link(new_node_group.outputs['Atoms'], colour_node_group.inputs['Atoms'])
# link(new_node_group.outputs['atomic_number'], colour_node_group.inputs['atomic_number'])
link(new_node_group.outputs['chain_number'], random_node.inputs['ID'])
link(random_node.outputs[0], colour_node_group.inputs['Carbon'])
link(random_node.outputs['Value'], colour_node_group.inputs['Carbon'])
link(colour_node_group.outputs['Atoms'], node_output.inputs['Geometry'])

# node_mod.node_group.outputs.new("NodeSocketColor", "Color")
Expand Down

0 comments on commit 4c078cd

Please sign in to comment.