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
    • Recent
    • Tags
    • Users
    • Login

    How to convert Cube or sphere into mesh

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 1.1k 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

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

      On 15/07/2010 at 08:45, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,
      I am new in this forum, and i am a beginner with c4d SDK.
      I want to convert some simple BaseObjects like cubes or sphere into mesh, that is to say into a list of vertex and edges and triangles, or something like that. How can I do that? Is there a simple function to do that?
      Thanks,
      Olivier

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

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

        On 15/07/2010 at 11:05, xxxxxxxx wrote:

        Take a look in the SDK documentation for SendModelingCommand()- you could use MCOMMAND_MAKEEDITABLE to convert a primitive into a polygon object.

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

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

          On 16/07/2010 at 11:02, xxxxxxxx wrote:

          thank you, it works. Is there a way to do this without destroying the original primitive? in fact I just need to get the infos of vertex, edges, faces, of the primitive. (sorry my first question wasn't correctly formulated, I don't really need to "convert")
          thanks,
          Olivier

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

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

            On 16/07/2010 at 14:36, xxxxxxxx wrote:

            You should create a clone of the object first and make the clone editable.
            You could also try to use MCOMMAND_CURRENTSTATETOOBJECT for that.

            Cheers,
            Jack

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