Skip to content

Commit

Permalink
Add transform and phi psi nodes (#643)
Browse files Browse the repository at this point in the history
* add initial transform collapse and phi psi rotation nodes

* rename transform nodes

* Add axis to Vector Angle node

* rename transform nodes

* more node documentation

* more node docs
  • Loading branch information
BradyAJohnston authored Nov 3, 2024
1 parent 4d792c5 commit 9d9fa0f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
Binary file modified molecularnodes/assets/MN_data_file_4.2.blend
Binary file not shown.
33 changes: 29 additions & 4 deletions molecularnodes/ui/node_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,11 @@
description="",
videos="",
),
MenuItem(
name="Rotate Backbone",
description="Rotate the atoms cumulatively for each residue, adjusting the `phi` and `psi` angles for the selected residues",
videos="",
),
MenuItem(
name="Backbone Position",
description="Return the backbone position for the peptide residue, and recalculate if the attribute doesn't exist",
Expand Down Expand Up @@ -881,7 +886,6 @@
description="Test if a vector is element-wise between the upper and lower bounds.",
),
Break(),
Break(),
MenuItem(
name="Vector from Point",
description="Calculate the vector from the current point's position to the input vector",
Expand All @@ -898,17 +902,38 @@
),
Break(),
MenuItem(
name="Scale Transform",
name="Rotation from ZYZ",
description="",
),
Break(),
MenuItem(
name="Transform Scale",
description="Scale the components of a transform individually with between 0 and their value",
),
MenuItem(
name="Relative Transform",
name="Transform Relative",
description="The transform to get from B to A, relative to the CB axis",
),
MenuItem(
name="Mix Transform",
name="Transform Mix",
description="Mix between two transforms, controlling the translation, rotation and scale independently",
),
MenuItem(
name="Transform Local",
description="",
),
MenuItem(
name="Transform Local Axis",
description="Create a transform that is rotation around an axis in local space, with local space defined by the origin point which defaults to Position",
),
MenuItem(
name="Transform Accumulate",
description="Accumulate transforms on the domain if selected",
),
MenuItem(
name="Transform Accumulate Point",
description="Accumulate transforms on a domain, applying these transforms to the Position",
),
Break(),
MenuItem(
label="Centroid",
Expand Down

0 comments on commit 9d9fa0f

Please sign in to comment.