Small Problem - ( maybe a Bug)

I would like to create a watch bracelet.
I'm trying to replicate an object with specific distance and constant angle increment.

For some reason the resulting array isn't correct.

It's me?
Could someone help me?

Thanks
Riccardo

I'm using RhinoV5- 46Bit and GH08.0007
  • up

    Gustav Fagerstrom

    Hi Riccardo,

     

    I had a quick look and it seems the error comes from how you set up the distance relationships. If I understand your sketch correctly you want the bracelet hinges to be on a constant distance from one another. In other words the relative distance from one hinge to the next should be like a series of identical arc chords on a circle perimeter.

    Actually what you have set up is a constant stepping in global Y direction (your x in calcola_distanza) and a constant angle increment (the y in the same). When you take x*cos(y) it works only for the first instance, but doesn't work incrementally. Why that is you can see in the attached screenshot. For now I have only pointed out the error - sorry not very constructive! -  but tomorrow I will make an attempt to solve it too!

    Gustav

    1
    • up

      Riccardo Gatti

      Thanks Gustav to take time to look in to my file.
      Your suggestion it's true, I had the idea the problem was thee but I didn't find the right way.

      I'll take a look on your solution and try to improve it a little bit.

      THANKS!
      Riccardo