|
1101 | 1101 | <attribute name="type" type="keyword" valid_values="grid box cylinder ellipsoid mesh gmsh direct"/> |
1102 | 1102 | <attribute name="count" type="array" array_type="int" array_size="3"/> |
1103 | 1103 | <attribute name="spacing" type="array" array_type="int" array_size="3"/> |
1104 | | - <attribute name="scale" type="array" array_type="int" array_size="3"/> |
| 1104 | + <attribute name="scale" type="array" array_type="float" array_size="3"/> |
1105 | 1105 | <attribute name="radius" type="float"/> |
1106 | 1106 | <attribute name="rigid" type="int"/> |
1107 | 1107 | <attribute name="mass" type="float"/> |
|
1111 | 1111 | <attribute name="element" type="string"/> |
1112 | 1112 | <attribute name="texcoord" type="string"/> |
1113 | 1113 | <attribute name="material" type="string"/> |
1114 | | - <attribute name="rgba" type="array" array_type="float" array_size="2"/> |
| 1114 | + <attribute name="rgba" type="array" array_type="float" array_size="4"/> |
1115 | 1115 | <attribute name="flatskin" type="int"/> |
1116 | | - <attribute name="pos" type="array" array_type="int" array_size="3"/> |
| 1116 | + <attribute name="pos" type="array" array_type="float" array_size="3"/> |
1117 | 1117 | <attribute name="quat" type="array" array_type="int" array_size="4"/> |
1118 | 1118 | <attribute name="axisangle" type="array" array_type="float" array_size="4"/> |
1119 | 1119 | <attribute name="xyaxis" type="array" array_type="float" array_size="6"/> |
1120 | 1120 | <attribute name="zaxis" type="array" array_type="float" array_size="3"/> |
1121 | 1121 | <attribute name="euler" type="array" array_type="float" array_size="3"/> |
| 1122 | + <attribute name="dim" type="int" required="true"/> |
1122 | 1123 | </attributes> |
1123 | 1124 | <children> |
1124 | 1125 | <element name="plugin" repeated="true" namespace="flexcomp"> |
|
1138 | 1139 | </element> |
1139 | 1140 | <element name="edge" repeated="true"> |
1140 | 1141 | <attributes> |
1141 | | - <attribute name="equality" type="int"/> |
| 1142 | + <attribute name="equality" type="string" valid_values="true false"/> |
1142 | 1143 | <attribute name="solref" type="array" array_type="float" array_size="2"/> |
1143 | 1144 | <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
1144 | 1145 | <attribute name="stiffness" type="float"/> |
|
1158 | 1159 | <attribute name="margin" type="float"/> |
1159 | 1160 | <attribute name="gap" type="float"/> |
1160 | 1161 | <attribute name="internal" type="int"/> |
1161 | | - <attribute name="selfcollide" type="int"/> |
| 1162 | + <attribute name="selfcollide" type="string" valid_values="none narrow bvh sap auto"/> |
1162 | 1163 | <attribute name="activelayers" type="int"/> |
1163 | 1164 | </attributes> |
1164 | 1165 | </element> |
|
1486 | 1487 | <attribute name="type" type="keyword" valid_values="grid box cylinder ellipsoid mesh gmsh direct"/> |
1487 | 1488 | <attribute name="count" type="array" array_type="int" array_size="3"/> |
1488 | 1489 | <attribute name="spacing" type="array" array_type="int" array_size="3"/> |
1489 | | - <attribute name="scale" type="array" array_type="int" array_size="3"/> |
| 1490 | + <attribute name="scale" type="array" array_type="float" array_size="3"/> |
1490 | 1491 | <attribute name="radius" type="float"/> |
1491 | 1492 | <attribute name="rigid" type="int"/> |
1492 | 1493 | <attribute name="mass" type="float"/> |
|
1496 | 1497 | <attribute name="element" type="string"/> |
1497 | 1498 | <attribute name="texcoord" type="string"/> |
1498 | 1499 | <attribute name="material" type="string"/> |
1499 | | - <attribute name="rgba" type="array" array_type="float" array_size="2"/> |
| 1500 | + <attribute name="rgba" type="array" array_type="float" array_size="4"/> |
1500 | 1501 | <attribute name="flatskin" type="int"/> |
1501 | | - <attribute name="pos" type="array" array_type="int" array_size="3"/> |
| 1502 | + <attribute name="pos" type="array" array_type="float" array_size="3"/> |
1502 | 1503 | <attribute name="quat" type="array" array_type="int" array_size="4"/> |
1503 | 1504 | <attribute name="axisangle" type="array" array_type="float" array_size="4"/> |
1504 | 1505 | <attribute name="xyaxis" type="array" array_type="float" array_size="6"/> |
|
1523 | 1524 | </element> |
1524 | 1525 | <element name="edge" repeated="true"> |
1525 | 1526 | <attributes> |
1526 | | - <attribute name="equality" type="int"/> |
| 1527 | + <attribute name="equality" type="string" valid_values="true false"/> |
1527 | 1528 | <attribute name="solref" type="array" array_type="float" array_size="2"/> |
1528 | 1529 | <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
1529 | 1530 | <attribute name="stiffness" type="float"/> |
|
1543 | 1544 | <attribute name="margin" type="float"/> |
1544 | 1545 | <attribute name="gap" type="float"/> |
1545 | 1546 | <attribute name="internal" type="int"/> |
1546 | | - <attribute name="selfcollide" type="int"/> |
| 1547 | + <attribute name="selfcollide" type="string" valid_values="none narrow bvh sap auto"/> |
1547 | 1548 | <attribute name="activelayers" type="int"/> |
1548 | 1549 | </attributes> |
1549 | 1550 | </element> |
|
1690 | 1691 | <attribute name="dim" type="reference" required="true" reference_namespace="geom"/> |
1691 | 1692 | <attribute name="radius" type="reference" required="true" reference_namespace="geom"/> |
1692 | 1693 | <attribute name="material" type="int"/> |
1693 | | - <attribute name="rgba" type="array" array_type="float" array_size="5"/> |
| 1694 | + <attribute name="rgba" type="array" array_type="float" array_size="4"/> |
1694 | 1695 | <attribute name="flatskin" type="array" array_type="float" array_size="2"/> |
1695 | 1696 | <attribute name="body" type="array" array_type="float" array_size="2"/> |
1696 | 1697 | <attribute name="vertex" type="array" array_type="float" array_size="5"/> |
|
1717 | 1718 | <attribute name="margin" type="float"/> |
1718 | 1719 | <attribute name="gap" type="float"/> |
1719 | 1720 | <attribute name="internal" type="int"/> |
1720 | | - <attribute name="selfcollide" type="int"/> |
| 1721 | + <attribute name="selfcollide" type="string" valid_values="none narrow bvh sap auto"/> |
1721 | 1722 | <attribute name="activelayers" type="int"/> |
1722 | 1723 | </attributes> |
1723 | 1724 | </element> |
|
0 commit comments