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

    Melting Edges

    General Talk
    2
    3
    700
    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.
    • R
      rui_mac
      last edited by

      I have some code that identifies angles between faces that share an edge.
      I would like to build a list of all the edges that pass a certain criteria and then melt them all.
      How can I get the index of all those vertexes (I just have the two points that define each one), and select them to perform a melt command?

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi @rui_mac, thanks for reaching out us.

        With regard to your question I recommend to use:

        • CPolygon::EdgePoints() to retrieve the vertex belonging to an edge
        • SendModellingCommand: see here on how it is used with regard to melting points.

        Best, Riccardo

        1 Reply Last reply Reply Quote 1
        • R
          rui_mac
          last edited by

          Thank you so much.
          I was thinging that I had to provide an edge index.
          Never thought that it would just require to select the points that define the edges.
          Great!!! 👍

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