SplitBrep

Splits a brep.  A brep can be either a surface with a single face or a polysurface.

Syntax

rhinoscriptsyntax.SplitBrep (brep, cutter, delete_input=False)

Parameters

brep

Required.  String or Guid.  The identifier of the brep object to split.

cutter

Required.  String or Guid.  The identifier of the brep object to split with.

delete_input

Optional.  Boolean.  Delete input brep.  If omitted, the input brep will not be deleted (False).

Returns

List

The identifiers of the new brep objects if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

filter = rs.filter.surface + rs.filter.polysurface

brep = rs.GetObject("Select brep to split", filter)

cutter = rs.GetObject("Select cutting brep", filter)

rs.SplitBrep ( brep, cutter )

Also See

IsBrep