Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I've been searching the forums on this problem and found quite a lot of similar ones. However, I can not seem to find the problem in my specific script.

I'm trying to find points on two curves, that increase density around two attractor points. I'm doing this with the evalulate length component.

The points on the crv are placed on a length of 2500 and 2915. I want to add points on +100 and -100 from this point (so that would be 2400 - 2600 and 2815 - 3015). As you can see in the image below. It works ok on the top curve, but not on the bottom crv.

When I re-evaluate the length in the end of the script, at the new points, it also gives new values (for the bottom crv 3014 and 3377, which looks like that is what actually is happening). What am I doing wrong here?

- I already reparametrized the crvs in the beginning, so I guess it's not a mistake with domain - versus length?

Views: 411

Attachments:

Replies to This Discussion

Why does the value of the point on the second curve return 2915 instead of the expected 2500?

You divide the curve into segments of 500, then select the closest point to find the point on curve and the result is 2915...

Try grafting the input C of the first Length Parameter component (the one below the "length of curve left of pts"). 

Thank you Sander :) Once again, you saved the day!

Didn't even think about the 2915... that was indeed already quite strange...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service