Create constant radius rolling ball fillets between two surfaces. Note, this function does not trim the original surfaces to the fillets.
rhinoscriptsyntax.FilletSurfaces (surface0, surface1, radius, uvparam0=None, uvparam1=None)
rhinoscript.surface.FilletSurfaces (surface0, surface1, radius, uvparam0=None, uvparam1=None)
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. |
List |
The ids of the surfaces created. |
None |
If not successful, or on error. |
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).
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)