CurveFilletSurfaceToRail Method |
Creates a surface between two surfaces, with a fixed rail curve on the first surface.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public bool FilletSurfaceToRail(
BrepFace faceWithCurve,
BrepFace secondFace,
double u1,
double v1,
int railDegree,
int arcDegree,
IEnumerable<double> arcSliders,
int numBezierSrfs,
bool extend,
FilletSurfaceSplitType split_type,
double tolerance,
List<Brep> out_fillets,
List<Brep> out_breps0,
List<Brep> out_breps1,
out double[] fitResults
)
Public Function FilletSurfaceToRail (
faceWithCurve As BrepFace,
secondFace As BrepFace,
u1 As Double,
v1 As Double,
railDegree As Integer,
arcDegree As Integer,
arcSliders As IEnumerable(Of Double),
numBezierSrfs As Integer,
extend As Boolean,
split_type As FilletSurfaceSplitType,
tolerance As Double,
out_fillets As List(Of Brep),
out_breps0 As List(Of Brep),
out_breps1 As List(Of Brep),
<OutAttribute> ByRef fitResults As Double()
) As Boolean
Parameters
- faceWithCurve
- Type: Rhino.GeometryBrepFace
The first face on which the curve exists - secondFace
- Type: Rhino.GeometryBrepFace
The second face - u1
- Type: SystemDouble
A parameter in the u direction of the second face at the side you want to keep after filleting. - v1
- Type: SystemDouble
A parameter in the v direction of the second face at the side you want to keep after filleting. - railDegree
- Type: SystemInt32
Desired fillet degree (3 or 5) in the u-direction, along the rails - arcDegree
- Type: SystemInt32
esired fillet degree (2, 3, 4, or 5) in the v-direction, along the fillet arcs.If 2, then the surface is rational in v - arcSliders
- Type: System.Collections.GenericIEnumerableDouble
Array of 2 sliders to shape the fillet in the arc direction, used for arcDegree = 3, 4, or 5; input { 0.0, 0.0 } to ignore
[0] (-1 to 1) slides tangent arms from base (-1) to theoretical(1)
[1] (-1 to 1) slides inner CV(s) from base (-1) to theoretical(1) - numBezierSrfs
- Type: SystemInt32
If >0, this indicates the number of equally-spaced fillet surfaces to be output in the rail direction, each surface Bézier in u. - extend
- Type: SystemBoolean
If true, then when one input surface is longer than the other, the fillet surface is extended to the input surface edges. - split_type
- Type: Rhino.GeometryFilletSurfaceSplitType
The split type - tolerance
- Type: SystemDouble
The tolerance. In in doubt, the the document's absolute tolerance. - out_fillets
- Type: System.Collections.GenericListBrep
The results of the fillet calculation. - out_breps0
- Type: System.Collections.GenericListBrep
The trim or split results of the Brep owned by faceWithCurve. - out_breps1
- Type: System.Collections.GenericListBrep
The trim or split results of the Brep owned by pFace1. - fitResults
- Type: SystemDouble
array of doubles indicating fitting results:
[0] max 3d point deviation along surface 0
[1] max 3d point deviation along surface 1
[2] max angle deviation along surface 0 (in degrees)
[3] max angle deviation along surface 1 (in degrees)
[4] max angle deviation between Bézier surfaces(in degrees)
[5] max curvature difference between Bézier surfaces
Return Value
Type:
Boolean true if successful, false otherwise.
Remarks The trim or split input Breps are in OutBreps0, and OutBreps1. If the input faces are
from the same Brep, nothing will be added to OutBreps1.If you specified a split type
of RhinoFilletSurfaceSplitType::Nothing, then nothing will be added to either OutBreps0
or OutBreps1.
See Also