SetRefPlaneFromSymmetrizePolygonOp

導入

v3.5

詳細

Symmetrize Polygons オペレータから入力リファレンス プレーンに値をコピーします。

スクリプト構文

SetRefPlaneFromSymmetrizePolygonOp( RefPlane, InputObjs );

パラメータ

パラメータ タイプ 説明
RefPlane 文字列 ターゲット リファレンス プレーンの名前(XY、XZ、YZ、View 以外)
InputObjs 文字列 ソース Symmetrize Polygons オペレータ

VBScript の例

'This example creates a sphere and a reference plane,

'and uses that reference plane as a symmetry axis for

'the symmetrize polygon operator.

'

'It then reset the reference plane and set it back

'from the symmetrize polygon operator.

'Create the sphere and the reference plane

NewScene

CreatePrim "Sphere", "MeshSurface"

SetTransientReferencePlane "sphere.poly[5]"

'Apply SymmetrizePolygon on some polygons

ApplyTopoOp "SymmetrizePolygon", "sphere.poly[0-20]", siUnspecified, siPersistentOperation

'Use the reference plane as symmetry axis

SetSymmetrizePolygonOpRefPlane "sphere.polymsh.symmetrizepolygonop", "Transform"

'Reset the reference plane

SetTransientReferencePlane "sphere"

'Set the reference plane from the symmtry axis of the operator

SetRefPlaneFromSymmetrizePolygonOp "Transform", "sphere.polymsh.symmetrizepolygonop"

関連項目

SetSymmetrizePolygonOpRefPlane