Scripting and Node Editor in Moi3D V5
 1-11  12-28

Previous
Next
 From:  Michael Gibson
11061.12 In reply to 11061.1 
Hi NaN,

in reply to your first message in this thread:

re:
> Would such a step also make sense for Moi3d V5?

I'm reluctant to do so because it would signal that those areas would be core first class supported features when that is not the case currently.

The main reason for that is the amount of work required - as you note documentation would need to be created which is very time consuming and also just general support of other developers is also very time consuming.

I don't mind the current support load which comes with the implicit understanding that you need to be quite a bit on the "self starter" side to work in these areas. But it could get pretty hard for me to find the time for it if it was advertised as a core area.

- 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:  NaN
11061.13 In reply to 11061.12 
Hi Michael,

thanks for the feedback. Even though that is not the answer I was hoping for I can understand that support effort would increase and that you have to manage your time.

So my last plead in this regard would be to at least consider to ensure that the node editor stays compatible with new Moi3d versions and to continue offering scripting capabilities for new features. Then people who want to spend the effort can work with what is there and rely on it staying functional without overboarding support effort.
  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:  NaN
11061.14 In reply to 11061.11 
^^Yes, I used the node editor version from James with the recent version of MoI V4. I can retry with the V5 beta when at home again.

Edit: I just installed the Moi3D V5 beta (this time on a M2 Mac instead of a Windows machine) and am getting exactly the same error message when clicking on "Macro".
I placed the uncompressed node editor under "Moi v5 beta Apr-13-2023.app/Resources/ui" and added this start script to the shortcuts: moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

EDITED: 17 Apr 2023 by NAN

  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
11061.15 In reply to 11061.14 
Hi NaN, re: Macro error message - looking at the error it kind of looks like the macro code is assuming that the node editor is installed in the appdata folder instead of in the ui folder.

On Mac the appdata folder is at "~/Library/Application Support/Moi", note that the Library folder is hidden by default, you can show it by holding down Shift+Cmd+. (period), or from the menu use Go > Go to Folder

On Windows open the Start menu and type %AppData%\Moi and push Enter, which will expand to something like C:\Users\<Your user name>l\AppData\Roaming\Moi

It's actually generally better to install stuff in the appdata folder since it's a centralized location outside of any one version's app bundle, so new versions will find things there without needing to copy files into each new version's individual .app bundle.

So put it in a folder like: ~/Library/Application Support/Moi/nodeeditor , and then for the launching script on a shortcut key you'll need to have moi://appdata at the start of the URL like this:

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

If that solves it let me know, I'll update the wiki. Probably the wiki install information is from Moi version 3 which was before there was appdata folder support.

- Michael

EDITED: 17 Apr 2023 by MICHAEL GIBSON

  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:  NaN
11061.16 In reply to 11061.15 
Yay, thanks, that works!
  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
11061.17 
AFAIK, nodeeditor does not have any Group related nodes?

- 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:  NaN
11061.18 In reply to 11061.17 
I have been experimenting with "macro" as group. Seems to do the job!
Edit: Oh, you probably mean selecting existing geometry and grouping it via nodes, not grouping nodes? Hm, no idea in that case. (Still only scratching on the surface)
  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:  wayne hill (WAYNEHILL5202)
11061.19 In reply to 11061.18 
Hi NaN,

Not quite clear on node groupings, but holding down the shift key while selecting nodes will group them to drag around the screen and select menu options.

Wayne
  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:  c3g (LONG)
11061.20 In reply to 11061.13 
There is no case for Nodeeditor, I am very interested in Nodeeditor modeling
  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
11061.21 In reply to 11061.20 
Hi c3g, there is some information on the node editor here: https://moi3d.com/wiki/nodeeditor

- 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:  svenster
11061.22 In reply to 11061.15 
Hi Forum. On Ubuntu using Wine following these directions I'm unable to relocate node editor to "/home/sven/.wine/drive_c/users/sven/AppData/Roaming/Moi" (assuming "I" in original post is a mistake). It does work in "/home/sven/.wine/drive_c/Program Files/MoI 5.0 beta Dec-1-2023/ui". Can sombody confirm this should work as posted ?

Sven
  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
11061.23 In reply to 11061.22 
Hi Sven, if you put it in "/home/sven/.wine/drive_c/users/sven/AppData/Roaming/Moi then to launch it you would need this in your shortcut key:

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

If you put it inside /home/sven/.wine/drive_c/Program Files/MoI 5.0 beta Dec-1-2023/ui then the script to launch it is slightly different the URL starts with moi://ui instead of moi://appdata like this:

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

- 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:  svenster
11061.24 In reply to 11061.23 
Hi Michael. Confirming your paths and copying & pasting your scripts from your reply it still works via the ui directory, but NOT the appdata directory.

Sven
  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
11061.25 In reply to 11061.24 
Hi Sven can you please post the node editor .zip you're using and maybe show a screenshot of where it is installed in appdata?

Thanks, - 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:  svenster
11061.26 In reply to 11061.25 
Image Attachments:
Size: 143.3 KB, Downloaded: 122 times, Dimensions: 1920x1200px
  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
11061.27 In reply to 11061.26 
Hi Sven, ok so it's because when you're running on Linux/Wine the appdata folder for MoI is at ~/.moi instead. Does it work if you put it there?

- 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
 From:  svenster
11061.28 In reply to 11061.27 
Yes Michael. That does the trick, thanks for the clarification.

Sven
  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-28