Re: [Maya-Python] Distribute spheres on ellipse pattern with python

2022-10-10 Thread Justin Israel
On Tue, Oct 11, 2022 at 4:30 AM joão chaves wrote: > Hey. I believe it would like a diamond in case of 4. > In the current implementation, you would have a diamond. But if the 4 points were evenly spaced, you would have a square. > On Mon, Oct 10, 2022, 15:30 Marcus Ottosson > wrote: > >> > T

Re: [Maya-Python] Distribute spheres on ellipse pattern with python

2022-10-10 Thread joão chaves
Hey. I believe it would like a diamond in case of 4. On Mon, Oct 10, 2022, 15:30 Marcus Ottosson wrote: > > The only issue I have is that it doesn't evenly distribute the spheres > along the ellipse, maybe that's not easy to accomplish? > > Got an interesting thought-experiment for you. :) What

Re: [Maya-Python] Distribute spheres on ellipse pattern with python

2022-10-10 Thread Marcus Ottosson
> The only issue I have is that it doesn't evenly distribute the spheres along the ellipse, maybe that's not easy to accomplish? Got an interesting thought-experiment for you. :) What would it look like to only distribute 3 or 4 spheres in an ellipse, with even spacing? Pen and paper is allowed.

Re: [Maya-Python] Distribute spheres on ellipse pattern with python

2022-10-10 Thread johancc
Hey Justin. That's awesome! Thanks a lot for looking into it. The only issue I have is that it doesn't evenly distribute the spheres along the ellipse, maybe that's not easy to accomplish? But this helps me a lot anyways. :) [image: ellipse.jpg] A segunda-feira, 10 de outubro de 2022 à(s) 08:38

Re: [Maya-Python] Distribute spheres on ellipse pattern with python

2022-10-10 Thread Justin Israel
Full disclosure, I am not a math guy and I didn't know the solution straight away. But I wanted to look it up and see if I could apply it, given a known max and min radius, and an angle. I found this to be the most useful of all the links I had found: https://stackoverflow.com/a/17762156/496445 Wh