BRepBody.getBendFaces Method

Parent Object: BRepBody

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepBody.h>

Description

Returns the inner and outer cylindrical bend faces on this sheet metal body. The two arrays have the same length; faces at the same index belong to the same bend. Only cylindrical and elliptical-cylindrical bend walls are returned (not side/partner faces).

Syntax

"bRepBody_var" is a variable referencing a BRepBody object.
(returnValue, innerBends, outerBends) = bRepBody_var.getBendFaces()
"bRepBody_var" is a variable referencing a BRepBody object.

#include <Fusion/BRep/BRepBody.h

// Declare the output arguments.
BRepFace[] innerBends;
BRepFace[] outerBends;
boolean returnValue = bRepBody_var->getBendFaces(innerBends, outerBends);
"bRepBody_var" is a variable referencing a BRepBody object.
[returnValue, innerBends, outerBends] = bRepBody_var.getBendFaces();

Return Value

Type Description
boolean Returns true if the bend faces were successfully determined; the returned arrays are empty when the body has no bends. Returns false only if this body is not sheet metal or the bend analysis failed.

Parameters

Name Type Description
innerBends BRepFace[] The concave (inner) cylindrical bend wall for each bend.
outerBends BRepFace[] The convex (outer) cylindrical bend wall for each bend.

Version

Introduced in version September 2026