Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

labs:explicithistory:shiftexample [2015/09/14] (current)
Line 1: Line 1:
 +====== Explicit History Shift Example ======
 +
 +| {{:​legacy:​en:​ExplicitHistoryBanner.png}} |  //​**Explicit History Plugin Wiki Pages**// |
 +|  [[http://​www.mcneel.com|//​Robert McNeel & Associates//​]] |
 +
 +----
 +
 +> **Summary:​** //A case-study of the Shift component//
 +
 +\\
 +
 +[[http://​wiki.mcneel.com/​_media/​legacy/​en/​Shift.wrm|Download]] the definition file //(made with version 0.2.0012)// .
 +
 +----
 +\\
 +
 +All data in Explicit History is stored in lists. Sometimes you need to perform an action on each item in a list which depends on neighbouring items. For example, if you want to connect each point in a list of points with the next one, you need to somehow get at that second point. There are several ways available of doing this, but Shift is an exceptionally useful one. Shift will move all the values in a list a number of indices to the left or right.
 +
 +\\
 +
 +This example connects two sets of points while the second set is subject to a user-controlled Shift.
 +
 +
 +----
 +\\
 +
 +{{:​legacy:​en:​ExpHis_ShiftExampleDefinition.png}}
 +
  
labs/explicithistory/shiftexample.txt ยท Last modified: 2015/09/14 (external edit)