[WebDialog]Behind nset Sketchup API
-
I hope some people find the nset version of Alex's cheat sheet useful but really the main purpose was to demonstrate an alternative method of working that energerises names with computer code. Linked together in sets they provide machine-like support. Specific data is simply clicked into focus rather than the reader having to look through pages.
Of course there is more to this kind of device; this topic is for discussing that.
After making the prototype Jim and I decided the code needed a core of universal application and specific device code that required only input of names, number of sliders and other simple configuration variables. This provides a kind of operating system to move the words and offer them for selection. The real clever bits are provided by device developers who know what they want to do with selections. Names of some API related devices are suggested in the righthand slider; here are some ideas about one or two of them.
We have made protoptypes of Jim's Ruby Web Console and Lists (a device for developers to check selections in nsets in json).
I think Jim has converted the data for the extensions register so a device could be easily developed from that both as an associative index for plugins and their authors and a console type device for reports, links and input. An assembly device might support building webdialogs from code snippets ...
But there are still some things outstanding with the main device and more to come no doubt from SCF rigorous testing and commentary. The main one for me is splitting methods into alphabetical blocks but if you have any other suggestions (better still solutions) please put them forward here.
Edit:
Nov 17 - added picture of API device
and the link to plug in post -
Well done, Chris (and Jim)! This is a very nice in-SketchUp Ruby reference.
Cheers, Alex
-
This is an image of the core application running as both a plugin to sketchup, and as a stand-alone application in Chrome (work-in-progress.)
-
That does the *Items do?
(I got an old Mac Mini at home - I can see if I can fire it up. Not sure if I get time today though.)
-
Would be nice if you could type keys on the keyboard to have the list skip to the first entry of that key . for the last used row. And scrollwheel support.
-
- Nothing
They are place-holders/suggestions for features/actions/devices.
Right now the only device is the animated sliders. You can imagine a device being any sort of thing really. data entry devices, image displays, links.
-
Right, so other devices could register their own action?
-
on a mac:
.
from what i gather, safari makes this type of stuff unnecessarily difficult to achieve (though it is possible)
-
-
Jim has got the device working in a couple of browsers. He asked me to post these images on his behalf to see if anyone else is interested in this aspect - I am more interested in finalising the machine that runs this or other such devices from the desktop.
Advertisement