This 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/SheetMetal/FlangeEdgeDefinitions.h>
Description
Adds an edge that defines a flange that extends the full length of the edge, but where offset values define the offset of each side of the flange from each end of the edge.
The BRepEdge that defines where the flange will be created. The edge must be linear and along the outside of a sheet metal body.
offsetOne
ValueInput
The offset of the first side of the flange from the end of the edge. A negative value will narrow the width of the flange so it doesn't extend all the way to the end of the edge. A positive value will cause the flange to extend beyond the edge.
This value is used to create the parameter that defines the offset. If it is a real value it will be interpreted as centimeters. If it is a string it behaves the same as entering the value in the command dialog. A string like "1.5" will be 1.5 of whatever the current design units are. You can also specify the units as part of the string so "1.5 in" is valid. You can also define equations like "length / 2" where length is the name of an existing parameter.
offsetTwo
ValueInput
The offset of the second side of the flange from the end of the edge. A negative value will narrow the width of the flange so it doesn't extend all the way to the end of the edge. A positive value will cause the flange to extend beyond the edge.
This value is used to create the parameter that defines the offset. If it is a real value it will be interpreted as centimeters. If it is a string it behaves the same as entering the value in the command dialog. A string like "1.5" will be 1.5 of whatever the current design units are. You can also specify the units as part of the string so "1.5 in" is valid. You can also define equations like "length / 2" where length is the name of an existing parameter.