Index Algorithmic SketchesCAD/3DComputer GeometryDraw by ScriptingGeneral ToolsGraphOtherVisualisation +

graphical relationship script sequencer on Sketchup

First attempt to intergrate the relationship graph into sketchup.
The graph seqences the related script container based on its connections. Different modes of evaluation is implemented so only part of the graph is evaluated if something changed. Sending in commands is quite straight forward, just need to eval the sequenced script through javascript-ruby-sketchup.
Ideally I would like to have a callback if any of the referenced sketchup entities changed in the model space, that will then allow me to re-evaluate the containers that depend on this node. That would mean obersevers in sketchup API term. However, from what I tried and read in various forums, not all oberservers gives the desired results. So after some testing I arrived at something that works in the model space. How it works in components and groups is yet to be tested.

April 2011