MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-8  …  829-848  849-868  869-888  889-908  909-912

From: bemfarmer
6 Oct 2020   [#889] In reply to [#888]
Hi Tim

http://moi3d.com/wiki/Nodeeditor

- Brian

Some of the information is not up to date...So recent forum posts may be helpful for install.
Max's site has the latest version.
An it runs just fine on MoI4Beta.
From: Tim (TGILMORE)
6 Oct 2020   [#890] In reply to [#889]
This looks like what I needed, Thanks so much.

Tim
From: Frenchy Pilou (PILOU)
6 Oct 2020   [#891]
https://moiscript.weebly.com/biblio-elephant.html ;)
From: Psygorn (DRILLBIT)
6 May 2021   [#892] In reply to [#891]
Hi PILOU,

What is the difference between your Elephant & Max's Node editor?
Are they the same?
Your website provides the latest version of it?
Or we should go to Max's webpage?

I get kind of confused what is VF what is VO? and which version works best on MOI V 4.0?
I am using Windows.
From: Frenchy Pilou (PILOU)
6 May 2021   [#893] In reply to [#892]
Yes Elephant is the name of the Node Editor for Moi by Max Smirnov
It's it that i have on my site!

VO = Original English Version
VF = French Version of the Native Nodes of Elephant (but has also no native nodes but these no native are not translated)

All versions works fine with Moi.4.0

<< Or we should go to Max's webpage?
No Lastest version of Elephant is the Version modifyed by creators of nodes so many more nodes than original Elephant
and managed by James http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.10
there you can download a zip NodeEditor !

But maybe Max will made soon a new version after the release of the who knows! :)
From: Psygorn (DRILLBIT)
6 May 2021   [#894] In reply to [#893]
I ended up with an error!



I have downloaded "nodeeditor.zip" from: http://moi3d.com/forum/index.php?webtag=MOI&msg=9949.12 (Post number = 9949.12)
then I extracted the zip file into ...AppData\Roaming\Moi

and then I made a shortcut for it "Alt+N" and added : ​moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );

but I ended up with an error!

What should I do?
From: Michael Gibson
6 May 2021   [#895] In reply to [#894]
Hi Psygorn, that error means you've got some unusual text characters inserted into the shortcut key text. Maybe if you're preparing the text in a word processor that has styles and such applied to it that is carrying along some extra stuff. Try using a plain text editor or set the document type to be plain text.

- Michael
From: Michael Gibson
6 May 2021   [#896] In reply to [#894]
Did you get that text by selecting and copying from a web page? If so which page, maybe I can fix the page to not have fancy unicode control characters in what is supposed to be plain text for code.

Try this:

code:
script:moi.ui.createDialog("moi://appdata/nodeeditor/index.html","resizeable,defaultWidth:680,defaultHeight:420",moi.ui.mainWindow);


- Michael
From: Psygorn (DRILLBIT)
6 May 2021   [#897] In reply to [#895]
Is that it:



I used this piece of code for a short key:

script: if ( moi.majorVersionNumber == 3 ) { moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); } else if ( moi.majorVersionNumber == 4 ) { moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); }

Does the above code works by omitting the term "script:" ?

I think it does work with or without it!
From: Psygorn (DRILLBIT)
6 May 2021   [#898] In reply to [#896]
I took it from Pilou's page here: https://moiscript.weebly.com/install-elephant.html
From: Psygorn (DRILLBIT)
6 May 2021   [#899]
Is there a place in which people share their nodes? Or tutorials?
From: Michael Gibson
6 May 2021   [#900] In reply to [#897]
Hi Psygorn,

re:
> Is that it:

Yup, that is what it looks like when it's running. You can right click in there to start adding nodes.

- Michael
From: Frenchy Pilou (PILOU)
6 May 2021   [#901] In reply to [#899]
<< Is there a place in which people share their nodes? Or tutorials?

You can find tones here! ;)

https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1
From: Psygorn (DRILLBIT)
6 May 2021   [#902] In reply to [#901]
Tanx PILOU :)
From: Psygorn (DRILLBIT)
6 Apr 2022   [#903]
Hello all,

Do we have Floor and ceiling functions in Math Node?

I mean this function: https://en.wikipedia.org/wiki/Floor_and_ceiling_functions
From: James (JFH)
6 Apr 2022   [#904] In reply to [#903]
Psygorn,

Type into math node as shown


James
https://www.instagram.com/nodeology/

Image Attachments:
floor:ceil.jpg 


From: Psygorn (DRILLBIT)
6 Apr 2022   [#905] In reply to [#904]
Hello James,

Thank you for your reply,

Could you help me here:

Why does it seem that the floor function doesn't work properly?



I don't think for the value of A = 117 it should display -1!

How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360?

Attachments:
Floor_Function_Problem.nod


From: Barry-H
6 Apr 2022   [#906] In reply to [#905]
Hi,
try using the compare node.
Cheers
Barry


Image Attachments:
Screenshot (685).png 


From: James (JFH)
6 Apr 2022   [#907] In reply to [#905]
Psygorn,

quote:
Why does it seem that the floor function doesn't work properly?

It is working properly...given that sin(117) / 2 = -0.34, the floor value will be -1

quote:
How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360?

Firstly, if working with degrees use square brackets : sin[a] because they convert degrees to radians
used by trigonometric functions.

If you imagine a point revolving around a circle, at any point the sine of the angle: sin[a]
equals the y component / radius, so regardless of the radius the result will be 0 on the horizontal axis
and 1 & -1 at top & bottom of the vertical axis respectively, and the points in-between will give a result
ranging from -1 to 1

There is a lot of better explanation of trigonometric functions online, here is the wikipedia page:
https://en.wikipedia.org/wiki/Sine_and_cosine

James
https://www.instagram.com/nodeology/
From: Psygorn (DRILLBIT)
6 Apr 2022   [#908] In reply to [#907]
>> It IS working properly...given that sin(117) / 2 = -0.34, the floor value will be -1

Hello James, but I think sin(117) = 0.891 even calculator says that!



I assume the value of sin is not calculated in Degree? (I think it is in Rad)

How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360? in Degrees.
for example I thought if I use : 1+( 2 * floor function of (sin (a)/2)) I could have 1 for 0<a<180 and -1 for 180 <a<360

.>>If you imagine a point revolving around a circle, at any point the sine of the angle: sin[a]
equals the y component / radius, so regardless of the radius the result will be 0 on the horizontal axis
and 1 & -1 at top & bottom of the vertical axis respectively, and the points in-between will give a result
ranging from -1 to 1

Luckily, I know about it! and I know if we imagine a circle and divide it by the largest horizontal segment (it's horizontal diameter) then "sin(an angle in the upper semicircle)" would be positive and "sin(an angle in the lower semicircle)" would be negative. :-)

I just don't know how to do it in Nodeeditor, How to turn all positive values of sin to 1 and negative ones to -1.

Edit: Dear James I always had struggle where t use RAD and where to use Degree!

Show messages:  1-8  …  829-848  849-868  869-888  889-908  909-912