FilletSurfaces

Create constant radius rolling ball fillets between two surfaces. Note, this function does not trim the original surfaces to the fillets.

Syntax

rhinoscriptsyntax.FilletSurfaces (surface0, surface1, radius, uvparam0=None, uvparam1=None)

rhinoscript.surface.FilletSurfaces (surface0, surface1, radius, uvparam0=None, uvparam1=None)

Parameters

surface0

Required.  String.  The identifier of the first surface object.

surface1

Required.  String.  The identifier of the second surface object.

radius

Required.  Number.  A positive fillet radius.

uvparam0

Optional.  Tuple of two numbers.  A u,v surface parameter of surface0 near where the fillet is expected to hit the surface.

uvparam1

Optional.  Tuple of two numbers.  A u,v surface parameter of surface1 near where the fillet is expected to hit the surface.

Returns

List

The ids of the surfaces created.

None

If not successful, or on error.

Remarks

  uvparam0 and uvparam1 determine the directions of the offsets.  The surfaces will be offset towards the middle of the segment from surface0(uvparam0) to surface1(uvparam1).

Example

import rhinoscriptsyntax as rs

surface0 = rs.GetObject("First surface", rs.filter.surface)

surface1 = rs.GetObject("Second surface", rs.filter.surface)

rs.FilletSurfaces(surface0, surface1, 2.0)

Also See

IsSurface