Solved Tangent of Point in Spline

Hello friends.

how can i change the angle between two points of tangent of point spline (for example screen in 3ds max)?
If it is possible, how do it in python c4d
20220421_023350.jpg

Hi,

you have to use the function SetTangent

This thread ans this example will help you to understand how to do it.

You will also find a way to check if the spline you want to modify is a Bezier curve or not. By checking if the property of the spline c4d.SPLINEOBJECT_TYPE] is equal to c4d.SPLINETYPE_BEZIER:

Your question is about the angle of the tangent, but you cannot define that angle, you must define the position of the two handles.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

Hi,

you have to use the function SetTangent

This thread ans this example will help you to understand how to do it.

You will also find a way to check if the spline you want to modify is a Bezier curve or not. By checking if the property of the spline c4d.SPLINEOBJECT_TYPE] is equal to c4d.SPLINETYPE_BEZIER:

Your question is about the angle of the tangent, but you cannot define that angle, you must define the position of the two handles.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

Hello @Djoneeeee,

without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022.

Thank you for your understanding,
Ferdinand

MAXON SDK Specialist
developers.maxon.net