Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Real Time or Live "Edge to Spline" Object?

    Cinema 4D SDK
    r21 python
    3
    4
    493
    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.
    • B
      bentraje
      last edited by

      Hi,

      Is there a way to create a real-time or live "edge to spline" object?

      Scenario:

      1. You have Object A
      2. Execute "Edge to Spline" command. It produces a Spline object
      3. Modify Object A (through skinning, typical deformers, PSR) etc
      4. The spline object stays the same as #1. I don't want that. I want it to stay with the latest modification of Object A #3.

      You can see an equivalent of what I am after here in Maya:
      https://www.dropbox.com/s/sjkszesp2sm27xf/c4d247_live_edge_to_spline_command.mp4?dl=0

      Regards,
      Ben

      1 Reply Last reply Reply Quote 0
      • P
        PluginStudent
        last edited by

        Spline generator objects are ObjectData plugins implementing GetContour().

        I guess it could be possible to make that function read the properties of a child object. But there is no spline generator in Cinema that does that, so I don't know if that will work.

        Another idea would be a Python Tag that continuously accesses your mesh, performs MCOMMAND_EDGE_TO_SPLINE and writes the result into an existing Spline object.

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          its free and open source 🙂

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          1 Reply Last reply Reply Quote 0
          • B
            bentraje
            last edited by

            @PluginStudent and @m_adam

            The plugin from @noseman works.
            It works for now in my use case, but correct me if I'm wrong it cannot have a priority parameter because it is a generator (?).

            Regards,
            Ben

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