Ignore:
Timestamp:
12/15/14 03:57:03 (10 years ago)
Author:
sz
Message:

Generated from Framsticks source 4.0rc11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/FramclipsePlugin/src/main/resources/framscript.xml

    r193 r266  
    3030                <element name="info" type="string"/>
    3131                <element name="name" type="string"/>
    32                 <element name="neurons" type="integer" min="0" max="1"/>
    33                 <element name="smooth" type="integer" min="0" max="1"/>
     32                <element name="neurons" type="integer" min="0" max="1" default="1"/>
     33                <element name="smooth" type="integer" min="0" max="1" default="1"/>
    3434                <element name="style" type="string"/>
    35                 <element name="tex" type="integer" min="0" max="2"/>
     35                <element name="tex" type="integer" min="0" max="2" default="1"/>
    3636                <element name="rebuild" function="true"/>
    3737                <element name="streload" function="true"/>
    3838        </type>
    3939        <type name="show" context="show file">
    40 <description><![CDATA[Show properties for the Framsticks Theater (from the *.show file).]]></description>
     40<description><![CDATA[Properties of a show for the Framsticks Theater (from the *.show file).]]></description>
    4141                <element name="code" type="string"/>
    4242                <element name="dispinfo" type="integer" min="0" max="2"/>
     43                <element name="excludeshows" type="string">
     44                        <description><![CDATA[names of shows excluded from the show menu. Use * as a wildcard.]]></description>
     45                </element>
    4346                <element name="expdef" type="string"/>
     47                <element name="includeshows" type="string">
     48                        <description><![CDATA[names of shows included in the show menu. Use * as a wildcard.]]></description>
     49                </element>
    4450                <element name="info" type="string"/>
    4551                <element name="mode" type="integer" min="0" max="2"/>
     
    205211                <element name="boundingBoxCollisions" function="true" type="integer">
    206212                        <description><![CDATA[Checks approximate collisions for the selected creature.
    207 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0).]]></description>
     213Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ).
     214Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.]]></description>
    208215                        <arguments>
    209216                                <argument name="mask" type="integer"/>
     
    461468<arguments/></element>
    462469                <element name="flush" function="true" type="void">
    463                         <description><![CDATA[useful for unbuffered disk files only (openDirect, appendDirect)]]></description>
     470                        <description><![CDATA[Useful for unbuffered disk files only (openDirect, appendDirect)]]></description>
    464471<arguments/></element>
     472                <element name="getContents" function="true" type="string">
     473                        <description><![CDATA[Shortcut to: var f=File.open(filename); c=f.readUntilEOF(); f.close(); return c;]]></description>
     474                        <arguments>
     475                                <argument name="filename" type="string"/>
     476                        </arguments>
     477                </element>
    465478                <element name="new" function="true" type="File "><arguments/></element>
    466479                <element name="newFromString" function="true" type="File ">
     
    542555        </type>
    543556        <type name="GenePool" context="Global context">
    544 <description><![CDATA[GenePool objects are accessed by GenePools[index], or Genotype..genepool and created by GenePools.addGroup(). Usage of the static GenePool object is no longer recommended. See also: GenePools]]></description>
     557<description><![CDATA[GenePool objects are accessed by GenePools[index], or Genotype.genepool and created by GenePools.addGroup(). Usage of the static GenePool object is no longer recommended. See also: GenePools]]></description>
    545558                <element name="fitfun" type="integer" min="0" max="1" default="0">
    546559                        <description><![CDATA[Enables fitness scaling.]]></description>
     
    558571                </element>
    559572                <element name="index" type="integer"/>
     573                <element name="iterator" type="Object"/>
    560574                <element name="name" type="string"/>
    561575                <element name="size" type="integer">
     
    580594                        </arguments>
    581595                </element>
     596                <element name="best" function="true" type="Genotype">
     597                        <description><![CDATA[Returns the genotype object having the highest fitness. Unrated genotypes (instances==0) are ranked lower than those having at least one instance.]]></description>
     598<arguments/></element>
    582599                <element name="clear" function="true" type="void">
    583600                        <description><![CDATA[Delete all genotypes. GenePools[group].clear() is equivalent to GenePools.clearGroup(group)]]></description>
     
    604621                </element>
    605622                <element name="deleteOne" function="true" type="void">
    606                         <description><![CDATA[Deletes one individual = decreases 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description>
     623                        <description><![CDATA[Deletes one individual, i.e. decreases its 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description>
    607624                        <arguments>
    608625                                <argument name="genotype object or index" type="untyped"/>
     
    634651                        </arguments>
    635652                </element>
     653                <element name="getStatsAvg" function="true" type="float">
     654                        <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description>
     655                        <arguments>
     656                                <argument name="field name" type="string"/>
     657                        </arguments>
     658                </element>
     659                <element name="getStatsMax" function="true" type="float">
     660                        <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description>
     661                        <arguments>
     662                                <argument name="field name" type="string"/>
     663                        </arguments>
     664                </element>
     665                <element name="getStatsMin" function="true" type="float">
     666                        <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description>
     667                        <arguments>
     668                                <argument name="field name" type="string"/>
     669                        </arguments>
     670                </element>
    636671                <element name="mergeInstances" function="true" type="void">
    637672                        <description><![CDATA[Merge instances of the same genotype]]></description>
    638673<arguments/></element>
    639674                <element name="random" function="true" type="Genotype">
    640                         <description><![CDATA[Gets random genotype object]]></description>
     675                        <description><![CDATA[Returns a random genotype object]]></description>
    641676<arguments/></element>
    642677                <element name="randomLikeGeno" function="true" type="Genotype">
    643                         <description><![CDATA[Gets a random genotype index similar to the selected one.]]></description>
     678                        <description><![CDATA[Returns a random genotype index similar to the target genotype.]]></description>
    644679                        <arguments>
    645680                                <argument name="minimum similarity" type="float"/>
     
    648683                </element>
    649684                <element name="revroulette" function="true" type="Genotype">
    650                         <description><![CDATA[Get reverse fitness-proportional genotype object]]></description>
     685                        <description><![CDATA[Returns a reverse fitness-proportional genotype object]]></description>
    651686<arguments/></element>
    652687                <element name="roulette" function="true" type="Genotype">
    653                         <description><![CDATA[Gets fitness-proportional genotype object]]></description>
     688                        <description><![CDATA[Returns a fitness-proportional genotype object]]></description>
    654689<arguments/></element>
    655690                <element name="rouletteLikeGeno" function="true" type="Genotype">
    656                         <description><![CDATA[Gets a random genotype similar to the selected one, fitness-proportional.]]></description>
     691                        <description><![CDATA[Returns a random genotype similar to the target genotype, fitness-proportional.]]></description>
    657692                        <arguments>
    658693                                <argument name="minimum similarity" type="float"/>
     
    664699<arguments/></element>
    665700                <element name="tournament" function="true" type="Genotype">
    666                         <description><![CDATA[Gets tournament winner genotype object]]></description>
     701                        <description><![CDATA[Returns a tournament winner genotype object]]></description>
    667702                        <arguments>
    668703                                <argument name="genotypes in tournament" type="integer"/>
     
    670705                </element>
    671706                <element name="worst" function="true" type="Genotype">
    672                         <description><![CDATA[Gets genotype object having lowest fitness]]></description>
     707                        <description><![CDATA[Returns the genotype object having the lowest fitness. Unrated genotypes (instances==0) are ranked lower than those having at least one instance.]]></description>
    673708<arguments/></element>
    674709        </type>
     
    693728                        <description><![CDATA[Index of the currently selected group (GenePool).]]></description>
    694729                </element>
     730                <element name="iterator" type="Object"/>
    695731                <element name="size" type="integer"/>
    696                 <element name="addGroup" function="true" type="void">
     732                <element name="addGroup" function="true" type="GenePool">
    697733                        <description><![CDATA[Adds a new gene pool.]]></description>
    698734                        <arguments>
     
    9821018                        <description><![CDATA[mutation: probability of changing a node]]></description>
    9831019                </element>
     1020                <element name="f9_mut" type="float" min="0" max="1" default="0.1">
     1021                        <description><![CDATA[How many genes should be mutated during single mutation (1=all genes, 0.1=ten percent)]]></description>
     1022                </element>
     1023                <element name="fF_xover" type="float" min="0" max="0.5" default="0.5">
     1024                        <description><![CDATA[0.5 => children are averaged parents.
     10250.2 => children are only 20% different from parents.
     10260 => each child is identical to one parent (no crossover).]]></description>
     1027                </element>
    9841028                <element name="gen_extmutinfo" type="integer" min="0" max="2" default="0">
    9851029                        <description><![CDATA[If active, information about employed mutation method will be stored in the 'info' field of each mutated genotype.]]></description>
     
    10051049                </element>
    10061050                <element name="genoper_f4" type="integer" min="0" max="0">
     1051                        <description><![CDATA[]]></description>
     1052                </element>
     1053                <element name="genoper_f9" type="integer" min="0" max="0">
     1054                        <description><![CDATA[]]></description>
     1055                </element>
     1056                <element name="genoper_fF" type="integer" min="0" max="0">
    10071057                        <description><![CDATA[]]></description>
    10081058                </element>
     
    12531303   time (t) float 0..6.28319]]></description>
    12541304                </element>
    1255                 <element name="neuadd_Mzm" type="integer" min="0" max="1">
    1256                         <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile.
    1257 
    1258 Characteristics:
    1259    does not use inputs
    1260    provides output value
    1261    does not require location in body
    1262 ]]></description>
    1263                 </element>
    1264                 <element name="neuadd_OThr" type="integer" min="0" max="1">
    1265                         <description><![CDATA[Characteristics:
    1266    uses single input
    1267    does not provide output value
    1268    should be located on a Joint
    1269 ]]></description>
    1270                 </element>
    1271                 <element name="neuadd_SeeLight" type="integer" min="0" max="1">
    1272                         <description><![CDATA[Characteristics:
    1273    does not use inputs
    1274    provides output value
    1275    should be located on a Part
    1276 
    1277 
    1278 Properties:
    1279     (flavor) float 0..4]]></description>
    1280                 </element>
    1281                 <element name="neuadd_Linb" type="integer" min="0" max="1">
    1282                         <description><![CDATA[output=input(bez sumowania)
    1283 
    1284 Characteristics:
    1285    supports any number of inputs
    1286    provides output value
    1287    does not require location in body
    1288 ]]></description>
    1289                 </element>
    1290                 <element name="neuadd_Delay" type="integer" min="0" max="1">
    1291                         <description><![CDATA[Characteristics:
    1292    supports any number of inputs
    1293    provides output value
    1294    does not require location in body
    1295 
    1296 
    1297 Properties:
    1298    delay time (in steps) (t) integer 1..1000]]></description>
    1299                 </element>
    1300                 <element name="neuadd_ntest" type="integer" min="0" max="1">
    1301                         <description><![CDATA[Characteristics:
    1302    uses single input
    1303    provides output value
    1304    should be located on a Joint
    1305 ]]></description>
    1306                 </element>
    1307                 <element name="neuadd_WarnLR" type="integer" min="0" max="1">
    1308                         <description><![CDATA[Characteristics:
    1309    does not use inputs
    1310    provides output value
    1311    does not require location in body
    1312 
    1313 
    1314 Properties:
    1315    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    1316                 </element>
    1317                 <element name="neuadd_SeeLight2" type="integer" min="0" max="1">
    1318                         <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter).
    1319 
    1320 Characteristics:
    1321    does not use inputs
    1322    provides output value
    1323    should be located on a Part
    1324 
    1325 
    1326 Properties:
    1327     (range) float 0..100]]></description>
    1328                 </element>
    1329                 <element name="neuadd_FeelInjury" type="integer" min="0" max="1">
    1330                         <description><![CDATA[Characteristics:
    1331    supports any number of inputs
    1332    does not provide output value
    1333    does not require location in body
    1334 ]]></description>
    1335                 </element>
    1336                 <element name="neuadd_PIDV" type="integer" min="0" max="1">
    1337                         <description><![CDATA[PID Regulator (velocity/incremental form)
    1338 
    1339 Characteristics:
    1340    uses single input
    1341    provides output value
    1342    does not require location in body
    1343 
    1344 
    1345 Properties:
    1346    K (k) float 0.01..100
    1347    Ti (ti) float 0.01..100
    1348    Td (td) float 0.01..100]]></description>
    1349                 </element>
    1350                 <element name="neuadd_Lin" type="integer" min="0" max="1">
    1351                         <description><![CDATA[output=input
    1352 
    1353 Characteristics:
    1354    supports any number of inputs
    1355    provides output value
    1356    does not require location in body
    1357 ]]></description>
    1358                 </element>
    1359                 <element name="neuadd_WarnDD" type="integer" min="0" max="1">
    1360                         <description><![CDATA[Characteristics:
    1361    does not use inputs
    1362    provides output value
    1363    does not require location in body
    1364 
    1365 
    1366 Properties:
    1367    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    1368                 </element>
    1369                 <element name="neuadd_Sf" type="integer" min="0" max="1">
    1370                         <description><![CDATA[Detects only food, not other creatures
    1371 (in experiments with food in group #1)
    1372 
    1373 Characteristics:
    1374    does not use inputs
    1375    provides output value
    1376    should be located on a Part
    1377 ]]></description>
    1378                 </element>
    1379                 <element name="neuadd_Nn" type="integer" min="0" max="1">
    1380                         <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value
    1381 
    1382 Characteristics:
    1383    supports any number of inputs
    1384    provides output value
    1385    does not require location in body
    1386 
    1387 
    1388 Properties:
    1389    Error rate (e) float 0..0.1]]></description>
    1390                 </element>
    1391                 <element name="neuadd_Rdr" type="integer" min="0" max="1">
    1392                         <description><![CDATA[Characteristics:
    1393    uses single input
    1394    does not provide output value
    1395    does not require location in body
    1396 
    1397 
    1398 Properties:
    1399     ()]]></description>
    1400                 </element>
    1401                 <element name="neuadd_WarnDist" type="integer" min="0" max="1">
    1402                         <description><![CDATA[Characteristics:
    1403    does not use inputs
    1404    provides output value
    1405    does not require location in body
    1406 
    1407 
    1408 Properties:
    1409    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    1410                 </element>
    1411                 <element name="neuadd_Cmp" type="integer" min="0" max="1">
    1412                         <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*.
    1413 
    1414 Characteristics:
    1415    does not use inputs
    1416    provides output value
    1417    should be located on a Part
    1418 ]]></description>
    1419                 </element>
    1420                 <element name="neuadd_Light" type="integer" min="0" max="1">
    1421                         <description><![CDATA[Characteristics:
    1422    supports any number of inputs
    1423    does not provide output value
    1424    should be located on a Part
    1425 
    1426 
    1427 Properties:
    1428     (flavor) float 0..4]]></description>
    1429                 </element>
    1430                 <element name="neuadd_Thr" type="integer" min="0" max="1">
    1431                         <description><![CDATA[if (input>=t) then output=hi else output=lo
    1432 
    1433 Characteristics:
    1434    supports any number of inputs
    1435    provides output value
    1436    does not require location in body
    1437 
    1438 
    1439 Properties:
    1440    threshold (t) float
    1441    low output value (lo) float
    1442    high output value (hi) float]]></description>
    1443                 </element>
    1444                 <element name="neuadd_PIDP" type="integer" min="0" max="1">
    1445                         <description><![CDATA[PID Regulator (positional/full value form)
    1446 
    1447 Characteristics:
    1448    uses single input
    1449    provides output value
    1450    does not require location in body
    1451 
    1452 
    1453 Properties:
    1454    K (k) float 0.01..100
    1455    Ti (ti) float 0.01..100
    1456    Td (td) float 0.01..100]]></description>
    1457                 </element>
    1458                 <element name="neuadd_ptest" type="integer" min="0" max="1">
    1459                         <description><![CDATA[different parameter datatypes
    1460 
    1461 Characteristics:
    1462    uses single input
    1463    provides output value
    1464    does not require location in body
    1465 
    1466 
    1467 Properties:
    1468    first integer (i1) integer
    1469    first float (f1) float
    1470    first string (s1) string
    1471    second integer (i2) integer
    1472    second float (f2) float
    1473    second string (s2) string]]></description>
    1474                 </element>
    1475                 <element name="neuadd_FF" type="integer" min="0" max="1">
    1476                         <description><![CDATA[Characteristics:
    1477    supports any number of inputs
    1478    does not provide output value
    1479    should be located on a Part
    1480 ]]></description>
    1481                 </element>
    14821305                <element name="add" function="true"/>
    14831306                <element name="addGroup" function="true"/>
     
    15841407                        <description><![CDATA[Genotype, excluding the format specifier]]></description>
    15851408                </element>
     1409                <element name="toVector" type="Vector"/>
    15861410                <element name="getConverted" function="true" type="Geno">
    15871411                        <arguments>
     
    16011425                        <arguments>
    16021426                                <argument name="genotype" type="string"/>
     1427                        </arguments>
     1428                </element>
     1429                <element name="newFromVector" function="true" type="Geno">
     1430                        <arguments>
     1431                                <argument type="Vector"/>
    16031432                        </arguments>
    16041433                </element>
     
    16911520                </element>
    16921521                <element name="mutate" function="true" type="void"><arguments/></element>
    1693                 <element name="newFromCreature" function="true">
     1522                <element name="newFromCreature" function="true" type="Genotype">
    16941523                        <arguments>
    16951524                                <argument name="creature" type="Creature"/>
    16961525                        </arguments>
    16971526                </element>
    1698                 <element name="newFromGeno" function="true">
     1527                <element name="newFromGeno" function="true" type="Genotype">
    16991528                        <arguments>
    17001529                                <argument name="geno" type="Geno"/>
    17011530                        </arguments>
    17021531                </element>
    1703                 <element name="newFromString" function="true">
     1532                <element name="newFromString" function="true" type="Genotype">
    17041533                        <arguments>
    17051534                                <argument name="genotype" type="string"/>
     
    18051634                <element name="ry" type="float"/>
    18061635                <element name="rz" type="float"/>
     1636                <element name="sh" type="integer" min="0" max="1" default="0"/>
    18071637                <element name="stam" type="float" min="0" max="1" default="0.25"/>
    18081638                <element name="stif" type="float" min="0" max="1" default="1.0"/>
     
    20661896                </element>
    20671897        </type>
     1898        <type name="ModelGeometry" context="Global context">
     1899<description><![CDATA[Example usage:
     1900Simulator.print(ModelGeometry.forModel(Model.newFromString("//0\np:sh=1\n")).area());
     1901
     1902ModelGeometry.geom_density refers to the global simulator parameter (also available in GUI).
     1903To set geom_density for individual ModelGeometry objects:
     1904var mg=ModelGeometry.forModel(GenePools[0][0].getModel()); mg.geom_density=2; GenePools[0][0].user1=mg.area();
     1905]]></description>
     1906                <element name="geom_density" type="float" min="0.01" max="100" default="1.0">
     1907                        <description><![CDATA[Affects the geometry calculation precision]]></description>
     1908                </element>
     1909                <element name="area" function="true" type="float"><arguments/></element>
     1910                <element name="forModel" function="true" type="ModelGeometry">
     1911                        <description><![CDATA[The returned ModelGeometry object can be used to calculate geometric properties (volume, area, sizes) of the associated model. The density is copied from the current global ModelGeometry.geom_density on object creation.]]></description>
     1912                        <arguments>
     1913                                <argument type="Model"/>
     1914                        </arguments>
     1915                </element>
     1916                <element name="sizesAndAxes" function="true" type="Vector">
     1917                        <description><![CDATA[The returned vector contains XYZ (sizes) and Orient (axes) objects.]]></description>
     1918<arguments/></element>
     1919                <element name="volume" function="true" type="float"><arguments/></element>
     1920        </type>
    20681921        <type name="Neuro" context="Global context">
    20691922<description><![CDATA[Live Neuron object.]]></description>
     
    22342087                        </arguments>
    22352088                </element>
    2236                 <element name="getClass" function="true">
     2089                <element name="getClass" function="true" type="NeuroClass">
    22372090                        <arguments>
    22382091                                <argument name="class name" type="string"/>
     
    25112364   time (t) float 0..6.28319]]></description>
    25122365                </element>
    2513                 <element name="ncl_Mzm" type="integer" min="0" max="1">
    2514                         <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile.
    2515 
    2516 Characteristics:
    2517    does not use inputs
    2518    provides output value
    2519    does not require location in body
    2520 ]]></description>
    2521                 </element>
    2522                 <element name="ncl_OThr" type="integer" min="0" max="1">
    2523                         <description><![CDATA[Characteristics:
    2524    uses single input
    2525    does not provide output value
    2526    should be located on a Joint
    2527 ]]></description>
    2528                 </element>
    2529                 <element name="ncl_SeeLight" type="integer" min="0" max="1">
    2530                         <description><![CDATA[Characteristics:
    2531    does not use inputs
    2532    provides output value
    2533    should be located on a Part
    2534 
    2535 
    2536 Properties:
    2537     (flavor) float 0..4]]></description>
    2538                 </element>
    2539                 <element name="ncl_Linb" type="integer" min="0" max="1">
    2540                         <description><![CDATA[output=input(bez sumowania)
    2541 
    2542 Characteristics:
    2543    supports any number of inputs
    2544    provides output value
    2545    does not require location in body
    2546 ]]></description>
    2547                 </element>
    2548                 <element name="ncl_Delay" type="integer" min="0" max="1">
    2549                         <description><![CDATA[Characteristics:
    2550    supports any number of inputs
    2551    provides output value
    2552    does not require location in body
    2553 
    2554 
    2555 Properties:
    2556    delay time (in steps) (t) integer 1..1000]]></description>
    2557                 </element>
    2558                 <element name="ncl_ntest" type="integer" min="0" max="1">
    2559                         <description><![CDATA[Characteristics:
    2560    uses single input
    2561    provides output value
    2562    should be located on a Joint
    2563 ]]></description>
    2564                 </element>
    2565                 <element name="ncl_WarnLR" type="integer" min="0" max="1">
    2566                         <description><![CDATA[Characteristics:
    2567    does not use inputs
    2568    provides output value
    2569    does not require location in body
    2570 
    2571 
    2572 Properties:
    2573    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    2574                 </element>
    2575                 <element name="ncl_SeeLight2" type="integer" min="0" max="1">
    2576                         <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter).
    2577 
    2578 Characteristics:
    2579    does not use inputs
    2580    provides output value
    2581    should be located on a Part
    2582 
    2583 
    2584 Properties:
    2585     (range) float 0..100]]></description>
    2586                 </element>
    2587                 <element name="ncl_FeelInjury" type="integer" min="0" max="1">
    2588                         <description><![CDATA[Characteristics:
    2589    supports any number of inputs
    2590    does not provide output value
    2591    does not require location in body
    2592 ]]></description>
    2593                 </element>
    2594                 <element name="ncl_PIDV" type="integer" min="0" max="1">
    2595                         <description><![CDATA[PID Regulator (velocity/incremental form)
    2596 
    2597 Characteristics:
    2598    uses single input
    2599    provides output value
    2600    does not require location in body
    2601 
    2602 
    2603 Properties:
    2604    K (k) float 0.01..100
    2605    Ti (ti) float 0.01..100
    2606    Td (td) float 0.01..100]]></description>
    2607                 </element>
    2608                 <element name="ncl_Lin" type="integer" min="0" max="1">
    2609                         <description><![CDATA[output=input
    2610 
    2611 Characteristics:
    2612    supports any number of inputs
    2613    provides output value
    2614    does not require location in body
    2615 ]]></description>
    2616                 </element>
    2617                 <element name="ncl_WarnDD" type="integer" min="0" max="1">
    2618                         <description><![CDATA[Characteristics:
    2619    does not use inputs
    2620    provides output value
    2621    does not require location in body
    2622 
    2623 
    2624 Properties:
    2625    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    2626                 </element>
    2627                 <element name="ncl_Sf" type="integer" min="0" max="1">
    2628                         <description><![CDATA[Detects only food, not other creatures
    2629 (in experiments with food in group #1)
    2630 
    2631 Characteristics:
    2632    does not use inputs
    2633    provides output value
    2634    should be located on a Part
    2635 ]]></description>
    2636                 </element>
    2637                 <element name="ncl_Nn" type="integer" min="0" max="1">
    2638                         <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value
    2639 
    2640 Characteristics:
    2641    supports any number of inputs
    2642    provides output value
    2643    does not require location in body
    2644 
    2645 
    2646 Properties:
    2647    Error rate (e) float 0..0.1]]></description>
    2648                 </element>
    2649                 <element name="ncl_Rdr" type="integer" min="0" max="1">
    2650                         <description><![CDATA[Characteristics:
    2651    uses single input
    2652    does not provide output value
    2653    does not require location in body
    2654 
    2655 
    2656 Properties:
    2657     ()]]></description>
    2658                 </element>
    2659                 <element name="ncl_WarnDist" type="integer" min="0" max="1">
    2660                         <description><![CDATA[Characteristics:
    2661    does not use inputs
    2662    provides output value
    2663    does not require location in body
    2664 
    2665 
    2666 Properties:
    2667    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    2668                 </element>
    2669                 <element name="ncl_Cmp" type="integer" min="0" max="1">
    2670                         <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*.
    2671 
    2672 Characteristics:
    2673    does not use inputs
    2674    provides output value
    2675    should be located on a Part
    2676 ]]></description>
    2677                 </element>
    2678                 <element name="ncl_Light" type="integer" min="0" max="1">
    2679                         <description><![CDATA[Characteristics:
    2680    supports any number of inputs
    2681    does not provide output value
    2682    should be located on a Part
    2683 
    2684 
    2685 Properties:
    2686     (flavor) float 0..4]]></description>
    2687                 </element>
    2688                 <element name="ncl_Thr" type="integer" min="0" max="1">
    2689                         <description><![CDATA[if (input>=t) then output=hi else output=lo
    2690 
    2691 Characteristics:
    2692    supports any number of inputs
    2693    provides output value
    2694    does not require location in body
    2695 
    2696 
    2697 Properties:
    2698    threshold (t) float
    2699    low output value (lo) float
    2700    high output value (hi) float]]></description>
    2701                 </element>
    2702                 <element name="ncl_PIDP" type="integer" min="0" max="1">
    2703                         <description><![CDATA[PID Regulator (positional/full value form)
    2704 
    2705 Characteristics:
    2706    uses single input
    2707    provides output value
    2708    does not require location in body
    2709 
    2710 
    2711 Properties:
    2712    K (k) float 0.01..100
    2713    Ti (ti) float 0.01..100
    2714    Td (td) float 0.01..100]]></description>
    2715                 </element>
    2716                 <element name="ncl_ptest" type="integer" min="0" max="1">
    2717                         <description><![CDATA[different parameter datatypes
    2718 
    2719 Characteristics:
    2720    uses single input
    2721    provides output value
    2722    does not require location in body
    2723 
    2724 
    2725 Properties:
    2726    first integer (i1) integer
    2727    first float (f1) float
    2728    first string (s1) string
    2729    second integer (i2) integer
    2730    second float (f2) float
    2731    second string (s2) string]]></description>
    2732                 </element>
    2733                 <element name="ncl_FF" type="integer" min="0" max="1">
    2734                         <description><![CDATA[Characteristics:
    2735    supports any number of inputs
    2736    does not provide output value
    2737    should be located on a Part
    2738 ]]></description>
    2739                 </element>
    27402366        </type>
    27412367        <type name="NeuroSignals" context="Global context">
     
    28572483        <type name="Orient" context="Global context">
    28582484<description><![CDATA[3D orientation, stored as 3x3 matrix.]]></description>
     2485                <element name="angles" type="XYZ"/>
     2486                <element name="toString" type="string"/>
    28592487                <element name="toVector" type="Vector">
    28602488                        <description><![CDATA[for serialization]]></description>
     
    29022530                </element>
    29032531                <element name="clone" function="true" type="Orient"><arguments/></element>
    2904                 <element name="localToWorld" function="true">
     2532                <element name="localToWorld" function="true" type="XYZ">
    29052533                        <arguments>
    29062534                                <argument name="point" type="XYZ"/>
     
    29442572                        </arguments>
    29452573                </element>
    2946                 <element name="worldToLocal" function="true">
     2574                <element name="worldToLocal" function="true" type="XYZ">
    29472575                        <arguments>
    29482576                                <argument name="point" type="XYZ"/>
     
    29552583                <element name="dn" type="float" min="0.2" max="5" default="1.0"/>
    29562584                <element name="fr" type="float" min="0" max="4" default="0.4"/>
     2585                <element name="h" type="float" min="0" max="1" default="0.0"/>
    29572586                <element name="i" type="string"/>
    29582587                <element name="ing" type="float" min="0" max="1" default="0.25"/>
     
    29622591                <element name="rz" type="float"/>
    29632592                <element name="s" type="float" min="0.1" max="10" default="1.0"/>
     2593                <element name="sh" type="integer" min="0" max="3" default="0"/>
     2594                <element name="sx" type="float" min="0.001" max="1000" default="1.0"/>
     2595                <element name="sy" type="float" min="0.001" max="1000" default="1.0"/>
     2596                <element name="sz" type="float" min="0.001" max="1000" default="1.0"/>
    29642597                <element name="vb" type="float" min="0" max="1" default="0.5"/>
    29652598                <element name="vg" type="float" min="0" max="1" default="0.5"/>
     
    30012634                </element>
    30022635                <element name="index" type="integer"/>
     2636                <element name="iterator" type="Object"/>
    30032637                <element name="killnostable" type="integer" min="0" max="10000000" default="1000000">
    30042638                        <description><![CDATA[Creatures that fail to stabilize after the specified waiting period (e.g. because they are continuously rolling) will be killed. 0 disables this feature.]]></description>
     
    30192653                <element name="selfmask" type="integer" min="0" max="2147483647" default="0">
    30202654                        <description><![CDATA[Collisions between objects can be handled in two ways:
    3021  - standard 'mechanical' collision (simple 'rebound' effect)
     2655 - standard 'mechanical' collision handler (simple 'rebound' effect)
    30222656 - special script handler (On[GROUPNAME]Collision function)
    30232657
     
    30262660The handler is called once for each creature that collides with the creature from [GROUPNAME].
    30272661
    3028 Collision masks determine which one will be used (none and both are also possible). On each collision, selfmask and othermask of the colliding objects are logically ANDed. 16 lower bits (0xffff) enable the standard handler. 16 higher bits (0xffff0000) enable the custom handler.
     2662Collision masks that you set determine which handler will be used (none and both are also possible). On each collision, selfmask and othermask of the colliding objects are logically ANDed.
     2663If the resulting non-zero value falls into 16 lower bits (0x0000ffff), the standard handler is enabled.
     2664If the resulting non-zero value falls into 16 higher bits (0xffff0000), the custom handler is enabled.
     2665
    30292666Examples:
    30302667
     
    303726742.Two groups yield more interesting cases. Let us consider the 'standard.expdef' setting:
    30382675  Creatures: selfmask=0x10001, othermask=0x20001
    3039   Food colmask = selfmask=0x20002, othermask=0x10002
     2676  Food: selfmask=0x20002, othermask=0x10002
    30402677There are three possible scenarios:
    30412678- creature and creature: collision value = 0x10001 & 0x20001 = 1 -> Standard handling will be used (1 is one of the lower 16 bits)
    30422679- food and food: collision value = 0x20002 & 0x10002 = 2 -> As above.
    3043 - creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used (higher 16 bits).
     2680- creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used (the result falls into higher 16 bits).
    30442681]]></description>
    30452682                </element>
     
    30512688                        <description><![CDATA[A creature is considered stabilized when its center of gravity stays within the specified distance after the "Sampling period while waiting" has elapsed.]]></description>
    30522689                </element>
     2690                <element name="add" function="true" type="Creature">
     2691                        <arguments>
     2692                                <argument name="genotype object or geno object or string genotype" type="untyped"/>
     2693                        </arguments>
     2694                </element>
    30532695                <element name="clear" function="true" type="void">
    30542696                        <description><![CDATA[Delete all creatures]]></description>
    30552697<arguments/></element>
    3056                 <element name="create" function="true" type="Creature">
    3057                         <arguments>
    3058                                 <argument name="genotype object or geno object or string genotype" type="untyped"/>
    3059                         </arguments>
    3060                 </element>
    30612698                <element name="createFromGeno" function="true" type="Creature" deprecated="true">
    30622699                        <description><![CDATA[Uses the supplied Geno object.
    3063 Deprecated. Use the more universal create() function.]]></description>
     2700Deprecated. Use the more universal add() function.]]></description>
    30642701                        <arguments>
    30652702                                <argument type="Geno"/>
     
    30682705                <element name="createFromGenotype" function="true" type="Creature" deprecated="true">
    30692706                        <description><![CDATA[Uses the selected Genotype object.
    3070 Deprecated. Use the more universal create() function.]]></description>
     2707Deprecated. Use the more universal add() function.]]></description>
    30712708<arguments/></element>
    30722709                <element name="createFromString" function="true" type="Creature" deprecated="true">
    30732710                        <description><![CDATA[Uses the supplied string argument.
    3074 Deprecated. Use the more universal create() function.]]></description>
     2711Deprecated. Use the more universal add() function.]]></description>
    30752712                        <arguments>
    30762713                                <argument name="genotype" type="string"/>
     
    30782715                </element>
    30792716                <element name="delete" function="true" type="void">
    3080                         <description><![CDATA[delete creature]]></description>
     2717                        <description><![CDATA[Delete the creature (remove it without executing the onKill event). Removing creatures inside some event handlers (e.g. onCollision) might be unsafe.]]></description>
    30812718                        <arguments>
    30822719                                <argument name="creature object or index" type="untyped"/>
     
    30992736                        </arguments>
    31002737                </element>
     2738                <element name="getStatsAvg" function="true" type="float">
     2739                        <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description>
     2740                        <arguments>
     2741                                <argument name="field name" type="string"/>
     2742                        </arguments>
     2743                </element>
     2744                <element name="getStatsMax" function="true" type="float">
     2745                        <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description>
     2746                        <arguments>
     2747                                <argument name="field name" type="string"/>
     2748                        </arguments>
     2749                </element>
     2750                <element name="getStatsMin" function="true" type="float">
     2751                        <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description>
     2752                        <arguments>
     2753                                <argument name="field name" type="string"/>
     2754                        </arguments>
     2755                </element>
    31012756                <element name="kill" function="true" type="void">
    3102                         <description><![CDATA[kill creature]]></description>
     2757                        <description><![CDATA[Kill the creature (remove it and execute its onKill handler). Killing creatures inside some event handlers (e.g. onCollision) might be unsafe. The recommended and safe way of killing a creature is by setting its energy to 0.]]></description>
    31032758                        <arguments>
    31042759                                <argument name="creature object or index" type="integer"/>
     
    31292784        <type name="Populations" context="Global context">
    31302785<description><![CDATA[Manages all Creature objects in the experiment, organized in one or more groups.
    3131 Before version 4.0rc4 some operations could only be performed on the "selected" creature (the one pointed to by group/create fields in Populations). Currently, the more convenient and recommended way is to call Creatures's functions that operate directly on the passed objects.
     2786Before version 4.0rc4 some operations could only be performed on the "selected" creature (the one pointed to by group/creature fields in Populations). Currently, the more convenient and recommended way is to call Creatures's functions that operate directly on the passed objects.
    31322787
    31332788// The old way:
     
    31482803Deprecated. Pass creature object to functions needing it, instead of the old "first select, then call" approach.]]></description>
    31492804                </element>
     2805                <element name="iterator" type="Object"/>
    31502806                <element name="size" type="integer"/>
    31512807                <element name="addGroup" function="true" type="Population">
     
    31672823                <element name="creatBBCollisions" function="true" type="integer" deprecated="true">
    31682824                        <description><![CDATA[Checks approximate collisions for the selected creature.
    3169 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0).
     2825Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ).
     2826Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.
     2827
    31702828Deprecated. Use Creature.boundingBoxCollisions()]]></description>
    31712829                        <arguments>
     
    32282886                        <description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description>
    32292887                </element>
    3230                 <element name="newS" function="true">
    3231                         <description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description>
    3232                 </element>
    32332888        </type>
    32342889        <type name="Shapes" context="Global context">
     
    33322987        <type name="sim_params" context="Global context">
    33332988<description><![CDATA[This object groups all simulator parameters so they can be loaded or saved with a single call (see scripts/standard_loadsave.inc). For other purposes please use specific objects, like Simulator, World, Populations, etc.]]></description>
    3334                 <element name="aging" type="integer" min="0" max="100000">
    3335                         <description><![CDATA[Idle metabolism doubles after this period (0 disables aging)]]></description>
    3336                 </element>
    33372989                <element name="autosaveperiod" type="integer" min="0" max="100000">
    33382990                        <description><![CDATA[Save simulation state once every n-th event
     
    33472999                        <description><![CDATA[Random velocities will be applied to all body Parts (in MechaStick) or rigid segments (in ODE) of newly created creatures.]]></description>
    33483000                </element>
    3349                 <element name="boostphase" type="integer" min="0" max="1" default="1">
    3350                         <description><![CDATA[After stagnation has been detected, switches negative selection to "delete worst", doubles "multiple evaluation" and starts another stagnation detection phase.
    3351 "Delete worst" results in extremely quick convergence and high selection pressure, similarly to "local search" optimization techniques.]]></description>
    3352                 </element>
    3353                 <element name="capacity" type="integer" min="0" max="10000">
    3354                         <description><![CDATA[]]></description>
    3355                 </element>
    33563001                <element name="changedProperty" type="integer"/>
    33573002                <element name="changedPropertyId" type="string"/>
    33583003                <element name="cpus" type="integer"/>
    3359                 <element name="cr_c" type="float" min="-10000" max="10000">
    3360                         <description><![CDATA[Constant value added to total fitness]]></description>
    3361                 </element>
    3362                 <element name="cr_di" type="float" min="-10000" max="10000">
    3363                         <description><![CDATA[Weight of distance in total fitness]]></description>
    3364                 </element>
    3365                 <element name="cr_gl" type="float" min="-10000" max="10000">
    3366                         <description><![CDATA[Weight of body size (number of parts) in total fitness]]></description>
    3367                 </element>
    3368                 <element name="cr_joints" type="float" min="-10000" max="10000">
    3369                         <description><![CDATA[Weight of structure size (number of joints) in total fitness]]></description>
    3370                 </element>
    3371                 <element name="cr_life" type="float" min="-10000" max="10000">
    3372                         <description><![CDATA[Weight of life span in total fitness]]></description>
    3373                 </element>
    3374                 <element name="cr_nncon" type="float" min="-10000" max="10000">
    3375                         <description><![CDATA[Weight of brain connections in total fitness]]></description>
    3376                 </element>
    3377                 <element name="cr_nnsiz" type="float" min="-10000" max="10000">
    3378                         <description><![CDATA[Weight of brain size (number of neurons) in total fitness]]></description>
    3379                 </element>
    3380                 <element name="cr_norm" type="integer" min="0" max="1">
    3381                         <description><![CDATA[Normalize each criterion to 0..1 interval before weighting]]></description>
    3382                 </element>
    3383                 <element name="cr_simi" type="integer" min="0" max="1">
    3384                         <description><![CDATA[If enabled, fitness of each genotype will be reduced by its phenotypic similarity to all other genotypes in the gene pool]]></description>
    3385                 </element>
    3386                 <element name="cr_v" type="float" min="-10000" max="10000">
    3387                         <description><![CDATA[Weight of horizontal velocity in total fitness]]></description>
    3388                 </element>
    3389                 <element name="cr_vpos" type="float" min="-10000" max="10000">
    3390                         <description><![CDATA[Weight of vertical position in total fitness]]></description>
    3391                 </element>
    3392                 <element name="cr_vvel" type="float" min="-10000" max="10000">
    3393                         <description><![CDATA[Weight of vertical velocity in total fitness]]></description>
    3394                 </element>
    33953004                <element name="createrr" type="integer" min="0" max="2" default="1"/>
    3396                 <element name="creath" type="float" min="-1" max="50">
    3397                         <description><![CDATA[Vertical position (above the surface) where newborn creatures are placed.
    3398 Negative values are only used in the water area:
    3399   0   = at the surface
    3400 -0.5 = half depth
    3401 -1   = just above the bottom]]></description>
    3402                 </element>
    3403                 <element name="creaturesgrouploaded" type="integer">
    3404                         <description><![CDATA[]]></description>
    3405                 </element>
    34063005                <element name="creatwarnfail" type="integer" min="0" max="1">
    34073006                        <description><![CDATA[Creatures grown with warnings will not be simulated.]]></description>
    3408                 </element>
    3409                 <element name="delrule" type="integer" min="0" max="2">
    3410                         <description><![CDATA[Negative selection: which genotypes should be removed when we need room for new genotypes in the gene pool]]></description>
    3411                 </element>
    3412                 <element name="e_meta" type="float" min="0" max="1">
    3413                         <description><![CDATA[Each stick consumes this amount of energy in one time step]]></description>
    3414                 </element>
    3415                 <element name="Energy0" type="float" min="0" max="10000">
    3416                         <description><![CDATA[Base starting energy level (for each stick)]]></description>
    3417                 </element>
    3418                 <element name="evalcount" type="integer" min="0" max="1000" default="0">
    3419                         <description><![CDATA[If more than zero:
    3420 - each genotype will be evaluated many times
    3421 - fitness will be averaged
    3422 - fitness standard deviation will be stored in the 'user1' field of a genotype
    3423 - there will be no "Unchanged" genotypes ("Unchanged" value is considered zero).]]></description>
    34243007                </element>
    34253008                <element name="expdef" type="string">
     
    36133196                        <description><![CDATA[mutation: probability of changing a node]]></description>
    36143197                </element>
    3615                 <element name="feed" type="integer" min="0" max="100">
    3616                         <description><![CDATA[Number of energy pieces in the world]]></description>
    3617                 </element>
    3618                 <element name="feede0" type="float" min="0" max="1000">
    3619                         <description><![CDATA[]]></description>
    3620                 </element>
    3621                 <element name="feedtrans" type="float" min="0" max="100">
    3622                         <description><![CDATA[]]></description>
     3198                <element name="f9_mut" type="float" min="0" max="1" default="0.1">
     3199                        <description><![CDATA[How many genes should be mutated during single mutation (1=all genes, 0.1=ten percent)]]></description>
     3200                </element>
     3201                <element name="fF_xover" type="float" min="0" max="0.5" default="0.5">
     3202                        <description><![CDATA[0.5 => children are averaged parents.
     32030.2 => children are only 20% different from parents.
     32040 => each child is identical to one parent (no crossover).]]></description>
    36233205                </element>
    36243206                <element name="filecomm" type="integer" min="0" max="1" default="1">
    36253207                        <description><![CDATA[Display comments encountered in opened files]]></description>
    3626                 </element>
    3627                 <element name="foodgen" type="string">
    3628                         <description><![CDATA[The default food model is a simple, single part object:
    3629   //0
    3630   m:Vstyle=food
    3631   p:
    3632 (this genotype is used when you leave this field blank).
    3633 You can specify another genotype to create "intelligent" or mobile food.]]></description>
    36343208                </element>
    36353209                <element name="gen_extmutinfo" type="integer" min="0" max="2" default="0">
     
    36593233                        <description><![CDATA[]]></description>
    36603234                </element>
     3235                <element name="genkonw5" type="integer" min="0" max="1">
     3236                        <description><![CDATA[]]></description>
     3237                </element>
    36613238                <element name="genoper_f0" type="integer" min="0" max="0">
    36623239                        <description><![CDATA[]]></description>
     
    36733250                <element name="genoper_f4" type="integer" min="0" max="0">
    36743251                        <description><![CDATA[]]></description>
     3252                </element>
     3253                <element name="genoper_f9" type="integer" min="0" max="0">
     3254                        <description><![CDATA[]]></description>
     3255                </element>
     3256                <element name="genoper_fF" type="integer" min="0" max="0">
     3257                        <description><![CDATA[]]></description>
     3258                </element>
     3259                <element name="geom_density" type="float" min="0.01" max="100" default="1.0">
     3260                        <description><![CDATA[Affects the geometry calculation precision]]></description>
    36753261                </element>
    36763262                <element name="groupchk" type="integer" min="0" max="1"/>
     
    36793265                </element>
    36803266                <element name="importchk" type="integer" min="0" max="1"/>
    3681                 <element name="initialgen" type="string">
    3682                         <description><![CDATA[The gene pool will be replaced with the supplied genotype when the experiment begins.
    3683 Use the empty initial genotype if you want to preserve the current gene pool.]]></description>
    3684                 </element>
    36853267                <element name="lastCheckpoint" type="untyped">
    36863268                        <description><![CDATA[Most recently reported by the experiment definition script.]]></description>
    36873269                </element>
    36883270                <element name="loadchk" type="integer" min="0" max="1"/>
    3689                 <element name="log" type="integer" min="0" max="5">
    3690                         <description><![CDATA[Sends [LOG] messages with genotypes count and minimal, average and best gene pool fitness, which can be used to produce graphs by external tools like gnuplot or Excel.
    3691 It also sends the [LOGTITLE] message on experiment initialization, which summarizes most important parameters of your experiment. It can be used as a graph title.]]></description>
    3692                 </element>
    3693                 <element name="makesound" type="integer" min="0" max="1" default="0">
    3694                         <description><![CDATA[Emit sounds on improvements? (frequency depends on the magnitude of improvement)]]></description>
    3695                 </element>
    3696                 <element name="MaxCreated" type="integer" min="0" max="50">
    3697                         <description><![CDATA[]]></description>
    3698                 </element>
    36993271                <element name="maxjoint" type="float" min="0" max="100" default="2.0"/>
    3700                 <element name="minfitness" type="float">
    3701                         <description><![CDATA[Minimal fitness that allows to automatically stop evolution when stagnation detected]]></description>
    3702                 </element>
    37033272                <element name="minjoint" type="float" min="0" max="100" default="0.0"/>
    37043273                <element name="neuadd_N" type="integer" min="0" max="1">
     
    39483517   time (t) float 0..6.28319]]></description>
    39493518                </element>
    3950                 <element name="neuadd_Mzm" type="integer" min="0" max="1">
    3951                         <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile.
    3952 
    3953 Characteristics:
    3954    does not use inputs
    3955    provides output value
    3956    does not require location in body
    3957 ]]></description>
    3958                 </element>
    3959                 <element name="neuadd_OThr" type="integer" min="0" max="1">
    3960                         <description><![CDATA[Characteristics:
    3961    uses single input
    3962    does not provide output value
    3963    should be located on a Joint
    3964 ]]></description>
    3965                 </element>
    3966                 <element name="neuadd_SeeLight" type="integer" min="0" max="1">
    3967                         <description><![CDATA[Characteristics:
    3968    does not use inputs
    3969    provides output value
    3970    should be located on a Part
    3971 
    3972 
    3973 Properties:
    3974     (flavor) float 0..4]]></description>
    3975                 </element>
    3976                 <element name="neuadd_Linb" type="integer" min="0" max="1">
    3977                         <description><![CDATA[output=input(bez sumowania)
    3978 
    3979 Characteristics:
    3980    supports any number of inputs
    3981    provides output value
    3982    does not require location in body
    3983 ]]></description>
    3984                 </element>
    3985                 <element name="neuadd_Delay" type="integer" min="0" max="1">
    3986                         <description><![CDATA[Characteristics:
    3987    supports any number of inputs
    3988    provides output value
    3989    does not require location in body
    3990 
    3991 
    3992 Properties:
    3993    delay time (in steps) (t) integer 1..1000]]></description>
    3994                 </element>
    3995                 <element name="neuadd_ntest" type="integer" min="0" max="1">
    3996                         <description><![CDATA[Characteristics:
    3997    uses single input
    3998    provides output value
    3999    should be located on a Joint
    4000 ]]></description>
    4001                 </element>
    4002                 <element name="neuadd_WarnLR" type="integer" min="0" max="1">
    4003                         <description><![CDATA[Characteristics:
    4004    does not use inputs
    4005    provides output value
    4006    does not require location in body
    4007 
    4008 
    4009 Properties:
    4010    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    4011                 </element>
    4012                 <element name="neuadd_SeeLight2" type="integer" min="0" max="1">
    4013                         <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter).
    4014 
    4015 Characteristics:
    4016    does not use inputs
    4017    provides output value
    4018    should be located on a Part
    4019 
    4020 
    4021 Properties:
    4022     (range) float 0..100]]></description>
    4023                 </element>
    4024                 <element name="neuadd_FeelInjury" type="integer" min="0" max="1">
    4025                         <description><![CDATA[Characteristics:
    4026    supports any number of inputs
    4027    does not provide output value
    4028    does not require location in body
    4029 ]]></description>
    4030                 </element>
    4031                 <element name="neuadd_PIDV" type="integer" min="0" max="1">
    4032                         <description><![CDATA[PID Regulator (velocity/incremental form)
    4033 
    4034 Characteristics:
    4035    uses single input
    4036    provides output value
    4037    does not require location in body
    4038 
    4039 
    4040 Properties:
    4041    K (k) float 0.01..100
    4042    Ti (ti) float 0.01..100
    4043    Td (td) float 0.01..100]]></description>
    4044                 </element>
    4045                 <element name="neuadd_Lin" type="integer" min="0" max="1">
    4046                         <description><![CDATA[output=input
    4047 
    4048 Characteristics:
    4049    supports any number of inputs
    4050    provides output value
    4051    does not require location in body
    4052 ]]></description>
    4053                 </element>
    4054                 <element name="neuadd_WarnDD" type="integer" min="0" max="1">
    4055                         <description><![CDATA[Characteristics:
    4056    does not use inputs
    4057    provides output value
    4058    does not require location in body
    4059 
    4060 
    4061 Properties:
    4062    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    4063                 </element>
    4064                 <element name="neuadd_Sf" type="integer" min="0" max="1">
    4065                         <description><![CDATA[Detects only food, not other creatures
    4066 (in experiments with food in group #1)
    4067 
    4068 Characteristics:
    4069    does not use inputs
    4070    provides output value
    4071    should be located on a Part
    4072 ]]></description>
    4073                 </element>
    4074                 <element name="neuadd_Nn" type="integer" min="0" max="1">
    4075                         <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value
    4076 
    4077 Characteristics:
    4078    supports any number of inputs
    4079    provides output value
    4080    does not require location in body
    4081 
    4082 
    4083 Properties:
    4084    Error rate (e) float 0..0.1]]></description>
    4085                 </element>
    4086                 <element name="neuadd_Rdr" type="integer" min="0" max="1">
    4087                         <description><![CDATA[Characteristics:
    4088    uses single input
    4089    does not provide output value
    4090    does not require location in body
    4091 
    4092 
    4093 Properties:
    4094     ()]]></description>
    4095                 </element>
    4096                 <element name="neuadd_WarnDist" type="integer" min="0" max="1">
    4097                         <description><![CDATA[Characteristics:
    4098    does not use inputs
    4099    provides output value
    4100    does not require location in body
    4101 
    4102 
    4103 Properties:
    4104    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    4105                 </element>
    4106                 <element name="neuadd_Cmp" type="integer" min="0" max="1">
    4107                         <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*.
    4108 
    4109 Characteristics:
    4110    does not use inputs
    4111    provides output value
    4112    should be located on a Part
    4113 ]]></description>
    4114                 </element>
    4115                 <element name="neuadd_Light" type="integer" min="0" max="1">
    4116                         <description><![CDATA[Characteristics:
    4117    supports any number of inputs
    4118    does not provide output value
    4119    should be located on a Part
    4120 
    4121 
    4122 Properties:
    4123     (flavor) float 0..4]]></description>
    4124                 </element>
    4125                 <element name="neuadd_Thr" type="integer" min="0" max="1">
    4126                         <description><![CDATA[if (input>=t) then output=hi else output=lo
    4127 
    4128 Characteristics:
    4129    supports any number of inputs
    4130    provides output value
    4131    does not require location in body
    4132 
    4133 
    4134 Properties:
    4135    threshold (t) float
    4136    low output value (lo) float
    4137    high output value (hi) float]]></description>
    4138                 </element>
    4139                 <element name="neuadd_PIDP" type="integer" min="0" max="1">
    4140                         <description><![CDATA[PID Regulator (positional/full value form)
    4141 
    4142 Characteristics:
    4143    uses single input
    4144    provides output value
    4145    does not require location in body
    4146 
    4147 
    4148 Properties:
    4149    K (k) float 0.01..100
    4150    Ti (ti) float 0.01..100
    4151    Td (td) float 0.01..100]]></description>
    4152                 </element>
    4153                 <element name="neuadd_ptest" type="integer" min="0" max="1">
    4154                         <description><![CDATA[different parameter datatypes
    4155 
    4156 Characteristics:
    4157    uses single input
    4158    provides output value
    4159    does not require location in body
    4160 
    4161 
    4162 Properties:
    4163    first integer (i1) integer
    4164    first float (f1) float
    4165    first string (s1) string
    4166    second integer (i2) integer
    4167    second float (f2) float
    4168    second string (s2) string]]></description>
    4169                 </element>
    4170                 <element name="neuadd_FF" type="integer" min="0" max="1">
    4171                         <description><![CDATA[Characteristics:
    4172    supports any number of inputs
    4173    does not provide output value
    4174    should be located on a Part
    4175 ]]></description>
    4176                 </element>
    41773519                <element name="ncl_N" type="integer" min="0" max="1">
    41783520                        <description><![CDATA[Standard neuron
     
    44213763   time (t) float 0..6.28319]]></description>
    44223764                </element>
    4423                 <element name="ncl_Mzm" type="integer" min="0" max="1">
    4424                         <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile.
    4425 
    4426 Characteristics:
    4427    does not use inputs
    4428    provides output value
    4429    does not require location in body
    4430 ]]></description>
    4431                 </element>
    4432                 <element name="ncl_OThr" type="integer" min="0" max="1">
    4433                         <description><![CDATA[Characteristics:
    4434    uses single input
    4435    does not provide output value
    4436    should be located on a Joint
    4437 ]]></description>
    4438                 </element>
    4439                 <element name="ncl_SeeLight" type="integer" min="0" max="1">
    4440                         <description><![CDATA[Characteristics:
    4441    does not use inputs
    4442    provides output value
    4443    should be located on a Part
    4444 
    4445 
    4446 Properties:
    4447     (flavor) float 0..4]]></description>
    4448                 </element>
    4449                 <element name="ncl_Linb" type="integer" min="0" max="1">
    4450                         <description><![CDATA[output=input(bez sumowania)
    4451 
    4452 Characteristics:
    4453    supports any number of inputs
    4454    provides output value
    4455    does not require location in body
    4456 ]]></description>
    4457                 </element>
    4458                 <element name="ncl_Delay" type="integer" min="0" max="1">
    4459                         <description><![CDATA[Characteristics:
    4460    supports any number of inputs
    4461    provides output value
    4462    does not require location in body
    4463 
    4464 
    4465 Properties:
    4466    delay time (in steps) (t) integer 1..1000]]></description>
    4467                 </element>
    4468                 <element name="ncl_ntest" type="integer" min="0" max="1">
    4469                         <description><![CDATA[Characteristics:
    4470    uses single input
    4471    provides output value
    4472    should be located on a Joint
    4473 ]]></description>
    4474                 </element>
    4475                 <element name="ncl_WarnLR" type="integer" min="0" max="1">
    4476                         <description><![CDATA[Characteristics:
    4477    does not use inputs
    4478    provides output value
    4479    does not require location in body
    4480 
    4481 
    4482 Properties:
    4483    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    4484                 </element>
    4485                 <element name="ncl_SeeLight2" type="integer" min="0" max="1">
    4486                         <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter).
    4487 
    4488 Characteristics:
    4489    does not use inputs
    4490    provides output value
    4491    should be located on a Part
    4492 
    4493 
    4494 Properties:
    4495     (range) float 0..100]]></description>
    4496                 </element>
    4497                 <element name="ncl_FeelInjury" type="integer" min="0" max="1">
    4498                         <description><![CDATA[Characteristics:
    4499    supports any number of inputs
    4500    does not provide output value
    4501    does not require location in body
    4502 ]]></description>
    4503                 </element>
    4504                 <element name="ncl_PIDV" type="integer" min="0" max="1">
    4505                         <description><![CDATA[PID Regulator (velocity/incremental form)
    4506 
    4507 Characteristics:
    4508    uses single input
    4509    provides output value
    4510    does not require location in body
    4511 
    4512 
    4513 Properties:
    4514    K (k) float 0.01..100
    4515    Ti (ti) float 0.01..100
    4516    Td (td) float 0.01..100]]></description>
    4517                 </element>
    4518                 <element name="ncl_Lin" type="integer" min="0" max="1">
    4519                         <description><![CDATA[output=input
    4520 
    4521 Characteristics:
    4522    supports any number of inputs
    4523    provides output value
    4524    does not require location in body
    4525 ]]></description>
    4526                 </element>
    4527                 <element name="ncl_WarnDD" type="integer" min="0" max="1">
    4528                         <description><![CDATA[Characteristics:
    4529    does not use inputs
    4530    provides output value
    4531    does not require location in body
    4532 
    4533 
    4534 Properties:
    4535    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    4536                 </element>
    4537                 <element name="ncl_Sf" type="integer" min="0" max="1">
    4538                         <description><![CDATA[Detects only food, not other creatures
    4539 (in experiments with food in group #1)
    4540 
    4541 Characteristics:
    4542    does not use inputs
    4543    provides output value
    4544    should be located on a Part
    4545 ]]></description>
    4546                 </element>
    4547                 <element name="ncl_Nn" type="integer" min="0" max="1">
    4548                         <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value
    4549 
    4550 Characteristics:
    4551    supports any number of inputs
    4552    provides output value
    4553    does not require location in body
    4554 
    4555 
    4556 Properties:
    4557    Error rate (e) float 0..0.1]]></description>
    4558                 </element>
    4559                 <element name="ncl_Rdr" type="integer" min="0" max="1">
    4560                         <description><![CDATA[Characteristics:
    4561    uses single input
    4562    does not provide output value
    4563    does not require location in body
    4564 
    4565 
    4566 Properties:
    4567     ()]]></description>
    4568                 </element>
    4569                 <element name="ncl_WarnDist" type="integer" min="0" max="1">
    4570                         <description><![CDATA[Characteristics:
    4571    does not use inputs
    4572    provides output value
    4573    does not require location in body
    4574 
    4575 
    4576 Properties:
    4577    Maximum distance signal is sensed  (maxDist) float 1..1000]]></description>
    4578                 </element>
    4579                 <element name="ncl_Cmp" type="integer" min="0" max="1">
    4580                         <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*.
    4581 
    4582 Characteristics:
    4583    does not use inputs
    4584    provides output value
    4585    should be located on a Part
    4586 ]]></description>
    4587                 </element>
    4588                 <element name="ncl_Light" type="integer" min="0" max="1">
    4589                         <description><![CDATA[Characteristics:
    4590    supports any number of inputs
    4591    does not provide output value
    4592    should be located on a Part
    4593 
    4594 
    4595 Properties:
    4596     (flavor) float 0..4]]></description>
    4597                 </element>
    4598                 <element name="ncl_Thr" type="integer" min="0" max="1">
    4599                         <description><![CDATA[if (input>=t) then output=hi else output=lo
    4600 
    4601 Characteristics:
    4602    supports any number of inputs
    4603    provides output value
    4604    does not require location in body
    4605 
    4606 
    4607 Properties:
    4608    threshold (t) float
    4609    low output value (lo) float
    4610    high output value (hi) float]]></description>
    4611                 </element>
    4612                 <element name="ncl_PIDP" type="integer" min="0" max="1">
    4613                         <description><![CDATA[PID Regulator (positional/full value form)
    4614 
    4615 Characteristics:
    4616    uses single input
    4617    provides output value
    4618    does not require location in body
    4619 
    4620 
    4621 Properties:
    4622    K (k) float 0.01..100
    4623    Ti (ti) float 0.01..100
    4624    Td (td) float 0.01..100]]></description>
    4625                 </element>
    4626                 <element name="ncl_ptest" type="integer" min="0" max="1">
    4627                         <description><![CDATA[different parameter datatypes
    4628 
    4629 Characteristics:
    4630    uses single input
    4631    provides output value
    4632    does not require location in body
    4633 
    4634 
    4635 Properties:
    4636    first integer (i1) integer
    4637    first float (f1) float
    4638    first string (s1) string
    4639    second integer (i2) integer
    4640    second float (f2) float
    4641    second string (s2) string]]></description>
    4642                 </element>
    4643                 <element name="ncl_FF" type="integer" min="0" max="1">
    4644                         <description><![CDATA[Characteristics:
    4645    supports any number of inputs
    4646    does not provide output value
    4647    should be located on a Part
    4648 ]]></description>
    4649                 </element>
    46503765                <element name="nnoise" type="float" min="0" max="1" default="0.0">
    46513766                        <description><![CDATA[Gaussian neural noise: a random value is added to each neural output in each simulation step. Set standard deviation here to add random noise, or 0 for deterministic simulation.]]></description>
     
    46533768                <element name="nnspeed" type="float" min="0" max="1000" default="1.0">
    46543769                        <description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description>
    4655                 </element>
    4656                 <element name="notes" type="string">
    4657                         <description><![CDATA[You can write anything here
    4658 (it will be saved to the experiment file)]]></description>
    46593770                </element>
    46603771                <element name="odeairdrag" type="float" min="0" max="0.5" default="0.01">
     
    47133824                        <description><![CDATA[Overwite existing files or create their backups]]></description>
    47143825                </element>
    4715                 <element name="p_mut" type="float" min="0" max="100">
    4716                         <description><![CDATA[]]></description>
    4717                 </element>
    4718                 <element name="p_nop" type="float" min="0" max="100">
    4719                         <description><![CDATA[]]></description>
    4720                 </element>
    4721                 <element name="p_xov" type="float" min="0" max="100">
    4722                         <description><![CDATA[]]></description>
    4723                 </element>
    4724                 <element name="placement" type="integer" min="0" max="1">
    4725                         <description><![CDATA[For 'Central' placement, newborn creatures are placed at the world center, if possible.]]></description>
    4726                 </element>
    47273826                <element name="populations" type="Populations"/>
    47283827                <element name="randinit" type="float" min="0" max="10" default="0.01">
     
    47333832If turned off: parameters from previous experiment definition will remain (dangerous).]]></description>
    47343833                </element>
    4735                 <element name="rotation" type="integer" min="0" max="4">
    4736                         <description><![CDATA[Initial heading of newborn creatures]]></description>
    4737                 </element>
    47383834                <element name="running" type="integer" min="0" max="1">
    47393835                        <description><![CDATA[useful for synchronizing the user interface state]]></description>
    4740                 </element>
    4741                 <element name="savebest" type="integer" min="0" max="3">
    4742                         <description><![CDATA[Saves (on each improvement) best found genotype or a complete experiment state to a file in scripts_output subdirectory.]]></description>
    4743                 </element>
    4744                 <element name="selrule" type="integer" min="0" max="5">
    4745                         <description><![CDATA[Positive selection: how to choose genotypes for cloning/mutation/crossover]]></description>
    47463836                </element>
    47473837                <element name="signals" type="WorldSignals"/>
     
    47683858                </element>
    47693859                <element name="slaves" type="SlaveSimulators"/>
    4770                 <element name="stagnation" type="integer" min="0" max="1000000" default="0">
    4771                         <description><![CDATA[No improvement period required to stop simulation (stagnation). 0 disables automatic stopping.]]></description>
    4772                 </element>
    47733860                <element name="symAlphaSteps" type="integer" min="2" max="50" default="20">
    47743861                        <description><![CDATA[Default number of samples per full angle (#1)]]></description>
     
    47853872                <element name="symResultD" type="float"/>
    47863873                <element name="time" type="integer"/>
    4787                 <element name="totaltestedcr" type="integer">
    4788                         <description><![CDATA[Total number of creatures evaluated in the experiment]]></description>
    4789                 </element>
    4790                 <element name="totaltests" type="integer">
    4791                         <description><![CDATA[Total number of evaluations in the experiment.
    4792 This is equivalent to "Evaluated creatures" unless multiple evaluation is activated.]]></description>
    4793                 </element>
    47943874                <element name="touchrange" type="float" min="0" max="100" default="1.0"/>
    47953875                <element name="user" type="untyped"/>
     
    48183898                </element>
    48193899                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    4820                 <element name="wrldwat" type="float" min="-20" max="50" default="-1.0"/>
    4821                 <element name="xov_mins" type="float" min="0" max="9999">
    4822                         <description><![CDATA[Only genotypes with dissimilarity below this threshold will be crossed over.
    4823 Value of 0 means no crossover restrictions.]]></description>
    4824                 </element>
     3900                <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/>
    48253901                <element name="add" function="true"/>
    48263902                <element name="addGroup" function="true"/>
     3903                <element name="area" function="true" type="float"><arguments/></element>
    48273904                <element name="beep" function="true" type="void">
    48283905                        <description><![CDATA[Plays a default system sound]]></description>
     
    48653942                </element>
    48663943                <element name="clear" function="true"/>
    4867                 <element name="cleardata" function="true">
    4868                         <description><![CDATA[Sets the number of instances of each genotype to zero (as if it has never been evaluated).
    4869 Genotype performance values stay intact, yet they are meaningless if a genotype has no instances.]]></description>
    4870                 </element>
    48713944                <element name="crossOver" function="true" type="Geno">
    48723945                        <description><![CDATA[returns crossed over genotype]]></description>
     
    48773950                </element>
    48783951                <element name="eval" function="true" type="void">
    4879                         <arguments>
    4880                                 <argument name="script expression" type="string"/>
     3952                        <description><![CDATA[The argument must be a complete statement, e.g. "return 2+2;" is valid, while "2+2" is not. The EvalError object is returned for invalid statements.
     3953Example:
     3954var statement="function fun(a) {return a*a;} return fun(Math.pi);";
     3955var result=Simulator.eval(statement);
     3956if (typeof result=="EvalError")
     3957   Simulator.print("Error:"+result.message);
     3958else
     3959   Simulator.print("Result:"+result);]]></description>
     3960                        <arguments>
     3961                                <argument name="script statement" type="string"/>
    48813962                        </arguments>
    48823963                </element>
     
    49083989                        </arguments>
    49093990                </element>
     3991                <element name="forModel" function="true" type="ModelGeometry">
     3992                        <description><![CDATA[The returned ModelGeometry object can be used to calculate geometric properties (volume, area, sizes) of the associated model. The density is copied from the current global ModelGeometry.geom_density on object creation.]]></description>
     3993                        <arguments>
     3994                                <argument type="Model"/>
     3995                        </arguments>
     3996                </element>
    49103997                <element name="getSimplest" function="true" type="Geno">
    49113998                        <description><![CDATA[returns the simplest genotype for a given encoding (format). 0 means f0, 4 means f4, etc.]]></description>
     
    50014088                        </arguments>
    50024089                </element>
    5003                 <element name="script_2D_layout" function="true">
    5004                         <description><![CDATA[make a 2d layout (coord's provided)]]></description>
    5005                 </element>
    5006                 <element name="script_Alphabetic_symbols" function="true">
    5007                         <description><![CDATA[]]></description>
    5008                 </element>
    5009                 <element name="script_Alternative_symbols" function="true">
    5010                         <description><![CDATA[]]></description>
    5011                 </element>
    5012                 <element name="script_Brain_simplifier" function="true">
    5013                         <description><![CDATA[Removes all brain neurons that do not influence effectors. Converts genotypes to f0.]]></description>
    5014                 </element>
    5015                 <element name="script_Calculate_symmetry" function="true">
    5016                         <description><![CDATA[Calculate symmetry value and symmetry plane for all genotypes
    5017 (note: may take a long time for complex bodies)]]></description>
    5018                 </element>
    5019                 <element name="script_Creatures_circle" function="true">
    5020                         <description><![CDATA[Arranges living creatures (first population) in a circle, tallest in the middle
    5021 (the tallest one is selected based on the vertical position which should already be measured)]]></description>
    5022                 </element>
    5023                 <element name="script_Dump_creatures" function="true">
    5024                         <description><![CDATA[Dumps coordinates and velocities of all Parts of all living Creatures from group #0]]></description>
    5025                 </element>
    5026                 <element name="script_Food_circle" function="true">
    5027                         <description><![CDATA[Arranges food pieces in a circle]]></description>
    5028                 </element>
    5029                 <element name="script_Food_circle_2" function="true">
    5030                         <description><![CDATA[Arranges food pieces in a circle]]></description>
    5031                 </element>
    5032                 <element name="script_Gallery" function="true">
    5033                         <description><![CDATA[Arranges creatures from the first gene pool in a grid]]></description>
    5034                 </element>
    5035                 <element name="script_Make_f0def_describing_all_neuron_classes" function="true">
    5036                         <description><![CDATA[]]></description>
    5037                 </element>
    5038                 <element name="script_Make_neuroshtml_describing_all_neuron_classes" function="true">
    5039                         <description><![CDATA[]]></description>
    5040                 </element>
    5041                 <element name="script_Make_regular_shapes" function="true">
    5042                         <description><![CDATA[Make regular shapes (truss, sponge, grid, net)]]></description>
    5043                 </element>
    5044                 <element name="script_Neuro_inspection" function="true">
    5045                         <description><![CDATA[Performs a given number of simulation steps, logs neural states of selected neurons, can also enforce states of selected neurons.
    5046 The log file can be used for further analyses, or to draw plots in gnuplot (see neuro_insp_chart.gp) or another external program.
    5047 See script source for details and settings.]]></description>
    5048                 </element>
    5049                 <element name="script_Neuro_test" function="true">
    5050                         <description><![CDATA[Performs a given number of simulation steps and logs neural states of selected neurons.
    5051 See script source for details and settings.
    5052 ]]></description>
    5053                 </element>
    5054                 <element name="script_Neurons_report" function="true">
    5055                         <description><![CDATA[Show all neuron classes and their names]]></description>
    5056                 </element>
    5057                 <element name="script_Print_creatures_coordinates" function="true">
    5058                         <description><![CDATA[Print coordinates of Parts for all creatures from group #0.]]></description>
    5059                 </element>
    5060                 <element name="script_Reload_neuron_definitions" function="true">
    5061                         <description><![CDATA[Reloads scripts/*.neuro files]]></description>
    5062                 </element>
    5063                 <element name="script_Rotate" function="true">
    5064                         <description><![CDATA[]]></description>
    5065                 </element>
    5066                 <element name="script_Stabilizacja" function="true">
    5067                         <description><![CDATA[]]></description>
    5068                 </element>
    5069                 <element name="script_svd_2D" function="true">
    5070                         <description><![CDATA[make a 2d layout (coord's provided)]]></description>
    5071                 </element>
    5072                 <element name="script_Toy_Spring_Sticks" function="true">
    5073                         <description><![CDATA[Make creature joints look like springs]]></description>
    5074                 </element>
     4090                <element name="sizesAndAxes" function="true" type="Vector">
     4091                        <description><![CDATA[The returned vector contains XYZ (sizes) and Orient (axes) objects.]]></description>
     4092<arguments/></element>
    50754093                <element name="sleep" function="true" type="void">
    50764094                        <description><![CDATA[Suspends the execution for a specified interval]]></description>
     
    51114129                        </arguments>
    51124130                </element>
     4131                <element name="volume" function="true" type="float"><arguments/></element>
    51134132                <element name="wrldchg" function="true" type="void"><arguments/></element>
    51144133        </type>
     
    52064225                </element>
    52074226                <element name="eval" function="true" type="void">
    5208                         <arguments>
    5209                                 <argument name="script expression" type="string"/>
     4227                        <description><![CDATA[The argument must be a complete statement, e.g. "return 2+2;" is valid, while "2+2" is not. The EvalError object is returned for invalid statements.
     4228Example:
     4229var statement="function fun(a) {return a*a;} return fun(Math.pi);";
     4230var result=Simulator.eval(statement);
     4231if (typeof result=="EvalError")
     4232   Simulator.print("Error:"+result.message);
     4233else
     4234   Simulator.print("Result:"+result);]]></description>
     4235                        <arguments>
     4236                                <argument name="script statement" type="string"/>
    52104237                        </arguments>
    52114238                </element>
     
    54234450                <element name="st_avg_pos_y" type="float"/>
    54244451                <element name="st_avg_pos_z" type="float"/>
    5425                 <element name="st_avg_selfcol" type="float"/>
    5426                 <element name="st_avg_selfcolstate" type="float"/>
    54274452                <element name="st_avg_size_x" type="float"/>
    54284453                <element name="st_avg_size_y" type="float"/>
     
    54524477                <element name="st_max_pos_y" type="float"/>
    54534478                <element name="st_max_pos_z" type="float"/>
    5454                 <element name="st_max_selfcol" type="float"/>
    5455                 <element name="st_max_selfcolstate" type="float"/>
    54564479                <element name="st_max_size_x" type="float"/>
    54574480                <element name="st_max_size_y" type="float"/>
     
    54804503                <element name="st_min_pos_y" type="float"/>
    54814504                <element name="st_min_pos_z" type="float"/>
    5482                 <element name="st_min_selfcol" type="float"/>
    5483                 <element name="st_min_selfcolstate" type="float"/>
    54844505                <element name="st_min_size_x" type="float"/>
    54854506                <element name="st_min_size_y" type="float"/>
     
    55184539                        <arguments>
    55194540                                <argument type="string"/>
     4541                        </arguments>
     4542                </element>
     4543                <element name="diff" function="true" type="Vector">
     4544                        <description><![CDATA[Returns the vector of minimal differences between two strings. The vector contains either 2-element subvectors with differing substrings ["text-1","text-2"] or strings "same".
     4545
     4546For example, String.diff("thisisatest", "testing123testing") returns [t,[hi,e],s,[,t],i,[sa,ng123],test,[,ing]].
     4547
     4548Use this function for short strings, as it requires 4*length(string1)*length(string2) bytes of memory.]]></description>
     4549                        <arguments>
     4550                                <argument type="string"/>
     4551                                <argument type="string"/>
     4552                        </arguments>
     4553                </element>
     4554                <element name="endsWith" function="true" type="integer">
     4555                        <arguments>
     4556                                <argument name="string" type="string"/>
     4557                                <argument name="substring" type="string"/>
    55204558                        </arguments>
    55214559                </element>
     
    55544592                        </arguments>
    55554593                </element>
     4594                <element name="hash" function="true" type="integer">
     4595                        <arguments>
     4596                                <argument type="string"/>
     4597                        </arguments>
     4598                </element>
    55564599                <element name="indexOf" function="true" type="integer">
    55574600                        <description><![CDATA[String.indexOf("abcdef","cd") -> 2
     
    56314674                                <argument type="string"/>
    56324675                                <argument name="word separator" type="string"/>
     4676                        </arguments>
     4677                </element>
     4678                <element name="startsWith" function="true" type="integer">
     4679                        <arguments>
     4680                                <argument name="string" type="string"/>
     4681                                <argument name="substring" type="string"/>
    56334682                        </arguments>
    56344683                </element>
     
    57094758                <element name="remove" function="true"/>
    57104759                <element name="removeGroup" function="true"/>
    5711                 <element name="script_2D_layout" function="true">
    5712                         <description><![CDATA[make a 2d layout (coord's provided)]]></description>
    5713                 </element>
    5714                 <element name="script_Alphabetic_symbols" function="true">
    5715                         <description><![CDATA[]]></description>
    5716                 </element>
    5717                 <element name="script_Alternative_symbols" function="true">
    5718                         <description><![CDATA[]]></description>
    5719                 </element>
    5720                 <element name="script_Brain_simplifier" function="true">
    5721                         <description><![CDATA[Removes all brain neurons that do not influence effectors. Converts genotypes to f0.]]></description>
    5722                 </element>
    5723                 <element name="script_Calculate_symmetry" function="true">
    5724                         <description><![CDATA[Calculate symmetry value and symmetry plane for all genotypes
    5725 (note: may take a long time for complex bodies)]]></description>
    5726                 </element>
    5727                 <element name="script_Creatures_circle" function="true">
    5728                         <description><![CDATA[Arranges living creatures (first population) in a circle, tallest in the middle
    5729 (the tallest one is selected based on the vertical position which should already be measured)]]></description>
    5730                 </element>
    5731                 <element name="script_Dump_creatures" function="true">
    5732                         <description><![CDATA[Dumps coordinates and velocities of all Parts of all living Creatures from group #0]]></description>
    5733                 </element>
    5734                 <element name="script_Food_circle" function="true">
    5735                         <description><![CDATA[Arranges food pieces in a circle]]></description>
    5736                 </element>
    5737                 <element name="script_Food_circle_2" function="true">
    5738                         <description><![CDATA[Arranges food pieces in a circle]]></description>
    5739                 </element>
    5740                 <element name="script_Gallery" function="true">
    5741                         <description><![CDATA[Arranges creatures from the first gene pool in a grid]]></description>
    5742                 </element>
    5743                 <element name="script_Make_f0def_describing_all_neuron_classes" function="true">
    5744                         <description><![CDATA[]]></description>
    5745                 </element>
    5746                 <element name="script_Make_neuroshtml_describing_all_neuron_classes" function="true">
    5747                         <description><![CDATA[]]></description>
    5748                 </element>
    5749                 <element name="script_Make_regular_shapes" function="true">
    5750                         <description><![CDATA[Make regular shapes (truss, sponge, grid, net)]]></description>
    5751                 </element>
    5752                 <element name="script_Neuro_inspection" function="true">
    5753                         <description><![CDATA[Performs a given number of simulation steps, logs neural states of selected neurons, can also enforce states of selected neurons.
    5754 The log file can be used for further analyses, or to draw plots in gnuplot (see neuro_insp_chart.gp) or another external program.
    5755 See script source for details and settings.]]></description>
    5756                 </element>
    5757                 <element name="script_Neuro_test" function="true">
    5758                         <description><![CDATA[Performs a given number of simulation steps and logs neural states of selected neurons.
    5759 See script source for details and settings.
    5760 ]]></description>
    5761                 </element>
    5762                 <element name="script_Neurons_report" function="true">
    5763                         <description><![CDATA[Show all neuron classes and their names]]></description>
    5764                 </element>
    5765                 <element name="script_Print_creatures_coordinates" function="true">
    5766                         <description><![CDATA[Print coordinates of Parts for all creatures from group #0.]]></description>
    5767                 </element>
    5768                 <element name="script_Reload_neuron_definitions" function="true">
    5769                         <description><![CDATA[Reloads scripts/*.neuro files]]></description>
    5770                 </element>
    5771                 <element name="script_Rotate" function="true">
    5772                         <description><![CDATA[]]></description>
    5773                 </element>
    5774                 <element name="script_Stabilizacja" function="true">
    5775                         <description><![CDATA[]]></description>
    5776                 </element>
    5777                 <element name="script_svd_2D" function="true">
    5778                         <description><![CDATA[make a 2d layout (coord's provided)]]></description>
    5779                 </element>
    5780                 <element name="script_Toy_Spring_Sticks" function="true">
    5781                         <description><![CDATA[Make creature joints look like springs]]></description>
    5782                 </element>
    57834760        </type>
    57844761        <type name="Vector" context="Global context">
     
    57884765v.add(123); v.add("string");]]></description>
    57894766                <element name="avg" type="float"/>
     4767                <element name="iterator" type="Object"/>
    57904768                <element name="size" type="integer"/>
    57914769                <element name="stdev" type="float">
     
    58654843                </element>
    58664844                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    5867                 <element name="wrldwat" type="float" min="-20" max="50" default="-1.0"/>
     4845                <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/>
    58684846                <element name="wrldchg" function="true" type="void"><arguments/></element>
    58694847        </type>
     
    60455023        </type>
    60465024        <type name="ExpParams" context="Experiment definition">
    6047                 <element name="aging" type="integer" min="0" max="100000">
    6048                         <description><![CDATA[Idle metabolism doubles after this period (0 disables aging)]]></description>
    6049                 </element>
    6050                 <element name="boostphase" type="integer" min="0" max="1" default="1">
    6051                         <description><![CDATA[After stagnation has been detected, switches negative selection to "delete worst", doubles "multiple evaluation" and starts another stagnation detection phase.
    6052 "Delete worst" results in extremely quick convergence and high selection pressure, similarly to "local search" optimization techniques.]]></description>
    6053                 </element>
    6054                 <element name="capacity" type="integer" min="0" max="10000">
    6055                         <description><![CDATA[]]></description>
    6056                 </element>
    60575025                <element name="changedProperty" type="integer"/>
    60585026                <element name="changedPropertyId" type="string"/>
    6059                 <element name="cr_c" type="float" min="-10000" max="10000">
    6060                         <description><![CDATA[Constant value added to total fitness]]></description>
    6061                 </element>
    6062                 <element name="cr_di" type="float" min="-10000" max="10000">
    6063                         <description><![CDATA[Weight of distance in total fitness]]></description>
    6064                 </element>
    6065                 <element name="cr_gl" type="float" min="-10000" max="10000">
    6066                         <description><![CDATA[Weight of body size (number of parts) in total fitness]]></description>
    6067                 </element>
    6068                 <element name="cr_joints" type="float" min="-10000" max="10000">
    6069                         <description><![CDATA[Weight of structure size (number of joints) in total fitness]]></description>
    6070                 </element>
    6071                 <element name="cr_life" type="float" min="-10000" max="10000">
    6072                         <description><![CDATA[Weight of life span in total fitness]]></description>
    6073                 </element>
    6074                 <element name="cr_nncon" type="float" min="-10000" max="10000">
    6075                         <description><![CDATA[Weight of brain connections in total fitness]]></description>
    6076                 </element>
    6077                 <element name="cr_nnsiz" type="float" min="-10000" max="10000">
    6078                         <description><![CDATA[Weight of brain size (number of neurons) in total fitness]]></description>
    6079                 </element>
    6080                 <element name="cr_norm" type="integer" min="0" max="1">
    6081                         <description><![CDATA[Normalize each criterion to 0..1 interval before weighting]]></description>
    6082                 </element>
    6083                 <element name="cr_simi" type="integer" min="0" max="1">
    6084                         <description><![CDATA[If enabled, fitness of each genotype will be reduced by its phenotypic similarity to all other genotypes in the gene pool]]></description>
    6085                 </element>
    6086                 <element name="cr_v" type="float" min="-10000" max="10000">
    6087                         <description><![CDATA[Weight of horizontal velocity in total fitness]]></description>
    6088                 </element>
    6089                 <element name="cr_vpos" type="float" min="-10000" max="10000">
    6090                         <description><![CDATA[Weight of vertical position in total fitness]]></description>
    6091                 </element>
    6092                 <element name="cr_vvel" type="float" min="-10000" max="10000">
    6093                         <description><![CDATA[Weight of vertical velocity in total fitness]]></description>
    6094                 </element>
    6095                 <element name="creath" type="float" min="-1" max="50">
    6096                         <description><![CDATA[Vertical position (above the surface) where newborn creatures are placed.
    6097 Negative values are only used in the water area:
    6098   0   = at the surface
    6099 -0.5 = half depth
    6100 -1   = just above the bottom]]></description>
    6101                 </element>
    6102                 <element name="delrule" type="integer" min="0" max="2">
    6103                         <description><![CDATA[Negative selection: which genotypes should be removed when we need room for new genotypes in the gene pool]]></description>
    6104                 </element>
    6105                 <element name="e_meta" type="float" min="0" max="1">
    6106                         <description><![CDATA[Each stick consumes this amount of energy in one time step]]></description>
    6107                 </element>
    6108                 <element name="Energy0" type="float" min="0" max="10000">
    6109                         <description><![CDATA[Base starting energy level (for each stick)]]></description>
    6110                 </element>
    6111                 <element name="evalcount" type="integer" min="0" max="1000" default="0">
    6112                         <description><![CDATA[If more than zero:
    6113 - each genotype will be evaluated many times
    6114 - fitness will be averaged
    6115 - fitness standard deviation will be stored in the 'user1' field of a genotype
    6116 - there will be no "Unchanged" genotypes ("Unchanged" value is considered zero).]]></description>
    6117                 </element>
    6118                 <element name="feed" type="integer" min="0" max="100">
    6119                         <description><![CDATA[Number of energy pieces in the world]]></description>
    6120                 </element>
    6121                 <element name="feede0" type="float" min="0" max="1000">
    6122                         <description><![CDATA[]]></description>
    6123                 </element>
    6124                 <element name="feedtrans" type="float" min="0" max="100">
    6125                         <description><![CDATA[]]></description>
    6126                 </element>
    6127                 <element name="foodgen" type="string">
    6128                         <description><![CDATA[The default food model is a simple, single part object:
    6129   //0
    6130   m:Vstyle=food
    6131   p:
    6132 (this genotype is used when you leave this field blank).
    6133 You can specify another genotype to create "intelligent" or mobile food.]]></description>
    6134                 </element>
    6135                 <element name="initialgen" type="string">
    6136                         <description><![CDATA[The gene pool will be replaced with the supplied genotype when the experiment begins.
    6137 Use the empty initial genotype if you want to preserve the current gene pool.]]></description>
    6138                 </element>
    6139                 <element name="log" type="integer" min="0" max="5">
    6140                         <description><![CDATA[Sends [LOG] messages with genotypes count and minimal, average and best gene pool fitness, which can be used to produce graphs by external tools like gnuplot or Excel.
    6141 It also sends the [LOGTITLE] message on experiment initialization, which summarizes most important parameters of your experiment. It can be used as a graph title.]]></description>
    6142                 </element>
    6143                 <element name="makesound" type="integer" min="0" max="1" default="0">
    6144                         <description><![CDATA[Emit sounds on improvements? (frequency depends on the magnitude of improvement)]]></description>
    6145                 </element>
    6146                 <element name="MaxCreated" type="integer" min="0" max="50">
    6147                         <description><![CDATA[]]></description>
    6148                 </element>
    6149                 <element name="minfitness" type="float">
    6150                         <description><![CDATA[Minimal fitness that allows to automatically stop evolution when stagnation detected]]></description>
    6151                 </element>
    6152                 <element name="p_mut" type="float" min="0" max="100">
    6153                         <description><![CDATA[]]></description>
    6154                 </element>
    6155                 <element name="p_nop" type="float" min="0" max="100">
    6156                         <description><![CDATA[]]></description>
    6157                 </element>
    6158                 <element name="p_xov" type="float" min="0" max="100">
    6159                         <description><![CDATA[]]></description>
    6160                 </element>
    6161                 <element name="placement" type="integer" min="0" max="1">
    6162                         <description><![CDATA[For 'Central' placement, newborn creatures are placed at the world center, if possible.]]></description>
    6163                 </element>
    6164                 <element name="rotation" type="integer" min="0" max="4">
    6165                         <description><![CDATA[Initial heading of newborn creatures]]></description>
    6166                 </element>
    6167                 <element name="savebest" type="integer" min="0" max="3">
    6168                         <description><![CDATA[Saves (on each improvement) best found genotype or a complete experiment state to a file in scripts_output subdirectory.]]></description>
    6169                 </element>
    6170                 <element name="selrule" type="integer" min="0" max="5">
    6171                         <description><![CDATA[Positive selection: how to choose genotypes for cloning/mutation/crossover]]></description>
    6172                 </element>
    6173                 <element name="stagnation" type="integer" min="0" max="1000000" default="0">
    6174                         <description><![CDATA[No improvement period required to stop simulation (stagnation). 0 disables automatic stopping.]]></description>
    6175                 </element>
    6176                 <element name="xov_mins" type="float" min="0" max="9999">
    6177                         <description><![CDATA[Only genotypes with dissimilarity below this threshold will be crossed over.
    6178 Value of 0 means no crossover restrictions.]]></description>
    6179                 </element>
    61805027                <element name="add" function="true"/>
    61815028                <element name="addGroup" function="true"/>
    61825029                <element name="clear" function="true"/>
    6183                 <element name="cleardata" function="true">
    6184                         <description><![CDATA[Sets the number of instances of each genotype to zero (as if it has never been evaluated).
    6185 Genotype performance values stay intact, yet they are meaningless if a genotype has no instances.]]></description>
    6186                 </element>
    61875030                <element name="remove" function="true"/>
    61885031                <element name="removeGroup" function="true"/>
     
    61915034                <element name="changedProperty" type="integer"/>
    61925035                <element name="changedPropertyId" type="string"/>
    6193                 <element name="creaturesgrouploaded" type="integer">
    6194                         <description><![CDATA[]]></description>
    6195                 </element>
    6196                 <element name="notes" type="string">
    6197                         <description><![CDATA[You can write anything here
    6198 (it will be saved to the experiment file)]]></description>
    6199                 </element>
    6200                 <element name="totaltestedcr" type="integer">
    6201                         <description><![CDATA[Total number of creatures evaluated in the experiment]]></description>
    6202                 </element>
    6203                 <element name="totaltests" type="integer">
    6204                         <description><![CDATA[Total number of evaluations in the experiment.
    6205 This is equivalent to "Evaluated creatures" unless multiple evaluation is activated.]]></description>
    6206                 </element>
    62075036                <element name="add" function="true"/>
    62085037                <element name="addGroup" function="true"/>
     
    64275256                </element>
    64285257                <element name="mutate" function="true" type="void"><arguments/></element>
    6429                 <element name="newFromCreature" function="true">
     5258                <element name="newFromCreature" function="true" type="Genotype">
    64305259                        <arguments>
    64315260                                <argument name="creature" type="Creature"/>
    64325261                        </arguments>
    64335262                </element>
    6434                 <element name="newFromGeno" function="true">
     5263                <element name="newFromGeno" function="true" type="Genotype">
    64355264                        <arguments>
    64365265                                <argument name="geno" type="Geno"/>
    64375266                        </arguments>
    64385267                </element>
    6439                 <element name="newFromString" function="true">
     5268                <element name="newFromString" function="true" type="Genotype">
    64405269                        <arguments>
    64415270                                <argument name="genotype" type="string"/>
     
    65485377                <element name="boundingBoxCollisions" function="true" type="integer">
    65495378                        <description><![CDATA[Checks approximate collisions for the selected creature.
    6550 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0).]]></description>
     5379Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ).
     5380Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.]]></description>
    65515381                        <arguments>
    65525382                                <argument name="mask" type="integer"/>
     
    66575487This is a link between a creature's element (part/joint/neuron) and the geometry object (Element.node).
    66585488Calling Element.useXXX() functions connects the static object references (Creature, Model, Part, Joint, Neuro, MechPart, MechJoint) to the proper creature elements. All these objects are invalid before doing that! E.g. you have to call "Element.useCreature()" before referring to "Creature.energy" in your _build() and _update() functions.]]></description>
    6659                 <element name="node" type="integer"/>
     5489                <element name="node" type="SSGNode"/>
     5490                <element name="shadow" type="float"/>
    66605491                <element name="useCreature" function="true"/>
    66615492                <element name="useJoint" function="true"/>
     
    66755506<description><![CDATA[Scene graph access (build and manipulate the 3d object tree)]]></description>
    66765507                <element name="code" type="string"/>
    6677                 <element name="currentNode" type="integer"/>
     5508                <element name="currentNode" type="SSGNode"/>
    66785509                <element name="defaultStyle" type="string"/>
    66795510                <element name="matrix00" type="float"/>
     
    66935524                <element name="matrix32" type="float"/>
    66945525                <element name="matrix33" type="float"/>
    6695                 <element name="rootNode" type="integer"/>
    6696                 <element name="updatingNode" type="integer"/>
     5526                <element name="rootNode" type="SSGNode"/>
     5527                <element name="updatingNode" type="SSGNode"/>
    66975528                <element name="add" function="true" type="void">
    66985529                        <description><![CDATA[add a child node to the current node]]></description>
    66995530                        <arguments>
    6700                                 <argument name="node" type="integer"/>
     5531                                <argument type="SSGNode"/>
    67015532                        </arguments>
    67025533                </element>
     
    67095540                <element name="dump" function="true" type="void">
    67105541                        <arguments>
    6711                                 <argument name="node" type="integer"/>
     5542                                <argument name="node" type="SSGNode"/>
    67125543                                <argument name="level" type="integer"/>
    67135544                        </arguments>
     
    67155546                <element name="getBranch" function="true" type="integer">
    67165547                        <arguments>
    6717                                 <argument name="branch node" type="integer"/>
     5548                                <argument name="branch node" type="SSGNode"/>
    67185549                                <argument name="branch index" type="integer"/>
    67195550                        </arguments>
     
    67685599                        <description><![CDATA[copy current matrix into specified node]]></description>
    67695600                        <arguments>
    6770                                 <argument name="transform node" type="integer"/>
     5601                                <argument name="transform node" type="SSGNode"/>
    67715602                        </arguments>
    67725603                </element>
     
    68065637                <element name="ry" type="float"/>
    68075638                <element name="rz" type="float"/>
     5639                <element name="sh" type="integer" min="0" max="1" default="0"/>
    68085640                <element name="stam" type="float" min="0" max="1" default="0.25"/>
    68095641                <element name="stif" type="float" min="0" max="1" default="1.0"/>
     
    68165648<description><![CDATA[Loads 3d objects files.
    68175649Visual styles placed in subdirectories (like "matrix") automatically access the parent directory if the file is not found in their subdirectory.]]></description>
    6818                 <element name="loaded" type="integer"/>
     5650                <element name="loaded" type="SSGNode"/>
    68195651                <element name="load" function="true"/>
    68205652        </type>
     
    68445676        <type name="MechJoint" context="Visual style definition">
    68455677<description><![CDATA[Current joint properties during the simulation]]></description>
    6846                 <element name="absorient" type="integer"/>
    6847                 <element name="calcorient" type="integer"/>
     5678                <element name="absorient" type="Orient"/>
     5679                <element name="calcorient" type="Orient"/>
    68485680                <element name="dx" type="float"/>
    68495681                <element name="dy" type="float"/>
    68505682                <element name="dz" type="float"/>
    68515683                <element name="length" type="float"/>
    6852                 <element name="orient" type="integer"/>
     5684                <element name="orient" type="Orient"/>
    68535685                <element name="rotstif" type="float"/>
    68545686                <element name="rotstress" type="float"/>
     
    68635695                <element name="fr" type="float"/>
    68645696                <element name="m" type="float"/>
    6865                 <element name="orient" type="integer"/>
    6866                 <element name="pos" type="integer"/>
     5697                <element name="orient" type="Orient"/>
     5698                <element name="pos" type="XYZ"/>
    68675699                <element name="s" type="float"/>
    68685700                <element name="vol" type="float"/>
     
    69015733                <element name="dn" type="float" min="0.2" max="5" default="1.0"/>
    69025734                <element name="fr" type="float" min="0" max="4" default="0.4"/>
     5735                <element name="h" type="float" min="0" max="1" default="0.0"/>
    69035736                <element name="i" type="string"/>
    69045737                <element name="ing" type="float" min="0" max="1" default="0.25"/>
     
    69085741                <element name="rz" type="float"/>
    69095742                <element name="s" type="float" min="0.1" max="10" default="1.0"/>
     5743                <element name="sh" type="integer" min="0" max="3" default="0"/>
     5744                <element name="sx" type="float" min="0.001" max="1000" default="1.0"/>
     5745                <element name="sy" type="float" min="0.001" max="1000" default="1.0"/>
     5746                <element name="sz" type="float" min="0.001" max="1000" default="1.0"/>
    69105747                <element name="vb" type="float" min="0" max="1" default="0.5"/>
    69115748                <element name="vg" type="float" min="0" max="1" default="0.5"/>
     
    69245761        <type name="VertexBuilder" context="Visual style definition">
    69255762                <element name="material" type="Object"/>
    6926                 <element name="node" type="integer">
     5763                <element name="node" type="SSGNode">
    69275764                        <description><![CDATA[This field returns the geometry node for use in GeomBuilder. You have to set all relevant geometry properties before using this field. The usual sequence:
    692857651. newXXX - selects the geometry type (see your OpenGL manual for explanation)
     
    69625799        </type>
    69635800        <type name="VisParams" context="Visual style definition">
     5801                <element name="axes" type="integer" min="0" max="1" default="0">
     5802                        <description><![CDATA[]]></description>
     5803                </element>
     5804                <element name="bbox" type="integer" min="0" max="1" default="1">
     5805                        <description><![CDATA[]]></description>
     5806                </element>
     5807                <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040">
     5808                        <description><![CDATA[]]></description>
     5809                </element>
    69645810                <element name="changedProperty" type="integer"/>
    69655811                <element name="changedPropertyId" type="string"/>
    6966                 <element name="modelpan" type="integer" min="0" max="3">
    6967                         <description><![CDATA[]]></description>
    6968                 </element>
    6969                 <element name="shownames" type="integer" min="0" max="1">
    6970                         <description><![CDATA[]]></description>
    6971                 </element>
    6972                 <element name="worldpan" type="integer" min="0" max="3">
     5812                <element name="joint_width" type="integer" min="10" max="150" default="100">
     5813                        <description><![CDATA[]]></description>
     5814                </element>
     5815                <element name="modelpan" type="integer" min="0" max="3" default="1">
     5816                        <description><![CDATA[]]></description>
     5817                </element>
     5818                <element name="shadows" type="integer" min="0" max="1" default="1">
     5819                        <description><![CDATA[]]></description>
     5820                </element>
     5821                <element name="shownames" type="integer" min="0" max="1" default="0">
     5822                        <description><![CDATA[]]></description>
     5823                </element>
     5824                <element name="symmetryplane" type="integer" min="0" max="1" default="0">
     5825                        <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
     5826Use scripting and the Symmetry class to compute symmetry accurately.]]></description>
     5827                </element>
     5828                <element name="worldpan" type="integer" min="0" max="3" default="2">
    69735829                        <description><![CDATA[]]></description>
    69745830                </element>
     
    69895845                <element name="jointshadow" type="float"/>
    69905846                <element name="partshadow" type="float"/>
    6991                 <element name="rootNode" type="integer"/>
     5847                <element name="rootNode" type="SSGNode"/>
    69925848                <element name="style" type="string">
    69935849                        <description><![CDATA[visual style applied to this object]]></description>
     
    70035859        </type>
    70045860        <type name="VisualStyle" context="Visual style definition">
     5861                <element name="axes" type="integer" min="0" max="1" default="0">
     5862                        <description><![CDATA[]]></description>
     5863                </element>
     5864                <element name="bbox" type="integer" min="0" max="1" default="1">
     5865                        <description><![CDATA[]]></description>
     5866                </element>
     5867                <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040">
     5868                        <description><![CDATA[]]></description>
     5869                </element>
    70055870                <element name="changedProperty" type="integer"/>
    70065871                <element name="changedPropertyId" type="string"/>
    70075872                <element name="code" type="string"/>
    70085873                <element name="info" type="string"/>
    7009                 <element name="modelpan" type="integer" min="0" max="3">
     5874                <element name="joint_width" type="integer" min="10" max="150" default="100">
     5875                        <description><![CDATA[]]></description>
     5876                </element>
     5877                <element name="modelpan" type="integer" min="0" max="3" default="1">
    70105878                        <description><![CDATA[]]></description>
    70115879                </element>
    70125880                <element name="name" type="string"/>
    7013                 <element name="neurons" type="integer" min="0" max="1"/>
    7014                 <element name="shownames" type="integer" min="0" max="1">
    7015                         <description><![CDATA[]]></description>
    7016                 </element>
    7017                 <element name="smooth" type="integer" min="0" max="1"/>
     5881                <element name="neurons" type="integer" min="0" max="1" default="1"/>
     5882                <element name="shadows" type="integer" min="0" max="1" default="1">
     5883                        <description><![CDATA[]]></description>
     5884                </element>
     5885                <element name="shownames" type="integer" min="0" max="1" default="0">
     5886                        <description><![CDATA[]]></description>
     5887                </element>
     5888                <element name="smooth" type="integer" min="0" max="1" default="1"/>
    70185889                <element name="style" type="string"/>
    7019                 <element name="tex" type="integer" min="0" max="2"/>
    7020                 <element name="worldpan" type="integer" min="0" max="3">
     5890                <element name="symmetryplane" type="integer" min="0" max="1" default="0">
     5891                        <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
     5892Use scripting and the Symmetry class to compute symmetry accurately.]]></description>
     5893                </element>
     5894                <element name="tex" type="integer" min="0" max="2" default="1"/>
     5895                <element name="worldpan" type="integer" min="0" max="3" default="2">
    70215896                        <description><![CDATA[]]></description>
    70225897                </element>
     
    70605935                </element>
    70615936                <element name="wrldtyp" type="integer" min="0" max="2" default="0"/>
    7062                 <element name="wrldwat" type="float" min="-20" max="50" default="-1.0"/>
     5937                <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/>
    70635938                <element name="wrldchg" function="true" type="void"><arguments/></element>
    70645939        </type>
     
    73226197        </type>
    73236198        <type name="ImageExport" context="Command line interface">
    7324                 <element name="imgex_compress" type="integer" min="0" max="100"/>
     6199                <element name="imgex_compress" type="integer" min="0" max="100" default="15"/>
    73256200                <element name="imgex_currframe" type="integer"/>
    73266201                <element name="imgex_enabled" type="integer" min="0" max="1"/>
    73276202                <element name="imgex_format" type="integer" min="0" max="2"/>
    73286203                <element name="imgex_lastfile" type="string"/>
    7329                 <element name="imgex_maxframes" type="integer">
     6204                <element name="imgex_maxframes" type="integer" min="0" max="1000000" default="10000">
    73306205                        <description><![CDATA[How many frames are to be generated?]]></description>
    73316206                </element>
     
    73406215(a small value means more frames and smooth animation)]]></description>
    73416216                </element>
    7342                 <element name="imgex_startf" type="integer">
     6217                <element name="imgex_startf" type="integer" min="0" max="1000000" default="0">
    73436218                        <description><![CDATA[Starting number]]></description>
    73446219                </element>
     
    74076282                <element name="code" type="string"/>
    74086283                <element name="dispinfo" type="integer" min="0" max="2"/>
     6284                <element name="excludeshows" type="string">
     6285                        <description><![CDATA[names of shows excluded from the show menu. Use * as a wildcard.]]></description>
     6286                </element>
    74096287                <element name="expdef" type="string"/>
     6288                <element name="includeshows" type="string">
     6289                        <description><![CDATA[names of shows included in the show menu. Use * as a wildcard.]]></description>
     6290                </element>
    74106291                <element name="info" type="string"/>
    74116292                <element name="mode" type="integer" min="0" max="2"/>
     
    74486329        <type name="TrackingCam" context="Command line interface">
    74496330<description><![CDATA[Camera object with the automatic target tracking ability.]]></description>
    7450                 <element name="cam_change" type="integer" min="0" max="5" default="3"/>
     6331                <element name="cam_change" type="integer" min="0" max="5" default="2"/>
    74516332                <element name="cam_chspeed" type="float" min="0.1" max="10" default="1.0"/>
    74526333                <element name="cam_dir" type="float" min="0" max="360" default="30.0"/>
     
    74646345                <element name="cam_trspeed" type="float" min="0.1" max="10" default="5.0"/>
    74656346                <element name="cam_zoom" type="float" min="0.2" max="3" default="0.8"/>
     6347                <element name="interacting" type="integer" min="0" max="2"/>
    74666348                <element name="cam_restore" function="true" type="void">
    74676349                        <description><![CDATA[Update camera position and restore automatic tracking]]></description>
     
    74766358                        </arguments>
    74776359                </element>
     6360                <element name="setOrient" function="true" type="void">
     6361                        <arguments>
     6362                                <argument type="Orient"/>
     6363                        </arguments>
     6364                </element>
    74786365                <element name="setTarget" function="true" type="void">
    74796366                        <description><![CDATA[select a new target for the camera]]></description>
     
    74946381        </type>
    74956382        <type name="VisualStyle" context="Command line interface">
     6383                <element name="axes" type="integer" min="0" max="1" default="0">
     6384                        <description><![CDATA[]]></description>
     6385                </element>
     6386                <element name="bbox" type="integer" min="0" max="1" default="1">
     6387                        <description><![CDATA[]]></description>
     6388                </element>
     6389                <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040">
     6390                        <description><![CDATA[]]></description>
     6391                </element>
    74966392                <element name="changedProperty" type="integer"/>
    74976393                <element name="changedPropertyId" type="string"/>
    74986394                <element name="code" type="string"/>
    74996395                <element name="info" type="string"/>
    7500                 <element name="modelpan" type="integer" min="0" max="3">
     6396                <element name="joint_width" type="integer" min="10" max="150" default="100">
     6397                        <description><![CDATA[]]></description>
     6398                </element>
     6399                <element name="modelpan" type="integer" min="0" max="3" default="1">
    75016400                        <description><![CDATA[]]></description>
    75026401                </element>
    75036402                <element name="name" type="string"/>
    7504                 <element name="neurons" type="integer" min="0" max="1"/>
    7505                 <element name="shownames" type="integer" min="0" max="1">
    7506                         <description><![CDATA[]]></description>
    7507                 </element>
    7508                 <element name="smooth" type="integer" min="0" max="1"/>
     6403                <element name="neurons" type="integer" min="0" max="1" default="1"/>
     6404                <element name="shadows" type="integer" min="0" max="1" default="1">
     6405                        <description><![CDATA[]]></description>
     6406                </element>
     6407                <element name="shownames" type="integer" min="0" max="1" default="0">
     6408                        <description><![CDATA[]]></description>
     6409                </element>
     6410                <element name="smooth" type="integer" min="0" max="1" default="1"/>
    75096411                <element name="style" type="string"/>
    7510                 <element name="tex" type="integer" min="0" max="2"/>
    7511                 <element name="worldpan" type="integer" min="0" max="3">
     6412                <element name="symmetryplane" type="integer" min="0" max="1" default="0">
     6413                        <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies).
     6414Use scripting and the Symmetry class to compute symmetry accurately.]]></description>
     6415                </element>
     6416                <element name="tex" type="integer" min="0" max="2" default="1"/>
     6417                <element name="worldpan" type="integer" min="0" max="3" default="2">
    75126418                        <description><![CDATA[]]></description>
    75136419                </element>
Note: See TracChangeset for help on using the changeset viewer.