ChamferEdgeSets.addEqualDistanceChamferEdgeSet Method

Parent Object: ChamferEdgeSets
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/ChamferEdgeSets.h>

Description

Adds a set of edges an equal distance offset to this chamfer feature.

To use this method, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"chamferEdgeSets_var" is a variable referencing a ChamferEdgeSets object.
returnValue = chamferEdgeSets_var.addEqualDistanceChamferEdgeSet(edges, distance, isTangentChain)
"chamferEdgeSets_var" is a variable referencing a ChamferEdgeSets object.

#include <Fusion/Features/ChamferEdgeSets.h>

returnValue = chamferEdgeSets_var->addEqualDistanceChamferEdgeSet(edges, distance, isTangentChain);

Return Value

Type Description
boolean Returns true if the set of edges was successfully added to the ChamferFeatureInput.

Parameters

Name Type Description
edges ObjectCollection An ObjectCollection containing the edges to be chamfered. Edges can be defined by passing in BrepEdge, BRepFace, or Feature objects. If BRepFace or Feature objects are passed in all of the edges associated with those objects will be chamfered. If BRepEdge objects are provided and the isTangentChain argument is true additional edges may also get chamfered if they are tangentially connected to any of the input edges.
distance ValueInput A ValueInput object that defines the distance offset of the chamfer. If the ValueInput uses a real then it is interpreted as centimeters. If it is a string then the units can be defined as part of the string (i.e. "2 in") or if no units are specified it is interpreted using the current default units for length.
isTangentChain boolean A boolean value for setting whether or not edges that are tangentially connected to the input edges (if any) will also be chamfered.

Samples

Name Description
chamferFeatures.add Demonstrates the chamferFeatures.add method. To use this sample have a part open that contains a body. When you run the script, you will be prompted to select an edge to chamfer.
Equal Distance Chamfer Feature API Sample Creates an equal distance chamfer on the selected edge. If there are tangent contiguous edges that will also be included in the chamfer.

Version

Introduced in version December 2020