Rhino.SplitSurface (strSurface, intDir, dblParameter [, blnDelete])
ParametersstrSurface | Required. String. The identifier of the surface object to split. | intDir | Required. Number. The direction to split. If 0 (U), then the surface is split vertically. If 1 (V), then the surface is split horizontally. | dblParameter | Required. Number. The parameter, in the domain returned by SurfaceDomain(strSurface, intDir), to split at. | blnDelete | Optional. Boolean. Delete input surface. If omitted, the input surface will not be deleted (False). |
dblParameter 曲面切開的位置由 SurfaceDomain 曲面的域值來定義
按照你要的功能可以先將點拉回曲面 SurfaceClosestPoint 求出曲面位置回填 dblParameter 進行分割
|