Edge Blending
From DocR21
The entities to be blended are one or more sequences of edges. A blend sequence constitutes a single edge or a series of smoothly connected edges that are to be blended in a single operation.
Contents |
Cases
Based on a cross section, edge blending can be classified into:
- Round Blends – Cross section is circular.
- Chamfers – Cross section is flat.
Based on a radius/offset specification, edge blending can be classified into:
- Constant Radius – Cross section radius is constant.
- Variable Radius – Cross section radius varies.
Interface
Round Blend Interfaces
This section describes some of the C++ APIs and Scheme commands that perform round constant edge blending operations. Refer to Sample Workflow of an Edge Round Blend.
| API | Scheme Extension | Description |
|---|---|---|
| api_set_const_rounds | blend:const-rad-on-edge blend:round | Attaches a constant radius blend attribute to each edge in the input list. |
| api_fix_blends | blend:fix blend:network | Applies a blend by fixing the attached blend attributes. |
| api_blend_edges | solid:blend-edges | Blends edges of a solid as round blends. Attaches and fixes the blend attributes in a single API call. |
Chamfer Interfaces
This section describes some of the C++ APIs and Scheme commands to perform standard chamfering operation. Refer to Sample Workflow of an Edge Chamfer.
| API | Scheme Extension | Description |
|---|---|---|
| api_set_const_chamfers | blend:chamfer blend:chamfer-on-edge | Sets an implicit constant radius chamfer on each of a list of edges or vertices. |
| api_fix_blends | blend:fix blend:network | Applies a blend by fixing the attached blend attributes. |
| api_chamfer_edges | solid:chamfer-edges | Creates a chamfer on a list of edges. Attaches and fixes the chamfer attributes in a single API call. |
Constant Radius Interfaces
This section describes some of the C++ APIs and Scheme commands to perform constant radius edge blending operation. Refer to Sample Workflow of an Edge Round Blend.
| API | Scheme Extension | Description |
|---|---|---|
| api_smooth_edge_seq | blend:get-smooth-edges | Gets a list of all edges that smoothly connect to a given edge. |
| api_set_const_rounds | blend:const-rad-on-edge blend:round | Attaches a constant radius blend attribute to each edge in the input list. |
| api_fix_blends | blend:fix blend:network | Applies a blend by fixing the attached blend attributes. |
| api_blend_edges | solid:blend-edges | Blends edges of a solid using round blends. Attaches and fixes the blend attributes in a single API call. |
Variable Radius Interfaces
This section describes some of the C++ APIs and Scheme commands to perform variable radius edge blending operation. Refer to Sample Workflow of a Variable Radius Blend on Single Edge.
| API | Scheme Extension | Description |
|---|---|---|
| api_smooth_edge_seq | blend:get-smooth-edges | Gets a list of all edges that smoothly connect to a given edge. |
| api_smooth_edges_to_curve | blend:smooth-edges-to-curve | Generates a calibration curve fit to a list of edges. |
| api_set_var_blends | blend:var-rad-on-edge blend:var-round | Sets an implicit variable radius blend on each of a list of edges or vertices. |
| api_fix_blends | blend:fix blend:network | Applies a blend by fixing the attached blend attributes. |
