Nodeeditor extensions

Next
 From:  Karsten (KMRQUS)
8628.1 
Hello,

I want to post a cleaned up version of the nodeeditor extensions. I have changed some positions inside the menues and erased some obsolete files and nodes.
That causes that old node files prior created won't work with this version. To fix that you can open the node file with an editor and replace the old node references with the new ones ( find and replace). An overview of this references is given by the Deviations.xls file. Or you can use "sed". For the windows user I've made a simple batch file. First check if the path in the batch file points to the correct installation of sed. Place replaceNodes.bat in the folder where your node file is. Open cmd, go to the directory (cd command) and type:
>updateNodes.bat "what ever the name is.nod"<.
The "" is only necessary when there are Spaces in your file name. Best way type updateNodes.bat - Space - first letters of the file name and then the TAB-Key of the keyboard - then windows will complete the filename correctly.
It is also possible to do it inside the nodeeditor, but delete and place new node - including rewire - isn't a good idea - or what do you think Al, James, ...? ;-)

I think Mac user can get also sed. The linux users should have sed already. You can rename the replaceNodes.bat to replaceNodes.sh and make it executable. Cnange>c:\"Program Files (x86)"\GnuWin32\bin\sed.exe to sed. Maybe there are some ' ' necessary for the parameters s/BasicExt\/PointExt/Points2\/PointExt/g will get to 's/BasicExt\/PointExt/Points2\/PointExt/g'. I didn't tested it already.

link to sed:
http://gnuwin32.sourceforge.net/packages/sed.htm

Maybe there are some other tools that can do the job. As mentioned a simple editor with a replace function.

Have a nice day
Karsten

  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)
8628.2 In reply to 8628.1 
Hi Karsten,

Thanks for doing this.

Your new menus almost mirror exactly my removed Node folder attached to post:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8197.9
The biggest difference was my inclusion of Basic2 grouping of Camera, Watch, Hide Edges & Point (renamed sPoint to distinguish from the original)

I should probably have stuck to my guns, but I got spooked when I realised that it wouldn't be backward compatible. However you seem to have largely resolve this with sed; at least for windows users.

It's late here, so I will look into sed tomorrow (I'm a mac user)

Anyway, I hope your new scheme is widely adopted, because the old menus are a complete mess.

Good Night
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)
8628.3 In reply to 8628.2 
  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:  mkdm
8628.4 In reply to 8628.1 
Hi Karsten.

@You ; "...I want to post a cleaned up version of the nodeeditor extensions..."

Thanks a lot. Much appreciated!!

I just downloaded it and applied the text replace (I did it with Notepad++)

All works like a charm!

Thanks again for doing this "cleanup".

You know how much I value this kind of things :)

Have a nice day.

Marco (mkdm)
  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)
8628.5 
Hello Marco,

thanks for your Feedback.

Are there any others made experiences with converting old node files to get compatibility?
Or better Tools?

Have a nice day
Karsten
  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:  mkdm
8628.6 In reply to 8628.5 
Hi Karsten.

You're welcome.

It's always a pleasure for me to help other developers at the debugging stage.

@You : "...Are there any others made experiences with converting old node files to get compatibility?
Or better Tools?.."

OK. ASAP I will do another test with different .nod files to see if all works fine or not.

As soon as it's done I will post a recap.

We'll catch up.

Ciao.

- Marco (mkdm)
  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:  Mike (MGG942)
8628.7 In reply to 8628.1 
Ah - cleaning up. A pain but necessary, every so often.
Thanks for making so easy.
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
 

Reply to All Reply to All