JointGeometry.createByCurve Method

Parent Object: JointGeometry
Defined 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

Type Description
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

Name Type Description
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

Name Description
BallJointMotion API Sample Demonstrates creating a joint with ball joint motion
CylindricalJointMotion API Sample Demonstrates creating a joint with cylindrical joint motion.
Joint API Sample Demonstrates creating a new joint.
Pin Slot Joint Motion API Sample Demonstrates creating a joint with pin slot joint motion
Planar Joint Motion API Sample Demonstrates creating a joint with planar joint motion
SliderJointMotion API Sample Demonstrates creating a joint with slider joint motion.

Version

Introduced in version July 2015