Two question related to the Node Editor.

Next
 From:  Subpa (SUBPATH2)
11541.1 
The first question:
I use MOI 3, when i call the Node Editor via "F8" Key
i get this Error Message. See attached picture.

Found "delaunator.js" and copied it in a different Folder
solve this. Can start the Node Editor then without any Error.

Do anyone know what cause this Error and have a Solution,
apart from copy the File to different Folder.

Know anyone what "delaunator.js" is for. Maybe i would
never need it, because i never use this Feature.


The second question:
Instead starting the Node Editor via the "F8" key
i would like starting them by clicking on a Icon or Text Button.
Can somone tell me how to do that.

thank you in advance
Image Attachments:
Size: 31.4 KB, Downloaded: 22 times, Dimensions: 512x437px
  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)
11541.2 
I suppose it has something to do with the Delaunay function! ;)

If you edit it with something like NotePad++

you will have that! ;)

EDITED: 17 Sep 2024 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
Next
 From:  Frenchy Pilou (PILOU)
11541.3 
About icon or text button it's not so easy ;)

Better to make a short cut...
Put this in the ShortCut board
for N by example! :)
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 ); }
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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)
11541.4 
Else the Delaunay node makes this... or any other thing that you want!
From this Fabulous Node Editor Elephant Library! ;) Maybe 90 % of the existing Nodes!
https://moiscript.weebly.com/biblio-elephant.html (French / English )

  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:  Subpa (SUBPATH2)
11541.5 
thank you, Pilou

seems the delaunator.js will triangle a form/shape
i have no uses for that, so moving the file in an other folder
will not hurt

I think a Shortcut as you recommend will also be fine
so i try that

thanks a again and have a nice day
  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:  Subpa (SUBPATH2)
11541.6 
i did not regonize that "F8" where already a Shortcut
so I just changed "F8" to "N", this shortcut is easier to reach now :)
  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
11541.7 In reply to 11541.1 
Hi Subpa,

re:
> Do anyone know what cause this Error and have a Solution,
> apart from copy the File to different Folder.

I think that script is using some script language functions that are only in MoI version 4 or 5, which has a newer JavaScript engine.

Probably the only other solution than moving it would be to update to MoI v4.

- 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:  Subpa (SUBPATH2)
11541.8 In reply to 11541.7 
Aah, that could be, thank you
as i dont need that Function, moving the File
will solve this
  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:  wayne hill (WAYNEHILL5202)
11541.9 In reply to 11541.8 
Hi Subpath,

The code was changed to work with the JavaScript version the Node Editor uses. This works with both V4 and V5 beta, but not V3.

Install into this directory :
C:\Users\<username>\AppData\Roaming\Moi\nodeeditor\nodes\extensions

Wayne

EDITED: 23 Sep 2024 by WAYNEHILL5202


  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