JointGeometry.createByCurve Method
Parent Object:
JointGeometryDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/JointGeometry.h>
Description
Creates a new transient JointGeometry object using a BRepEdge or SketchCurve as input. A JointGeometry object can be used to create a joint or joint origin.
Syntax
This is a static method.
returnValue = adsk.fusion.JointGeometry.createByCurve(curve, keyPointType)
|
This is a static method.
#include <Fusion/Components/JointGeometry.h>
returnValue = adsk::fusion::JointGeometry::createByCurve(curve, keyPointType);
|
Return Value
| JointGeometry |
Returns the transient JointGeometry object that can be used to create a joint or joint origin or null in case of a failure. |
Parameters
| curve |
Base |
Input BRepEdge or SketchCurve. |
| keyPointType |
JointKeyPointTypes |
The position on the curve where to position the joint coordinate system. For any open curves the valid types are StartKeyPoint, MiddleKeyPoint, CenterKeyPoint and EndKeyPoint. For circular and elliptical shaped curves the option is CenterKeyPoint. For closed spline curves either StartKeyPoint or EndKeyPoint can be used and the result is the same. |
Samples
Version
Introduced in version July 2015