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 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
Mar 15, 2011
Riccardo Gatti
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
Mar 18, 2011