Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transform and phi psi nodes #643

Merged
merged 6 commits into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading