Script for Epitrochoid, Slider flicker
 1-11  12-31  32-50

Previous
Next
 From:  bemfarmer
6158.12 In reply to 6158.11 
The _Epitrochoid script does not properly place "corner" points on variations which have "cusp" points, such as the nephroid, etc.
Interpcurce just makes a sharp curve. Also some curves are drawn "twice"?
  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:  Mike (MGG942)
6158.13 In reply to 6158.12 
Hi Brian,

For fun I've created Epitrochoid.nod. See to work OK though I'm sure that it can be make much fancier by those more skilled than I am.

Oh, and I've also created Hypotrochoid.nod (or Spirograph.nod)

Mike.









  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
6158.14 In reply to 6158.13 
Hi Mike,
You have made some nice nodes.


For radius settings 2, 1, 1, the nephroid, the "cusps" are not quite right, so maybe some refinement could be done. (?)

- Brian
  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:  Mike (MGG942)
6158.15 In reply to 6158.14 
Brian, I'm afraid that I don't understand in what way they are not right.

Below is a composite image of MoI output using radii 2, 1 and 1 and a grab from a Wikipedia page: https://en.wikipedia.org/wiki/Nephroid

Look pretty similar to me, or am I barking up the wrong tree?

Mike.



  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
6158.16 In reply to 6158.15 
Hi Mike,

It is not very important. Just came up when I wanted an actual half nephroid.
I was just observing that zooming way in to a cusp point shows a hairpin turn, rather than a corner point, a result of interpcurve.
Identifying the cusp points, and ending the interpcurve there, would result in a "corner."

For example, for 3 cusps in an angle of 2 PI, the ratio of a/b = 3. Numcycles = 1/3 becomes 2PI/3 inside the js code, and yields one lobe.
Numcycles could be changed from an integerValue to numericValue.
Circular array, or 3 interpcurves would yield the full curve...


A ranunculoid has 5 cusps.

- Brian

EDITED: 9 Aug 2017 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:  Mike (MGG942)
6158.17 In reply to 6158.16 
No sure that I've fully understood the point that you are making, Brian.
Nonetheless it has made me see that the .nod needs to be able to input multiples of pi with much greater accuracy.
So the birth of Epitrochoid2.nod
Mike.



  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:  James (JFH)
6158.18 In reply to 6158.17 
Hi Mike,

Have you seen AL2000 (Speedy) post:

http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.355

He investigates similar curve forms using CV manipulation via vectors transformation.
In the absence of a mathematical formula, he follows a mechanical logic to achieve a similar result,
As a consequence it offers greater parametric control.
If you have not already seen it, I thought you might find instructive, as I did:

http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.366

James

EDITED: 6 May 2019 by JFH

  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:  Mike (MGG942)
6158.19 In reply to 6158.18 
Thanks, James, it's very impressive.

CV manipulation?

Looks like I'll need to widen my maths knowledge to begin to understand the strategy of this .nod.
And it'll be weeks or months before I've nutted out the function of many of the nodes used.

Mike.

EDITED: 11 Aug 2017 by MGG942

  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:  James (JFH)
6158.20 In reply to 6158.19 
Hi Mike

Sorry, by CV (control vertices), I mean "points".

James

EDITED: 10 Aug 2017 by JFH

  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:  Mike (MGG942)
6158.21 In reply to 6158.20 
Thanks for Trochoid.nod - not quite so intimidating.
  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:  James (JFH)
6158.22 In reply to 6158.21 
Hi Mike,

To help with analysis of nod file, I've relabelled several of the nodes,
& simplified the steps by using "progression" & "extract"
rather than "interp" & "splitPts".

The vectors tips can be seen as points on the minor circle
that rotates as it orbits the origin along the path of the major circle.

Let me know if this needs further clarification.

James

EDITED: 14 May 2019 by JFH

  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
6158.23 In reply to 6158.22 
For the trochoid or trochoid2 nod, please explain why the line and cone "vectors" cannot be erased.

If saved and reloaded they can be erased.

- Brian
  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:  James (JFH)
6158.24 In reply to 6158.23 
Hi Brian

to remove vectors set visibility of "rotateVec" to "No".
See attached

James

EDITED: 6 May 2019 by JFH

  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:  Mike (MGG942)
6158.25 In reply to 6158.22 
Thank you very much, James, I'll study this tomorrow.
Mike.
  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
6158.26 In reply to 6158.24 
Hi James.
The visibility works, but once the bVectors have been applied, it is impossible to delete them from the MoI screen, even after nod is exited.
Is there some code running in the background?

- Brian
  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:  James (JFH)
6158.27 In reply to 6158.26 
Hi Brian,

>>Is there some code running in the background?<<

I can't say; this is perhaps a question for Karsten.
He is the author of the vector nodes.

James
  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
6158.28 In reply to 6158.27 
Thank you James.
  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:  Karsten (KMRQUS)
6158.29 In reply to 6158.28 
Hello Brian,

sorry it's a bug. The problem is an objectlist that points to the vectors geometry. It seems that the objectlist survives the closing of the nodeeditor. So MoI locks the objects as long as the list exists!?

Please try the new version of vector.js

Have a nice day
Karsten

p.s.: The vector nodes were not really in my focus and so I made the code very quick and dirty - sorry for that:-(
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

Previous
Next
 From:  bemfarmer
6158.30 In reply to 6158.29 
Thank you Karsten.

Using Compare plugin in Notepad++ shows that you made changes to vector.js.

After copying the new vector.js to the extension directory, the trochoid and trochoid2 scripts still cannot have their vectors deleted :-(

So there is an objectlist in the geometry database, which MoI cannot delete. (?)
Its objects can be lofted and extended, and such changes can be deleted, but not the original vectors.

- Brian
  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:  Karsten (KMRQUS)
6158.31 In reply to 6158.30 
Hello Brian,

that's very strange. Here is the problem solved. I think that you've restarted MoI already. I'm a little bit confused.



I hope someone can check it next time!

-Karsten
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-11  12-31  32-50