Brep.FilletSurfaceSettings
ReferencesSettings to use when creating fillets or chamfers
Properties
Angle tolerance to decide when faces are tangent-continuous
If true, the fillets or chamfers will be extended to neighboring faces as long as neighboring faces are tangent to the input faces.
Degree of the arc approxiation (3, 4, or 5) - only for non-rational fillets
If true, then when one input surface is longer than the other, the fillet surface is extended to the input surface edges
A number between -0.95 and 0.95 indicating how far to push the inner control point toward or away from the theoretical middle control point - only for non-rational fillets
Create a non-rational approximation to the arc. This requires Degree to be set to 3, 4, or 5 and TanSlider and InnerSlider to a value between -0.95 and 0.95.
The second radius of the fillets (only for chamfered surfaces)
A number between -0.95 and 0.95 indicating how far to push the tangent control points toward or away from the theoretical middle control point(s) - only for non-rational fillets
The tolerance. When in doubt, use the document's model absolute tolerance.
Methods
CreateChamferSettings
#public static Brep.FilletSurfaceSettings CreateChamferSettings(double radius0, double radius1, double tolerance, bool trim, bool extend)
Create settings for chamfered surfaces
Parameters:
| radius0 (double) | The distance from the intersection of face0 to the edge of the chamfer. |
| radius1 (double) | The distance from the intersection of face1 to the edge of the chamfer. |
| tolerance (double) | The tolerance. When in doubt, use the document's model absolute tolerance. |
| trim (bool) | If true, the input faces will be trimmed, if false, the input faces will be split. |
| extend (bool) | If true, then when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |
public static Brep.FilletSurfaceSettings CreateG2BlendSettings(double radius, double tolerance, bool trim, bool extend)
Create settings for G2-blended fillet surfaces
Parameters:
| radius (double) | The fillet radius. |
| tolerance (double) | The tolerance. When in doubt, use the document's model absolute tolerance. |
| trim (bool) | If true, the input faces will be trimmed, if false, the input faces will be split. |
| extend (bool) | If true, then when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |
public static Brep.FilletSurfaceSettings CreateNonRationalSettings(double radius, double tolerance, int degree, double tanSlider, double innerSlider, bool trim, bool extend)
Create settings for non-rational approximated arc fillet surfaces
Parameters:
| radius (double) | The fillet radius. |
| tolerance (double) | The tolerance. When in doubt, use the document's model absolute tolerance. |
| degree (int) | Degree of the arc approxiation (3, 4, or 5) |
| 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 middle control point(s) |
| 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 middle control point |
| trim (bool) | If true, the input faces will be trimmed, if false, the input faces will be split. |
| extend (bool) | If true, then when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |
public static Brep.FilletSurfaceSettings CreateRationalArcSettings(double radius, double tolerance, bool trim, bool extend)
Create settings for rational arc fillet surfaces
Parameters:
| radius (double) | The fillet radius. |
| tolerance (double) | The tolerance. When in doubt, use the document's model absolute tolerance. |
| trim (bool) | If true, the input faces will be trimmed, if false, the input faces will be split. |
| extend (bool) | If true, then when one input surface is longer than the other, the fillet surface is extended to the input surface edges. |