User Tools

Site Tools


02_user_tutorials:13_rgg:02_rgg-code-structure

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
02_user_tutorials:13_rgg:02_rgg-code-structure [2025/12/12 13:21] – [Queries] groimp02_user_tutorials:13_rgg:02_rgg-code-structure [2026/03/12 10:23] (current) – [XL Blocks - Rules] tim2
Line 165: Line 165:
  
 The concept of an replacement rule in XL follows the 'Lindenmayer-form' where basically all parts of the project string that are similar to the left part (before ''%%==>%%'') are replaced by the right part ( behind ''%%==>%%'').  The concept of an replacement rule in XL follows the 'Lindenmayer-form' where basically all parts of the project string that are similar to the left part (before ''%%==>%%'') are replaced by the right part ( behind ''%%==>%%''). 
-The left part can thereby be any [[tutorials:common_graph_queries|xl-query]].+The left part can thereby be any [[02_user_tutorials:15_rules:01_xl-queries-and-operators|xl-query]].
 The right part (the production) is a collection of Nodes ( instances of either turtle commands, 3d objects or modules) which are linked by different edges. In the example below only successor- and branch-edges are used. A node that is separated to its predecessor by only a white space is added as a sucessor to the predecessor. A Node or a set of nodes framed by square brackets in that is added to the predecessor with a branch-edge.  The right part (the production) is a collection of Nodes ( instances of either turtle commands, 3d objects or modules) which are linked by different edges. In the example below only successor- and branch-edges are used. A node that is separated to its predecessor by only a white space is added as a sucessor to the predecessor. A Node or a set of nodes framed by square brackets in that is added to the predecessor with a branch-edge. 
  
02_user_tutorials/13_rgg/02_rgg-code-structure.txt · Last modified: 2026/03/12 10:23 by tim2