ReverseSurface - PYTHON 不支持

反转一个曲面物件U和V的方向。This feature can also be found in Rhino's Dir command.

To reverse the normal direction of a surface, use the FlipSurface method.

语法

Rhino.ReverseSurface (strObject, intDirection)

参数

strObject

Required.字符串。The object's identifier.

intDirection

Required.Number.The direction to reverse.Values can be added together so as to reverse more than one direction.

描述

1

Reverse the surface in the U direction.

2

Reverse the surface in the V direction.

4

Swap, or transpose, the U and V directions of the surface.

返回值

Boolean

True or False indicating success or failure.

Null

On error.

示例

Dim strObject

strObject = Rhino.GetObject("Select a surface to reverse")

If Rhino.IsSurface(strObject) Then

Rhino.ReverseSurface strObject, 1

End If

同见

FlipSurface

IsSurface