|
1072 | 1072 | <attribute name="specular" type="array" array_type="float" array_size="3"/> |
1073 | 1073 | </attributes> |
1074 | 1074 | </element> |
| 1075 | + <element name="flexcomp" repeated="true"> |
| 1076 | + <attributes> |
| 1077 | + <attribute name="name" type="identifier"/> |
| 1078 | + <attribute name="type" type="keyword" valid_values="grid box cylinder ellipsoid mesh gmsh direct"/> |
| 1079 | + <attribute name="count" type="array" array_type="int" array_size="3"/> |
| 1080 | + <attribute name="spacing" type="array" array_type="int" array_size="3"/> |
| 1081 | + <attribute name="scale" type="array" array_type="int" array_size="3"/> |
| 1082 | + <attribute name="radius" type="float"/> |
| 1083 | + <attribute name="rigid" type="int"/> |
| 1084 | + <attribute name="mass" type="float"/> |
| 1085 | + <attribute name="inertiabox" type="float"/> |
| 1086 | + <attribute name="file" type="string"/> |
| 1087 | + <attribute name="point" type="string"/> |
| 1088 | + <attribute name="element" type="string"/> |
| 1089 | + <attribute name="texcoord" type="string"/> |
| 1090 | + <attribute name="material" type="string"/> |
| 1091 | + <attribute name="rgba" type="array" array_type="float" array_size="2"/> |
| 1092 | + <attribute name="flatskin" type="int"/> |
| 1093 | + <attribute name="pos" type="array" array_type="int" array_size="3"/> |
| 1094 | + <attribute name="quat" type="array" array_type="int" array_size="4"/> |
| 1095 | + <attribute name="axisangle" type="array" array_type="float" array_size="4"/> |
| 1096 | + <attribute name="xyaxis" type="array" array_type="float" array_size="6"/> |
| 1097 | + <attribute name="zaxis" type="array" array_type="float" array_size="3"/> |
| 1098 | + <attribute name="euler" type="array" array_type="float" array_size="3"/> |
| 1099 | + </attributes> |
| 1100 | + <children> |
| 1101 | + <element name="plugin" repeated="true" namespace="flexcomp"> |
| 1102 | + <attributes> |
| 1103 | + <attribute name="name" type="string"/> |
| 1104 | + <attribute name="plugin" type="string"/> |
| 1105 | + <attribute name="instance" type="reference" reference_namespace="plugin"/> |
| 1106 | + </attributes> |
| 1107 | + <children> |
| 1108 | + <element name="config" repeated="true"> |
| 1109 | + <attributes> |
| 1110 | + <attribute name="key" type="string"/> |
| 1111 | + <attribute name="value" type="string"/> |
| 1112 | + </attributes> |
| 1113 | + </element> |
| 1114 | + </children> |
| 1115 | + </element> |
| 1116 | + <element name="edge" repeated="true"> |
| 1117 | + <attributes> |
| 1118 | + <attribute name="equality" type="int"/> |
| 1119 | + <attribute name="solref" type="array" array_type="float" array_size="2"/> |
| 1120 | + <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
| 1121 | + <attribute name="stiffness" type="float"/> |
| 1122 | + <attribute name="damping" type="float"/> |
| 1123 | + </attributes> |
| 1124 | + </element> |
| 1125 | + <element name="contact" repeated="true"> |
| 1126 | + <attributes> |
| 1127 | + <attribute name="contype" type="int"/> |
| 1128 | + <attribute name="conaffinity" type="int"/> |
| 1129 | + <attribute name="condim" type="int"/> |
| 1130 | + <attribute name="priority" type="int"/> |
| 1131 | + <attribute name="friction" type="array" array_type="float" array_size="3"/> |
| 1132 | + <attribute name="solmix" type="float"/> |
| 1133 | + <attribute name="solref" type="array" array_type="float" array_size="2"/> |
| 1134 | + <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
| 1135 | + <attribute name="margin" type="float"/> |
| 1136 | + <attribute name="gap" type="float"/> |
| 1137 | + <attribute name="internal" type="int"/> |
| 1138 | + <attribute name="selfcollide" type="int"/> |
| 1139 | + <attribute name="activelayers" type="int"/> |
| 1140 | + </attributes> |
| 1141 | + </element> |
| 1142 | + <element name="pin" repeated="true"> |
| 1143 | + <attributes> |
| 1144 | + <attribute name="id" type="string"/> |
| 1145 | + <attribute name="range" type="string"/> |
| 1146 | + <attribute name="grid" type="string"/> |
| 1147 | + <attribute name="gridrange" type="string"/> |
| 1148 | + </attributes> |
| 1149 | + </element> |
| 1150 | + </children> |
| 1151 | + </element> |
1075 | 1152 | <element name="composite" repeated="true"> |
1076 | 1153 | <attributes> |
1077 | 1154 | <attribute name="prefix" type="identifier"/> |
|
1380 | 1457 | <attribute name="specular" type="array" array_type="float" array_size="3"/> |
1381 | 1458 | </attributes> |
1382 | 1459 | </element> |
| 1460 | + <element name="flexcomp" repeated="true"> |
| 1461 | + <attributes> |
| 1462 | + <attribute name="name" type="identifier"/> |
| 1463 | + <attribute name="type" type="keyword" valid_values="grid box cylinder ellipsoid mesh gmsh direct"/> |
| 1464 | + <attribute name="count" type="array" array_type="int" array_size="3"/> |
| 1465 | + <attribute name="spacing" type="array" array_type="int" array_size="3"/> |
| 1466 | + <attribute name="scale" type="array" array_type="int" array_size="3"/> |
| 1467 | + <attribute name="radius" type="float"/> |
| 1468 | + <attribute name="rigid" type="int"/> |
| 1469 | + <attribute name="mass" type="float"/> |
| 1470 | + <attribute name="inertiabox" type="float"/> |
| 1471 | + <attribute name="file" type="string"/> |
| 1472 | + <attribute name="point" type="string"/> |
| 1473 | + <attribute name="element" type="string"/> |
| 1474 | + <attribute name="texcoord" type="string"/> |
| 1475 | + <attribute name="material" type="string"/> |
| 1476 | + <attribute name="rgba" type="array" array_type="float" array_size="2"/> |
| 1477 | + <attribute name="flatskin" type="int"/> |
| 1478 | + <attribute name="pos" type="array" array_type="int" array_size="3"/> |
| 1479 | + <attribute name="quat" type="array" array_type="int" array_size="4"/> |
| 1480 | + <attribute name="axisangle" type="array" array_type="float" array_size="4"/> |
| 1481 | + <attribute name="xyaxis" type="array" array_type="float" array_size="6"/> |
| 1482 | + <attribute name="zaxis" type="array" array_type="float" array_size="3"/> |
| 1483 | + <attribute name="euler" type="array" array_type="float" array_size="3"/> |
| 1484 | + </attributes> |
| 1485 | + <children> |
| 1486 | + <element name="plugin" repeated="true" namespace="flexcomp"> |
| 1487 | + <attributes> |
| 1488 | + <attribute name="name" type="string"/> |
| 1489 | + <attribute name="plugin" type="string"/> |
| 1490 | + <attribute name="instance" type="reference" reference_namespace="plugin"/> |
| 1491 | + </attributes> |
| 1492 | + <children> |
| 1493 | + <element name="config" repeated="true"> |
| 1494 | + <attributes> |
| 1495 | + <attribute name="key" type="string"/> |
| 1496 | + <attribute name="value" type="string"/> |
| 1497 | + </attributes> |
| 1498 | + </element> |
| 1499 | + </children> |
| 1500 | + </element> |
| 1501 | + <element name="edge" repeated="true"> |
| 1502 | + <attributes> |
| 1503 | + <attribute name="equality" type="int"/> |
| 1504 | + <attribute name="solref" type="array" array_type="float" array_size="2"/> |
| 1505 | + <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
| 1506 | + <attribute name="stiffness" type="float"/> |
| 1507 | + <attribute name="damping" type="float"/> |
| 1508 | + </attributes> |
| 1509 | + </element> |
| 1510 | + <element name="contact" repeated="true"> |
| 1511 | + <attributes> |
| 1512 | + <attribute name="contype" type="int"/> |
| 1513 | + <attribute name="conaffinity" type="int"/> |
| 1514 | + <attribute name="condim" type="int"/> |
| 1515 | + <attribute name="priority" type="int"/> |
| 1516 | + <attribute name="friction" type="array" array_type="float" array_size="3"/> |
| 1517 | + <attribute name="solmix" type="float"/> |
| 1518 | + <attribute name="solref" type="array" array_type="float" array_size="2"/> |
| 1519 | + <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
| 1520 | + <attribute name="margin" type="float"/> |
| 1521 | + <attribute name="gap" type="float"/> |
| 1522 | + <attribute name="internal" type="int"/> |
| 1523 | + <attribute name="selfcollide" type="int"/> |
| 1524 | + <attribute name="activelayers" type="int"/> |
| 1525 | + </attributes> |
| 1526 | + </element> |
| 1527 | + <element name="pin" repeated="true"> |
| 1528 | + <attributes> |
| 1529 | + <attribute name="id" type="string"/> |
| 1530 | + <attribute name="range" type="string"/> |
| 1531 | + <attribute name="grid" type="string"/> |
| 1532 | + <attribute name="gridrange" type="string"/> |
| 1533 | + </attributes> |
| 1534 | + </element> |
| 1535 | + </children> |
| 1536 | + </element> |
1383 | 1537 | <element name="composite" repeated="true"> |
1384 | 1538 | <attributes> |
1385 | 1539 | <attribute name="prefix" type="identifier"/> |
|
1504 | 1658 | </element> |
1505 | 1659 | </children> |
1506 | 1660 | </element> |
| 1661 | + <element name="deformable"> |
| 1662 | + <children> |
| 1663 | + <element name="flex" repeated="true" namespace="deformable"> |
| 1664 | + <attributes> |
| 1665 | + <attribute name="name" type="identifier"/> |
| 1666 | + <attribute name="group" type="reference" reference_namespace="default"/> |
| 1667 | + <attribute name="dim" type="reference" required="true" reference_namespace="geom"/> |
| 1668 | + <attribute name="radius" type="reference" required="true" reference_namespace="geom"/> |
| 1669 | + <attribute name="material" type="int"/> |
| 1670 | + <attribute name="rgba" type="array" array_type="float" array_size="5"/> |
| 1671 | + <attribute name="flatskin" type="array" array_type="float" array_size="2"/> |
| 1672 | + <attribute name="body" type="array" array_type="float" array_size="2"/> |
| 1673 | + <attribute name="vertex" type="array" array_type="float" array_size="5"/> |
| 1674 | + <attribute name="element" type="float"/> |
| 1675 | + <attribute name="texcoord" type="float"/> |
| 1676 | + </attributes> |
| 1677 | + <children> |
| 1678 | + <element name="edge" repeated="true"> |
| 1679 | + <attributes> |
| 1680 | + <attribute name="stiffness" type="float"/> |
| 1681 | + <attribute name="damping" type="float"/> |
| 1682 | + </attributes> |
| 1683 | + </element> |
| 1684 | + <element name="contact" repeated="true"> |
| 1685 | + <attributes> |
| 1686 | + <attribute name="contype" type="int"/> |
| 1687 | + <attribute name="conaffinity" type="int"/> |
| 1688 | + <attribute name="condim" type="int"/> |
| 1689 | + <attribute name="priority" type="int"/> |
| 1690 | + <attribute name="friction" type="array" array_type="float" array_size="3"/> |
| 1691 | + <attribute name="solmix" type="float"/> |
| 1692 | + <attribute name="solref" type="array" array_type="float" array_size="2"/> |
| 1693 | + <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
| 1694 | + <attribute name="margin" type="float"/> |
| 1695 | + <attribute name="gap" type="float"/> |
| 1696 | + <attribute name="internal" type="int"/> |
| 1697 | + <attribute name="selfcollide" type="int"/> |
| 1698 | + <attribute name="activelayers" type="int"/> |
| 1699 | + </attributes> |
| 1700 | + </element> |
| 1701 | + </children> |
| 1702 | + </element> |
| 1703 | + <element name="skin" repeated="true" namespace="deformable"> |
| 1704 | + <attributes> |
| 1705 | + <attribute name="name" type="identifier"/> |
| 1706 | + <attribute name="file" type="file" path_namespace="mesh"/> |
| 1707 | + <attribute name="vertex" type="array" array_type="float"/> |
| 1708 | + <attribute name="texcoord" type="array" array_type="float"/> |
| 1709 | + <attribute name="face" type="array" array_type="int"/> |
| 1710 | + <attribute name="inflate" type="float"/> |
| 1711 | + <attribute name="material" type="reference"/> |
| 1712 | + <attribute name="rgba" type="array" array_type="float" array_size="4"/> |
| 1713 | + <attribute name="group" type="int"/> |
| 1714 | + </attributes> |
| 1715 | + <children> |
| 1716 | + <element name="bone" repeated="true"> |
| 1717 | + <attributes> |
| 1718 | + <attribute name="body" type="reference" required="true"/> |
| 1719 | + <attribute name="bindpos" type="array" array_type="float" array_size="3" required="true"/> |
| 1720 | + <attribute name="bindquat" type="array" array_type="float" array_size="4" required="true"/> |
| 1721 | + <attribute name="vertid" type="array" array_type="int" required="true"/> |
| 1722 | + <attribute name="vertweight" type="array" array_type="float" required="true"/> |
| 1723 | + </attributes> |
| 1724 | + </element> |
| 1725 | + </children> |
| 1726 | + </element> |
| 1727 | + </children> |
| 1728 | + </element> |
1507 | 1729 | <element name="contact"> |
1508 | 1730 | <children> |
1509 | 1731 | <element name="pair" repeated="true" namespace="contact"> |
|
1582 | 1804 | <attribute name="polycoef" type="array" array_type="float" array_size="5"/> |
1583 | 1805 | </attributes> |
1584 | 1806 | </element> |
1585 | | - <element name="distance" repeated="true" namespace="equality"> |
| 1807 | + <element name="flex" repeated="true" namespace="equality"> |
1586 | 1808 | <attributes> |
1587 | 1809 | <attribute name="name" type="identifier"/> |
1588 | 1810 | <attribute name="class" type="reference" reference_namespace="default"/> |
1589 | 1811 | <attribute name="active" type="keyword" valid_values="false true"/> |
1590 | 1812 | <attribute name="solref" type="array" array_type="float" array_size="2"/> |
1591 | 1813 | <attribute name="solimp" type="array" array_type="float" array_size="5"/> |
1592 | | - <attribute name="geom1" type="reference" required="true" reference_namespace="geom"/> |
1593 | | - <attribute name="geom2" type="reference" required="true" reference_namespace="geom"/> |
1594 | | - <attribute name="distance" type="float"/> |
| 1814 | + <attribute name="flex" type="string"/> |
1595 | 1815 | </attributes> |
1596 | 1816 | </element> |
1597 | 1817 | </children> |
|
0 commit comments