Constructors
SurfaceFilletBase
#SurfaceFilletBase
#SurfaceFilletBase
#Finalizer
~SurfaceFilletBase
#~SurfaceFilletBase()
Methods
ChangeFilletRadius
#This will clear out the existing rails and fillet surfaces, and redo the offset intersections, etc.
Parameters:
| radius (double) | The new radius |
Returns: true if successful
public static bool CreateG2ChordalQuinticFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a surface fillet using G2 chordal Quintic arc approximations as sections
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
Returns: True if successful.
public static bool CreateNonRationalCubicArcsFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a surface fillet using Non-rational Cubic arc approximations as sections
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
Returns: True if successful.
public static bool CreateNonRationalCubicFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, double TanSlider, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a fillet using non-rational Cubic sections with a tangent slider
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| TanSlider (double) | A number between -0.95 and 0.95 indicating how far to push the tangent control points toward or away from the theoretical quadratic middle control point |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
public static bool CreateNonRationalQuarticArcsFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a surface fillet using Non-rational Quartic arc approximations as sections
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
Returns: True if successful.
public static bool CreateNonRationalQuarticFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, double TanSlider, double InnerSlider, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a fillet using non-rational Quartic sections with a tangent and inner slider
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| TanSlider (double) | A number between -0.95 and 0.95 indicating how far to push the tangent control points toward or away from the theoretical quadratic middle control point |
| InnerSlider (double) | A number between -0.95 and 0.95 indicating how far to push the inner control point toward or away from the theoretical quadratic middle control point |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
public static bool CreateNonRationalQuinticArcsFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a surface fillet using Non-rational Quintic arc approximations as sections
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
Returns: True if successful.
public static bool CreateNonRationalQuinticFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, double TanSlider, double InnerSlider, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a fillet using non-rational Quintic sections with a tangent and inner slider
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| TanSlider (double) | A number between -0.95 and 0.95 indicating how far to push the tangent control points toward or away from the theoretical quadratic middle control point |
| InnerSlider (double) | A number between -0.95 and 0.95 indicating how far to push the inner control points toward or away from the theoretical quadratic middle control point |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
Returns: True if successful.
public static bool CreateRationalArcsFilletSrf(BrepFace faceA, Point2d uvA, BrepFace faceB, Point2d uvB, double radius, double tolerance, List<Brep> trimmedBrepsA, List<Brep> trimmedBrepsB, int rail_degree, bool bTrim, bool bExtend, List<Brep> Fillets)
Creates a standard surface fillet using rational arc sections
Parameters:
| faceA (BrepFace) | the first face to use constructing the fillet |
| uvA (Point2d) | The parametric u,v selection point on FaceA close to the edge to fillet |
| faceB (BrepFace) | the second face to use constructing the fillet |
| uvB (Point2d) | The parametric u,v selection point on FaceB close to the edge to fillet |
| radius (double) | The radius of the fillet |
| tolerance (double) | Tolerance to use in fitting a solution |
| trimmedBrepsA (List<Brep>) | if bTrim = true, returns the remains of FaceA trimmed to the fillet |
| trimmedBrepsB (List<Brep>) | if bTrim = true, the remains of FaceB trimmed to the fillet |
| rail_degree (int) | the degree of the rail curve |
| bTrim (bool) | if True, trim the faces and retuen those results in resultsA and resultsB |
| bExtend (bool) | if True and if one input surface is longer than the other, the fillet surface is extended to the input surface edges |
| Fillets (List<Brep>) | the resulting fillet surfaces |
Returns: True if successful.
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
Dispose
#For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
Check to see if the fillet is properly initialized. If it is not, then the selected curves, surfaces, and/or radius must be adjusted in some way before creating the fillet
make chamfer surfaces and hack them up to active pieces. Adjusts cross sections
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
Parameters:
| railDegree (int) | The degree of the rail |
| TanSlider (double) | A number from -1 to 1 indicating how far towards the theoretical rational midpoint to adjust the tangent control points. |
| bExtend (bool) | If true, when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |
| Fillets (List<Brep>) | the fillet8s that were created |
Returns: true if successful
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
public bool NonRationalQuartic(int railDegree, double TanSlider, double InnerSlider, bool bExtend, List<Brep> Fillets)
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
Parameters:
| railDegree (int) | The degree of the rail |
| TanSlider (double) | A number from -1 to 1 indicating how far towards the theoretical rational midpoint to adjust the tangent control points. |
| InnerSlider (double) | A number from -1 to 1 indicating how far towards the theoretical rational midpoint to adjust the inner control points. |
| bExtend (bool) | If true, when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |
| Fillets (List<Brep>) | the fillet8s that were created |
Returns: true if successful
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
public bool NonRationalQuintic(int railDegree, double TanSlider, double InnerSlider, bool bExtend, List<Brep> Fillets)
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
Parameters:
| railDegree (int) | The degree of the rail |
| TanSlider (double) | A number from -1 to 1 indicating how far towards the theoretical rational midpoint to adjust the tangent control points. |
| InnerSlider (double) | A number from -1 to 1 indicating how far towards the theoretical rational midpoint to adjust the inner control points. |
| bExtend (bool) | If true, when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |
| Fillets (List<Brep>) | the fillet8s that were created |
Returns: true if successful
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
make fillet surfaces and hack them up to active pieces. Adjusts cross sections
If the two input breps are the same, TrimmedBreps[1] will be empty. The constructor idoes everything necessary for this to be called. Calles to the various fillet creation members will not change the result.