Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differences between ScriptNode 1 and ScriptNodeLite #1903

Closed
zeffii opened this issue Dec 5, 2017 · 2 comments
Closed

Differences between ScriptNode 1 and ScriptNodeLite #1903

zeffii opened this issue Dec 5, 2017 · 2 comments

Comments

@zeffii
Copy link
Collaborator

zeffii commented Dec 5, 2017

placeholder

@zeffii
Copy link
Collaborator Author

zeffii commented Dec 5, 2017

2014 : ScriptNode was the first Sverchok Node to load its algorithms from a python/textfile (located in bpy.data.texts) usually. The py file declared the socket names, and how to process the incoming data.

2016 : ScriptNode Lite was born out of my own frustration with the verbosity of ScriptNode socket syntax, and other more abstract improvements. It has shorter "boilerplate".

ScriptNodeLite currently lives the main Generators menu.

@zeffii zeffii closed this as completed Dec 5, 2017
@zeffii
Copy link
Collaborator Author

zeffii commented Dec 7, 2017

if you never used ScriptNode MK1 much then it's safe to completely ignore it. Also if you are interested in the source of ScriptNode MK1 I think you'll want to avoid reading that entirely - as it has been thoroughly superseded by SNLite.

If you found a script designed for SN MK1 then it can always be converted into a SNLite script without much effort. Easy to identify SN MK1 scripts by their use of sv_main(...args) as the main work function.

I don't know how much benefit you'll get from reading the SNLite development thread, though I do imagine some insight may be found there. It discusses the evolution of the node, and contains several working examples of the more "niche" applications of SNLite, but also shows a few mundane examples.

thread: #942
docs are in the thread too. but can be found in the documentation in generators/snlite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant