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

    Not so open Spline Segments

    SDK Help
    0
    2
    296
    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.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 24/09/2003 at 17:02, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      struct Segment
      {
      public:
      LONG cnt;
      Bool closed;
      };

      From what I can tell in C4D the parameter Segment->closed is not specific to the segment ( even there is a 'closed' bool parameter for each segment ). I would welcome an explanation. The docs make it seem that the 'closed' parameter appies to each segments.

      Best Regards,
      David Farmer

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 24/09/2003 at 23:55, xxxxxxxx wrote:

        Segment is shared by LineObject and SplineObject. LineObject evaluates Segment::Closed per segment. In SplineObjects the control is overriden by the global setting.
        (I think this sometimes annoying limitation is due to the fact that SplineObjects can be in the user's scene, and there's no way to edit the Segment::closed flag there.)
        I've added this comment in the docs.

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