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

    Polygon Points Manipulating

    SDK Help
    0
    4
    362
    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 20/07/2003 at 11:06, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi all
      I am trying to get the point information from each polygon in my object how can i do this? the SDK is pretty limited to explaining how?
      I use the Obj->GetPolygons(); to list the individual points in the objects but i need to access the points of individual polys and determine if they are tri or quad?
      by the way i am using Cinema 4d Xl 6.3 not 8.1 as the silly post says!
      thanks
      Manwich

      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 21/07/2003 at 16:03, xxxxxxxx wrote:

        1. The SDK seems to provide all needed information for your question:

            
            
            class Polygon
            {
            public:
        

        Polygon();

            
            
            }
        

        _<_h2_>_Descrip_<_h2_>_/H2>
        A Polygon structure.
        _7>

        _<_h2_>_nation

        The variables

            
            
            a
        

        ,

            
            
            b
        

        ,

            
            
            c
        

        and

            
            
            d
        

        refer to point indexes. Triangles are defined by making

            
            
            d
        

        the same as

            
            
            c
        

        .
        by the way, you have posted this "silly" post and that you are using 8.100 😉
        Best
        Samir

        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 23/07/2003 at 10:52, xxxxxxxx wrote:

          Oh yeah i just realised about the polygon class!
          dont suppose any body got any examples of using this class?
          by the way when i registered it never asked my version of cinema seems it assumed i was using 8.1.
          thanks
          Manwich

          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 23/07/2003 at 14:59, xxxxxxxx wrote:

            dont suppose any body got any examples of using this class?
            have a look on my website in the COFFEE area, there is a library with several useful functions. There is also a little function that calculates the midpoint of a polygon. You can see how it is used in there. www.3ddesigner.net
            >by the way when i registered it never asked my version of cinema seems it >assumed i was using 8.1.
            You need to set this whenever you make a new thread 😉
            Best
            Samir

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