Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Tangent of Point in Spline

    Cinema 4D SDK
    python
    3
    3
    505
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Djoneeeee
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • ferdinandF
          ferdinand
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post