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

    Getting polygon data from generated objects

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 431 Views
    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 Offline
      Helper
      last edited by

      On 13/07/2017 at 07:49, xxxxxxxx wrote:

      Hello all,

      Just a question if I'm on the right track...

      My aim is to add a dynamically generated weight map to a metaball object.

      Due to the fact that it is not possible to add weight maps to generated objects - I thought it is possible to create a Python Generator, to copy polygon data from such object into a new empty Polygon object, and generate the weight map along the way... I could update this object frame-by-frame, as refresh speed is not a priority for me.

      It seems not possible to access polygons from anything besides editable meshes though...

      I tried a workaround by generating the weight map on a Correction deformer parented unter the metaball object, and it seems to work but breaks in animation, probably because of the changing topology on the metaballs...

      Does it mean I have to use C++ SDK for that?

      Cheers,
      B

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

        On 13/07/2017 at 08:47, xxxxxxxx wrote:

        Welcome to the community ! 
        I suggest you to read https://developers.maxon.net/forum/topic/482/13628_solved-point-data-of-primitive-objects&PID=54099#54099 I guess you have everything you need to know 😉

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

          On 14/07/2017 at 02:49, xxxxxxxx wrote:

          Thanks. That's an awesome read. Awesome! Lots to learn.

          Cheers,
          B

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