Not changing Curve length values

Hey there, this might be something straight forward, but still doesn´t make sense to me.

So i have a circle that it´s being divided x amount of times and i want to know exactly the length of an arc between two lines of the (the slice of the circle we can call).

So based on the amount of slices the arc in that position in between should increase or decrease depending on how many slices i divide my circle, But when it comes into dividing it by small steps some decimal ones the arc length kept itself into one dimension so if i go into dividing it 5 times it gives me a number but i need the arc to increase a little bit more, so i go 5.2 expecting the arc length to change…but it doesn´t until i jump to bigger steps i.e. 5.9 or even going to 6.2 and there is when change.

I hope this make sense and someone has the answer.

Thank you

Circle: Purple
Arc: white

It’ll depend on what you do in your script. Share your definition with all necessary data internalized so it can be investigated. But on quick guess is that division of curve always happens on integer counts, with your steps being rounded. So range 8.500-9.499 = 9 divisions.

You could divide your circles by length instead, but then you can end up with segments that aren’t all the same size.

Oh i really thought i’ve uploaded the file.

Here is:

And also it needs to be divided by the arc which is 400 units offset from the inner (central circle)
Dividing circle_arc length finding.gh (18.8 KB)

The Range component rounds the input you give into its N input, essentially doing the same as I mentioned in the previous post for the curve division component by count.

When you mouse over the N input you’ll see that the value is an integer:

This in turn means you’ll always have equally sized segments, but only through integer-sized steps. To make it easier for yourself maybe change the slider to integers.

Or find a different way to divide your circles where you can end up with different sized segments.

You can have one of the approaches, but not both.

Wow true never thought about the input in Range, but yeap this script is part of a larger one and i was having some problems with the “fractions” or output numbers.

Well i found a way which is really straight forward.
Dividing circle_arc length finding.gh (27.0 KB)

Thank you very much,

As long as you realize and are fine with the fact that you will have one segment of which the arc is going to be shorter than for all the other segments (the one below the segment you are showing in your latest screenshot).

1 Like