Point IN Path Node

john's Avatar

john

06 May, 2021 10:32 AM

I use the standard point_on_path node all the time. It works great with closed paths.

But it is quite annoying when used on open paths like a line, arc, or curve. If you set point_on_path's T value to 100, you get not the end point of the path, but the START point (presumably because there is a mod 100 inside it somewhere). This is OK with closed paths because in that case the start and end are the same. For open paths this is a pain.

It's easy enough to fix by adding a special test for T=100 and replacing the output with the final point of the path - but after doing this again and again and again I got tired of it. So I made a simple node that I can just copy and paste instead.

Attached is a demo of this node: point_in_path. It works the same way except that T can only vary between 0 and 100, and 100 actually gives you the end point of the path. I find myself using it A LOT.

Enjoy!

John

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • point_in_path_screenshot.png 299 KB
  • point_in_path_demo.zip 1.51 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

Generic

? 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

23 Jun, 2021 01:36 AM
20 Jun, 2021 07:19 AM
13 Jun, 2021 11:19 PM
06 Jun, 2021 09:27 AM
05 Jun, 2021 10:17 AM

 

05 Jun, 2021 07:45 AM
23 May, 2021 10:05 PM
23 May, 2021 10:02 PM
17 May, 2021 12:04 AM
16 May, 2021 01:00 PM
14 May, 2021 03:16 PM