表演指令集
<p>[TOC]</p>
<h2>移动</h2>
<p><strong>参数说明</strong>
Element_0:元器件guid
Position_0:起始坐标,世界坐标值
Position_1:终点坐标,世界坐标值
Internal_0:间隔秒数</p>
<pre><code class="language-json"> {
"ActionType": "MoveAction",
"Parameters": {
"Element_0": "c390999b-1cef-49c0-98f5-095804311ee9",
"Position_0": {
"x": 0.102427f,
"y": 0.947878f,
"z": 1.25535f
},
"Position_1": {
"x": 0.00322068f,
"y": 0.947879f,
"z": 1.36067f
},
"Internal_0": "2"
}
},</code></pre>
<h2>吸附</h2>
<p><strong>参数说明</strong>
Element_0: 起始元器件guid
Element_1: 目标元器件guid
Path_0: 被吸附路径,
Path_1: 吸附目标元器件路径</p>
<pre><code class="language-json"> {
"ActionType": "AdsorbAction",
"Parameters": {
"Element_0": "c390999b-1cef-49c0-98f5-095804311ee9",
"Element_1": "c390999b-1cef-49c0-98f5-095804311ee9",
"Path_0": "abc/cde",
"Path_1": "abc/cde"
}
},</code></pre>
<h2>双手握</h2>
<p><strong>参数说明</strong>
Element_0: 触发双手握的元器件</p>
<pre><code class="language-json"> {
"Index": 3,
"ActionType": "BothHandHoldAction",
"Parameters": {
"Element_0": "c390999b-1cef-49c0-98f5-095804311ee9"
}
},</code></pre>
<h2>取消双手握</h2>
<p><strong>参数说明</strong>
Element_0: 取消双手握的元器件</p>
<pre><code class="language-json"> {
"Index": 3,
"ActionType": "BothHandReleaseAction",
"Parameters": {
"Element_0": "c390999b-1cef-49c0-98f5-095804311ee9"
}
},</code></pre>
<h2>取消拼接</h2>
<p><strong>参数说明</strong>
Element_0: 取消拼接的元器件
Path_0: 拼接路径</p>
<pre><code class="language-json"> {
"Index": 3,
"ActionType": "CancelJointAction",
"Parameters": {
"Element_0": "c390999b-1cef-49c0-98f5-095804311ee9",
"Path_0": "Path_0"
}
},</code></pre>
<h2>取消吸附</h2>
<p><strong>参数说明</strong>
Element_0: 取消吸附的元器件
Path_0: 吸附路径</p>
<pre><code class="language-json"> {
"Index": 3,
"ActionType": "DisadsorbAction",
"Parameters": {
"Element_0": "c390999b-1cef-49c0-98f5-095804311ee9",
"Path_0": "Path0"
}
},</code></pre>