Fibonacci
 1-12  13-22

Previous
Next
 From:  Michael Gibson
4739.13 In reply to 4739.12 
Hi Felix,

> I don't know if you can draw an arc (in Moi) from it's center, radius and angle but
> if it's possible it could simplify things a little.

I think the Arc center command will work for that.

First you'll place the center point.

Then the second prompt is to pick the starting point of the arc - in this case you want it to be a specified distance away from the first point you picked so you can use "distance constraint" to control that. Just type in your desired radius value and push enter and now your second point pick will be constrained to be that distance away from the base point. That's the same method that you can use to draw lines of a particular length as well.

Then you'll need to place the point where you want the arc to start and you can then enter the desired angle at the last prompt.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  FelixPQ (FELIX)
4739.14 In reply to 4739.13 
Michael,

I meant creating an arc (center, start, angle) in script and one would need the end point of the previous arc to set the radius of the next arc. It would just simplify the script (I think) but I'm sure one can figure out a way to compute the end point with a simple "rotation matrix" maybe.

Creating a spiral manually is easy and relatively fast with this method, I don't think a script is really needed for that except maybe as an exercise in scripting. It's the main reason I suggested it to bemfarmer.

Though it's easy to create a spiral using the Moi command for that or one of bemfarmer script, I prefer to use this method because I have kind of passion for how craftman used to do their work and as I said earlier using arcs as an advantage when one need to start the spiral on a circle, it's fits perfectly and it looks pretty nice as well!

Thanks,
Felix

PS. The more I use Moi, the more adicted I become, incredible program Michael, keep up the good work.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
4739.15 In reply to 4739.14 
Felix, Arc construction works very well.

Report to Michael of a peculiar behavior that happens during opening of the attached file.
The Scene browser Style red-ish color "UserLayer01", drawn as a Circle, is turned OFF upon reopening the file in Moi3Beta.
Have to click on the eye icon area of UserLayer01 to turn the Circle on.

I Moi2, the red-ish Circle shows up upon reopening the file.



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4739.16 In reply to 4739.14 
Hi Felix,

> It would just simplify the script (I think) but I'm sure
> one can figure out a way to compute the end point with
> a simple "rotation matrix" maybe.

Yeah it's possible to do that rotation calculation in script, there is not anything kind of pre made to do that but doing the calculation for rotating a point is not too complex.

If it's the end point of an already existing arc that you want to calculate, if the script has the arc object itself available it could also call .getEndPt() on it to retrieve the end point of the arc curve as a point object that has .y .x .z properties on it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4739.17 In reply to 4739.14 
> PS. The more I use Moi, the more adicted I become, incredible
> program Michael, keep up the good work.

Thanks Felix! :)

It can take a little while to really appreciate the streamlined workflow of MoI - I think it's only when you switch back to another program that you start to feel some of the frequent annoyances that you didn't previously notice... Stuff like things popping up over your work too much, needing to hold down shift or ctrl all the time, difficulty with selection, etc....

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
4739.18 
Report on Fibonacci torture tests with MoI2 and MoI3OctBeta. :-)

Behavior is different for MoI2 and MoI3OctBeta.

MoI3Beta will create up to about 14,000 seedpoints, and save the file.
At 15,000 or so seedpoints, MoI3Beta quits calculating and stops displaying any seedpoints.
Seems like memory or something is clogged up, as reloading the script quickly aborts, until MoI is closed and restarted.
(or else, if it manages to create and show the seedpointss, trying to save, results in a very "truncated" seed count.)

Moi2 is able to properly calculate, display, and save up to 20,000 seed points. File size is 16,174.
It takes about 34 seconds for points to start showing on the screen, and 4+ minutes to calculate/display the seed points.
MoI3Beta CAN load the file just fine.

Moi2 is able to calculate and display 25,000 seed points.
Startup was about 46 seconds, and it akes 7+ minutes to finish.
BUT, saving the file fails. Truncated file size was 7,873.

Moi2 is able to calculate and display 30,000 seed points.
Startup was about 70 seconds, and it akes 10+ minutes to finish.
again, saving the file fails. Truncated file size was 3,397.

Moi2 handles 22,000 seed points.
Moi3OctBeta loads the saved file fine.

EDITED: 25 Nov 2011 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
4739.19 
CopyToPoints Script, by Petr http://moi3d.com/forum/index.php?webtag=MOI&msg=3974.1

Should be using a sunflower seed. Got one to model, basically a diamond shape.
So why not use a real diamond...

EDITED: 19 Feb 2014 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Kurt (KURTF)
4739.20 
Nice animations that help illustrate the principles brought up in this thread:

http://vimeo.com/9953368

and

http://etereaestudios.com/docs_html/nbyn_htm/intro.htm
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
4739.21 
All this has 13 (prime number) starting Fibonacci spiral !
From bottom to top!


EDITED: 26 Nov 2011 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
4739.22 
Amazing what violin research comes up with!
http://wscg.zcu.cz/wscg2003/papers_2003/i31.pdf



Added "donut hole" by selecting seed start number >1.
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-12  13-22