poly_select_faces
Select faces by index, material ID, normal direction, or height range and keep the selection active for follow-up operations such as extrusion. Returns the selected face indices.
Instructions
按索引、材质 ID、法线方向或高度范围选择面,并保留该选择(进入面子对象模式)。返回被选中面的索引,方便后续用 poly_extrude_faces 等继续操作。 [English] Select faces by index, material ID, normal direction or height range, and leave the selection active (enters face sub-object mode). Returns the selected face indices so you can follow up with poly_extrude_faces etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faces | No | 按索引选择这些面;与下面条件互斥时优先。 | Select these faces by index; takes priority over the filters below. | |
| objects | No | 对象名列表;省略则使用当前选择。 | Object names; omit to use the current selection. | |
| heightMax | No | 高度范围上限(场景单位)。 | Height range upper bound (scene units). | |
| heightMin | No | 高度范围下限(场景单位)。 | Height range lower bound (scene units). | |
| heightAxis | No | 按高度范围选:x / y / z。 | Select by height on axis: x / y / z. | |
| materialId | No | 选择材质 ID 等于该值的面。 | Select faces whose material ID equals this. | |
| normalAxis | No | 按法线方向选:x / y / z。 | Select by normal axis: x / y / z. | |
| normalSign | No | 法线方向正负:+ 取同向,- 取反向,默认 +。 | Normal sign: + same direction, - opposite, default +. |