Advertisement
Guest User

Untitled

a guest
Sep 16th, 2015
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.00 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  <!--  
  3.  
  4.  
  5. This scene shows two nodes, both contain two sets of mechanical states.
  6. The only difference between both nodes is, that the former has a RigidRigidMapping with globalToLocalCoords set to 1
  7.  
  8.  
  9. -->
  10. <Node    name="root"  gravity="0 -9.81 0"  dt="1e-4"  time="0"  >
  11.     <VisualStyle name="visualStyle1"  displayFlags="showVisual showBehaviorModels hideForceFields showInteractionForceFields hideCollision hideMapping hideOptions" />
  12.  
  13.  
  14.     <Node    name="with_rigidrigdmapping"   >
  15.         <MechanicalObject template="Rigid3d" name="DOFs"    showObject="1" showObjectScale="2"  translation="0 0 0" rotation="0 0 0" position="
  16. 2.6645352591e-15 2.0 -0.0            0.0 8.81239525796e-16 0.0 -1.0
  17. 3.73183485552 2.0 -0.0               0.0 8.81239525796e-16 0.0 -1.0
  18. 7.46189780804 2.0 0.0808998079489    0.0 0.0328430221811 0.0 -0.999460522429
  19. 11.1673581231 2.0 0.510627285921     0.0 0.082512809989 0.0 -0.996590004058
  20. 14.8117912976 2.0 1.3063713959       0.0 0.131978351553 0.0 -0.991252598847
  21. 18.3591349964 2.0 2.46025810387      0.0 0.181117203448 0.0 -0.983461518624
  22. 21.7742876025 2.0 3.96086948906      0.0 0.229807730913 0.0 -0.973236048866
  23. 25.023455554 2.0 5.79335672641       0.0 0.277929408937 0.0 -0.960601500961
  24. 28.0744877376 2.0 7.93958701836      0.0 0.325363120597 0.0 -0.945589149555
  25. 30.8971936301 2.0 10.3783230223      0.0 0.371991451914 0.0 -0.928236155137
  26. 33.4636420384 2.0 13.0854329977      0.0 0.417698982486 0.0 -0.908585472055
  27. 35.7484374846 2.0 16.0341295947      0.0 0.462372571198 0.0 -0.88668574219
  28. 37.7289714983 2.0 19.1952349192      0.0 0.505901636279 0.0 -0.862591174549
  29. 39.385646332 2.0 22.5374692539       0.0 0.548178429028 0.0 -0.836361411083
  30. 40.7020688841 2.0 26.0277605764      0.0 0.589098300528 0.0 -0.808061379051
  31. 41.6652129119 2.0 29.6315718137      0.0 0.62855996069 0.0 -0.777761130308
  32. 42.2655479284 2.0 33.313242592       0.0 0.666465728971 0.0 -0.745535667897
  33. 42.4971335085 2.0 37.0363421033      0.0 0.702721776175 0.0 -0.711464760399
  34. 42.5 2.0 40.7681651445      0.0 0.707106781187 0.0 -0.707106781187
  35.        " />
  36.         <FixedConstraint template="Rigid3d" name="fixOriginPosition"  indices="0 1" />
  37.         <Node name="segmentsNode" >
  38.             <MechanicalObject template="Rigid3d" name="attaches" showObject="1" showObjectScale="1"  translation="0 0 0" rotation="0 0 0"  position="
  39. 2.6645352591e-15 0.0 -0.0      0.0 8.81239525796e-16 0.0 -1.0
  40. 3.73183485552 0.0 -0.0      0.0 8.81239525796e-16 0.0 -1.0
  41. 3.73183485552 0.0 -0.0      0.0 8.81239525796e-16 0.0 -1.0
  42. 7.46189780804 0.0 0.0808998079489      0.0 0.0328430221811 0.0 -0.999460522429
  43. 7.46189780804 0.0 0.0808998079489      0.0 0.0328430221811 0.0 -0.999460522429
  44. 11.1673581231 0.0 0.510627285921      0.0 0.082512809989 0.0 -0.996590004058
  45. 11.1673581231 0.0 0.510627285921      0.0 0.082512809989 0.0 -0.996590004058
  46. 14.8117912976 0.0 1.3063713959      0.0 0.131978351553 0.0 -0.991252598847
  47. 14.8117912976 0.0 1.3063713959      0.0 0.131978351553 0.0 -0.991252598847
  48. 18.3591349964 0.0 2.46025810387      0.0 0.181117203448 0.0 -0.983461518624
  49. 18.3591349964 0.0 2.46025810387      0.0 0.181117203448 0.0 -0.983461518624
  50. 21.7742876025 0.0 3.96086948906      0 0.229807730913 0.0 -0.973236048866
  51. 21.7742876025 0.0 3.96086948906     0.0 0.229807730913 0.0 -0.973236048866
  52. 25.023455554 0.0 5.79335672641      0.0 0.277929408937 0.0 -0.960601500961
  53. 25.023455554 0.0 5.79335672641      0.0 0.277929408937 0.0 -0.960601500961
  54. 28.0744877376 0.0 7.93958701836      0.0 0.325363120597 0.0 -0.945589149555
  55. 28.0744877376 0.0 7.93958701836      0.0 0.325363120597 0.0 -0.945589149555
  56. 30.8971936301 0.0 10.3783230223      0.0 0.371991451914 0.0 -0.928236155137
  57. 30.8971936301 0.0 10.3783230223      0.0 0.371991451914 0.0 -0.928236155137
  58. 33.4636420384 0.0 13.0854329977      0.0 0.417698982486 0.0 -0.908585472055
  59. 33.4636420384 0.0 13.0854329977      0.0 0.417698982486 0.0 -0.908585472055
  60. 35.7484374846 0.0 16.0341295947      0.0 0.462372571198 0.0 -0.88668574219
  61. 35.7484374846 0.0 16.0341295947      0.0 0.462372571198 0.0 -0.88668574219
  62. 37.7289714983 0.0 19.1952349192      0.0 0.505901636279 0.0 -0.862591174549
  63. 37.7289714983 0.0 19.1952349192      0.0 0.505901636279 0.0 -0.862591174549
  64. 39.385646332 0.0 22.5374692539      0.0 0.548178429028 0.0 -0.836361411083
  65. 39.385646332 0.0 22.5374692539      0.0 0.548178429028 0.0 -0.836361411083
  66. 40.7020688841 0.0 26.0277605764      0.0 0.589098300528 0.0 -0.808061379051
  67. 40.7020688841 0.0 26.0277605764      0.0 0.589098300528 0.0 -0.808061379051
  68. 41.6652129119 0.0 29.6315718137      0.0 0.62855996069 0.0 -0.777761130308
  69. 41.6652129119 0.0 29.6315718137      0.0 0.62855996069 0.0 -0.777761130308
  70. 42.2655479284 0.0 33.313242592      0.0 0.666465728971 0.0 -0.745535667897
  71. 42.2655479284 0.0 33.313242592      0.0 0.666465728971 0.0 -0.745535667897
  72. 42.4971335085 0.0 37.0363421033      0.0 0.702721776175 0.0 -0.711464760399
  73. 42.4971335085 0.0 37.0363421033      0.0 0.702721776175 0.0 -0.711464760399
  74. 42.5 0.0 40.7681651445      0.0 0.707106781187 0.0 -0.707106781187
  75. 42.5 0.0 40.7681651445      0.0 0.707106781187 0.0 -0.707106781187
  76. 42.5 0.0 44.5      0.0 0.707106781187 0.0 -0.707106781187
  77.            " />
  78.             <RigidRigidMapping repartition="2"  globalToLocalCoords="1" />    
  79.         </Node>
  80.     </Node>
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.     <Node    name="without_rigidrigdmapping"   >
  89.         <MechanicalObject template="Rigid3d" name="DOFs"    showObject="1" showObjectScale="2"  translation="0 20 0" rotation="0 0 0" position=
  90.         "
  91. 2.6645352591e-15 2.0 -0.0            0.0 8.81239525796e-16 0.0 -1.0
  92. 3.73183485552 2.0 -0.0               0.0 8.81239525796e-16 0.0 -1.0
  93. 7.46189780804 2.0 0.0808998079489    0.0 0.0328430221811 0.0 -0.999460522429
  94. 11.1673581231 2.0 0.510627285921     0.0 0.082512809989 0.0 -0.996590004058
  95. 14.8117912976 2.0 1.3063713959       0.0 0.131978351553 0.0 -0.991252598847
  96. 18.3591349964 2.0 2.46025810387      0.0 0.181117203448 0.0 -0.983461518624
  97. 21.7742876025 2.0 3.96086948906      0.0 0.229807730913 0.0 -0.973236048866
  98. 25.023455554 2.0 5.79335672641       0.0 0.277929408937 0.0 -0.960601500961
  99. 28.0744877376 2.0 7.93958701836      0.0 0.325363120597 0.0 -0.945589149555
  100. 30.8971936301 2.0 10.3783230223      0.0 0.371991451914 0.0 -0.928236155137
  101. 33.4636420384 2.0 13.0854329977      0.0 0.417698982486 0.0 -0.908585472055
  102. 35.7484374846 2.0 16.0341295947      0.0 0.462372571198 0.0 -0.88668574219
  103. 37.7289714983 2.0 19.1952349192      0.0 0.505901636279 0.0 -0.862591174549
  104. 39.385646332 2.0 22.5374692539       0.0 0.548178429028 0.0 -0.836361411083
  105. 40.7020688841 2.0 26.0277605764      0.0 0.589098300528 0.0 -0.808061379051
  106. 41.6652129119 2.0 29.6315718137      0.0 0.62855996069 0.0 -0.777761130308
  107. 42.2655479284 2.0 33.313242592       0.0 0.666465728971 0.0 -0.745535667897
  108. 42.4971335085 2.0 37.0363421033      0.0 0.702721776175 0.0 -0.711464760399
  109. 42.5 2.0 40.7681651445      0.0 0.707106781187 0.0 -0.707106781187
  110.        " />
  111.         <FixedConstraint template="Rigid3d" name="fixOriginPosition"  indices="0 1" />
  112.         <Node name="segmentsNode" >
  113.             <MechanicalObject template="Rigid3d" name="attaches" showObject="1" showObjectScale="1"  translation="0 20 0" rotation="0 0 0"  position="
  114. 2.6645352591e-15 0.0 -0.0      0.0 8.81239525796e-16 0.0 -1.0
  115. 3.73183485552 0.0 -0.0      0.0 8.81239525796e-16 0.0 -1.0
  116. 3.73183485552 0.0 -0.0      0.0 8.81239525796e-16 0.0 -1.0
  117. 7.46189780804 0.0 0.0808998079489      0.0 0.0328430221811 0.0 -0.999460522429
  118. 7.46189780804 0.0 0.0808998079489      0.0 0.0328430221811 0.0 -0.999460522429
  119. 11.1673581231 0.0 0.510627285921      0.0 0.082512809989 0.0 -0.996590004058
  120. 11.1673581231 0.0 0.510627285921      0.0 0.082512809989 0.0 -0.996590004058
  121. 14.8117912976 0.0 1.3063713959      0.0 0.131978351553 0.0 -0.991252598847
  122. 14.8117912976 0.0 1.3063713959      0.0 0.131978351553 0.0 -0.991252598847
  123. 18.3591349964 0.0 2.46025810387      0.0 0.181117203448 0.0 -0.983461518624
  124. 18.3591349964 0.0 2.46025810387      0.0 0.181117203448 0.0 -0.983461518624
  125. 21.7742876025 0.0 3.96086948906      0 0.229807730913 0.0 -0.973236048866
  126. 21.7742876025 0.0 3.96086948906     0.0 0.229807730913 0.0 -0.973236048866
  127. 25.023455554 0.0 5.79335672641      0.0 0.277929408937 0.0 -0.960601500961
  128. 25.023455554 0.0 5.79335672641      0.0 0.277929408937 0.0 -0.960601500961
  129. 28.0744877376 0.0 7.93958701836      0.0 0.325363120597 0.0 -0.945589149555
  130. 28.0744877376 0.0 7.93958701836      0.0 0.325363120597 0.0 -0.945589149555
  131. 30.8971936301 0.0 10.3783230223      0.0 0.371991451914 0.0 -0.928236155137
  132. 30.8971936301 0.0 10.3783230223      0.0 0.371991451914 0.0 -0.928236155137
  133. 33.4636420384 0.0 13.0854329977      0.0 0.417698982486 0.0 -0.908585472055
  134. 33.4636420384 0.0 13.0854329977      0.0 0.417698982486 0.0 -0.908585472055
  135. 35.7484374846 0.0 16.0341295947      0.0 0.462372571198 0.0 -0.88668574219
  136. 35.7484374846 0.0 16.0341295947      0.0 0.462372571198 0.0 -0.88668574219
  137. 37.7289714983 0.0 19.1952349192      0.0 0.505901636279 0.0 -0.862591174549
  138. 37.7289714983 0.0 19.1952349192      0.0 0.505901636279 0.0 -0.862591174549
  139. 39.385646332 0.0 22.5374692539      0.0 0.548178429028 0.0 -0.836361411083
  140. 39.385646332 0.0 22.5374692539      0.0 0.548178429028 0.0 -0.836361411083
  141. 40.7020688841 0.0 26.0277605764      0.0 0.589098300528 0.0 -0.808061379051
  142. 40.7020688841 0.0 26.0277605764      0.0 0.589098300528 0.0 -0.808061379051
  143. 41.6652129119 0.0 29.6315718137      0.0 0.62855996069 0.0 -0.777761130308
  144. 41.6652129119 0.0 29.6315718137      0.0 0.62855996069 0.0 -0.777761130308
  145. 42.2655479284 0.0 33.313242592      0.0 0.666465728971 0.0 -0.745535667897
  146. 42.2655479284 0.0 33.313242592      0.0 0.666465728971 0.0 -0.745535667897
  147. 42.4971335085 0.0 37.0363421033      0.0 0.702721776175 0.0 -0.711464760399
  148. 42.4971335085 0.0 37.0363421033      0.0 0.702721776175 0.0 -0.711464760399
  149. 42.5 0.0 40.7681651445      0.0 0.707106781187 0.0 -0.707106781187
  150. 42.5 0.0 40.7681651445      0.0 0.707106781187 0.0 -0.707106781187
  151. 42.5 0.0 44.5      0.0 0.707106781187 0.0 -0.707106781187
  152.            " />            
  153.         </Node>
  154.     </Node>
  155.  
  156.  
  157.     </Node>
  158. </Node>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement