Jump to content
Sign in to follow this  
Neekozo

Circle Normals

Recommended Posts

Hi amazing houdini people!

 

This is driving me insane, ive been using polyframe to add normal directions to points on a  curve when i scatter onto it. 

 

But when i use the same technique on a circle i always have to fuse points and then im left with this. 

 

Driving me insane, how do i fix the circle normals??

Capture.PNG

Edited by Neekozo
typos

Share this post


Link to post
Share on other sites

I have this often. It's usually point 0. In this scenario I'd probably set my normals relative to the circle's center (Polyframe Style set to Primitive Centroid), or "@N=getbbox_center(0)-@P;" in a wrangle. In looping but not circular geometry I manually set point 0's attributes in a wrangle (like averaging its neighbors attributes, or manually calculating the tangent from the geometry's last point). If that doesn't work I resample to a gazillion points and interpolate. If that's not an option I clip half the geometry off and mirror it. If that's not an option I delete my graph and abandon the project.

Hope you get a cleaner answer, I've been wondering whether there's an easy, universal solution.

Share this post


Link to post
Share on other sites
5 hours ago, srletak said:

@Neekozo just play with this :wub: 

KOntroltangentsrleMath.hipnc

You are a hero.

Hvala ti od srca!

6 hours ago, Dweeble said:

I have this often. It's usually point 0. In this scenario I'd probably set my normals relative to the circle's center (Polyframe Style set to Primitive Centroid), or "@N=getbbox_center(0)-@P;" in a wrangle. In looping but not circular geometry I manually set point 0's attributes in a wrangle (like averaging its neighbors attributes, or manually calculating the tangent from the geometry's last point). If that doesn't work I resample to a gazillion points and interpolate. If that's not an option I clip half the geometry off and mirror it. If that's not an option I delete my graph and abandon the project.

Hope you get a cleaner answer, I've been wondering whether there's an easy, universal solution.

Thanks for the heads up and info! Appreciate it alot!

Capture2.PNG

Edited by Neekozo
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×