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

    UV edit via point selection

    Scheduled Pinned Locked Moved PYTHON Development
    7 Posts 0 Posters 653 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 04/12/2015 at 06:14, xxxxxxxx wrote:

      removed

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

        On 07/12/2015 at 02:15, xxxxxxxx wrote:

        Hello,

        the UVW tag does not store UV coordinates for each vertex. It stores UV coordinates for each polygon. So the "i" argument of SetSlow() is no point index but a polygon index. You have to find out which polygon's UVs you want to edit.

        Best wishes,
        Sebastian

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

          On 14/12/2015 at 03:07, xxxxxxxx wrote:

          Hi Sebastion

          Thanks for the help, thought it was the wrong index; however instead of sticking to the point selection, it is early enough to make this a poly selection. I can now move the desired polys.
          Wondering how to keep face neighbours, to stretch the uv's currently the selections just move to the desired location and leave the rest in situ.

          any help would be appreciated

          kind regard
          Baron

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

            On 16/12/2015 at 02:11, xxxxxxxx wrote:

            sorry for the TypeO Sebastian

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

              On 16/12/2015 at 07:11, xxxxxxxx wrote:

              There's an Edit option for Posts. 🙂

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

                On 17/12/2015 at 04:05, xxxxxxxx wrote:

                Thanks Niklas

                Don't know if you have any ideas regarding this, I have managed to achieve a certain level of understanding now however the holy grail seems to be in how to use the point selection to select the A B C and D sections of the uv coords

                a = uvwdict['a']
                something like for point in point selection if selection is in A or is A

                uvwset=uvwtag.SetSlow(point,a+c4d.Vector(0.02,0,0),b+c4d.Vector(0,0,0),c+c4d.Vector(0,0,0),d+c4d.Vector(0,0,0))

                all the information is there just very convoluted

                Cheers Baron

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

                  On 23/12/2015 at 09:48, xxxxxxxx wrote:

                  I have now solved this it was much easier than expected
                  thanks guys have a great christmas

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