Interaction Tag 交互标签Basic 基础Tag 标签Scripting 脚本Output 输出Poly Info 保利信息科技有限公司Proxy 代理人

Poly Info

保利信息科技有限公司

Similar to the Output tab’s settings, these settings are also primarily designed to be referenced by XPresso/scripts and used to execute actions. This tab’s settings can also be used to determine the cursor’s position over a tagged obect to, for example, be modify it at point level, which even makes it possible to set up simple custom tools using XPresso/scripts (one example would be that each point over which the cursor is positioned while pressing LMB will be moved 10 cm along the X axis).

与 Output 选项卡的设置类似,这些设置也主要设计为由 XPresso/scripts 引用,并用于执行操作。此选项卡的设置还可用于确定光标在标记对象上的位置,例如,在点级别修改光标,这甚至可以使用 XPresso/scripts 设置简单的自定义工具(例如,按 LMB 时光标所在的每个点将沿 x 轴移动10厘米)。

Note: The object must be a polygonal object (Primitives and Generators cannot be used)! Note also that the evaluation/output of this data is CPU-intensive and objects with very high polygon counts can even bog down a computer completely.

注意: 对象必须是多边形对象(不能使用原语和生成器) !还要注意,这些数据的计算/输出是 cpu 密集型的,多边形计数非常高的对象甚至可能使计算机完全陷入困境。

Calculate Polygon Info

计算多边形信息

Contrary to the other settings, this and the next setting can be defined by the user. Since outputting the polygon information requires CPU power, this option should be disabled if not needed.

与其他设置相反,这个和下一个设置可以由用户定义。因为输出多边形信息需要 CPU 的能量,所以如果不需要,应该禁用此选项。

Live Update During Drag

拖拽期间的实时更新

After an object has been clicked with the LMB remaining pressed, polygon values will be output to the Poly Info settings. This option can be disabled if you do not require continuous information output regarding these values.

单击一个对象后,LMB 仍然被压,多边形值将输出到 Poly Info 设置。如果您不需要连续输出有关这些值的信息,则可以禁用此选项。

Hit

击中

If the cursor encounters a polygon, a TRUE value will be output (the tweak process can begin at a distance of several pixels from the object where no polygon is encountered).

如果光标遇到一个多边形,将输出一个 TRUE 值(调整过程可以从距离没有遇到多边形的对象几个像素的距离开始)。

Hit Point[XYZ ]

生命点[ XYZ ]

This setting outputs the cursor location on the object in global coordinates. Since GPU framework values are used, these values will not be absolutely precise.

此设置以全局坐标输出对象上的光标位置。由于使用了 GPU 框架值,这些值不会绝对精确。

Polygon Index[-2147483648..1000000000]
Edge Index[-2147483648..1000000000]
Point Index[-2147483648..1000000000]

多边形索引[-2147483648. . 10000000000]边缘索引[-2147483648. . 100000000000]点索引[-2147483648. . 1000000000000]

Points, edges and polygons are numbered internally in ascending order starting from 0 (this is shown in the Structure Manager for points and polygons). These settings output the numbers for elements over which the cursor lies (or of the nearest element). These index numbers can, for example, be output to the ports of point or polygon nodes.

点、边和多边形内部按从0开始的升序编号(点和多边形在构造管理器中显示)。这些设置输出光标所在的元素(或最近的元素)的编号。例如,这些索引号可以输出到点或多边形节点的端口。

This only works if the cursor actually encounters a polygon, i.e., if Hit is TRUE in a boolean sense.

只有当光标实际上遇到一个多边形时,这种方法才有效,例如,如果 Hit 在布尔值意义上为 TRUE。

Selection Tag

选择标签

If selections from a tagged object have been saved to a Set Selection tag, the tag over which the cursor lies will be displayed in this field. What can be done using this function can be seen in the following example above or under Dynamic Proxies.

如果已标记对象的选择已保存到 Set Selection 标记中,则光标所在的标记将显示在该字段中。使用这个函数可以在上面的例子或者动态代理中看到。

Selection Tag Index[-2147483648..2147483647]

遴选标签索引[-2147483648. . 2147483647]

All Selection tags are numbered internally in ascending order. The number of the tag over which the cursor lies will be output. If the cursor does not lie over a selection, a value of -1 will be output.

所有选择标记内部按升序编号。将输出光标位于其上的标记号。如果光标不位于选定内容之上,则输出值-1。