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

    Welding point for a polygon

    Cinema 4D SDK
    2
    2
    466
    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.
    • KantroninK
      Kantronin
      last edited by r_gigante

      Hi
      C4D has a command which allows to weld points of a mesh.
      I would like to make a script in python which would allow me to weld very close points.
      How can I call this command with python ?

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

        Hi Kantronin, thanks for reaching out us and welcome to PluginCafé.

        To make Cinema 4D programatically executing modeling commands, you can make use of SendModelingCommand which properly satisfy your scope.
        Aside from the example shown in the documentation you can also have a look at this post from @maxime and this other post about Optimize command.
        Last but not least be aware that the modeling command settings are specified in the BaseContainer passed to the SendModelingCommand and whose parameters can be found in the MCOMMAND page.

        Finally please remind to use Tags and Ask as a question for any future support entries

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