Move_to Node

john's Avatar


13 Jul, 2021 04:11 AM

This happens often: I have a shape, not centered on the origin, and I want to move it to a particular location.

To do this very simple thing I have to:

  • find the centroid of the shape
  • calculate the relative position change. The easiest way to do this is:
    • open Cartan Node Library
    • copy my rel_change node
    • paste it back in my project
  • add a translate node and translate the shape using the output of rel_change

When this happened for the twelve hundredth time I finally decided just to make a new node to do this in one fell swoop. Saves time and also results in cleaner code.

move_to will appear in the next release of the Cartan Node Library. But if you need to move a shape now, you can copy it from the attached demo.



Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • move_to_screenshot.png 387 KB
  • 3.6 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

11 Sep, 2021 03:55 AM
10 Sep, 2021 04:25 AM
09 Sep, 2021 02:25 AM
06 Sep, 2021 07:06 PM
20 Aug, 2021 03:27 PM


18 Aug, 2021 11:31 AM
18 Aug, 2021 09:42 AM
30 Jul, 2021 11:35 PM
29 Jul, 2021 10:11 PM
29 Jul, 2021 10:06 PM
25 Jul, 2021 10:21 PM