<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: create blend shapes in Maya Animation and Rigging Forum</title>
    <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11435207#M3359</link>
    <description>&lt;P&gt;How's it going?&amp;nbsp; Did everything workout?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 05:47:00 GMT</pubDate>
    <dc:creator>mcw0</dc:creator>
    <dc:date>2022-09-21T05:47:00Z</dc:date>
    <item>
      <title>create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427139#M3349</link>
      <description>&lt;P&gt;Hi all, i have a question please, i have a character with blend shapes on Maya and i had to separate the teeth and eyes from the character mesh and after that i go to deform&amp;gt; blend shapes and i got the error message:&amp;nbsp;// Error: line 0: No deformable objects selected.&lt;/P&gt;&lt;P&gt;and i know it's because the mesh is no longer the same count of vertex , but is there any option to make the blend shapes works to the mesh without teeth and eyes ?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 20:49:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427139#M3349</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-16T20:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427244#M3350</link>
      <description>&lt;P&gt;why not remove the teeth and eyes from the blendshapes as well?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 22:08:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427244#M3350</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2022-09-16T22:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427256#M3351</link>
      <description>&lt;P&gt;the blend shapes about 1000 shapes , they're a lot , is there a way to separate eyes, teeth and gums from all shapes in an easy way, or i have to select every single shape?!&lt;/P&gt;&lt;P&gt;Note: the eyes and teeth can separate but gums i should select the faces to extract from the mesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 22:25:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427256#M3351</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-16T22:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427284#M3352</link>
      <description>&lt;P&gt;This is where the power of scripting comes in.&amp;nbsp; You can loop through your 1000 shapes and repeat the same operation.&amp;nbsp; You say you can separate the eyes and teeth.&amp;nbsp; Ok, that's "polySeparate".&amp;nbsp; To extract the gums, since it's a blendshape, they are the same faces for all the shapes.&amp;nbsp; Again, perfect for scripting.&amp;nbsp; "polyChipOff" with a "polySeparate" chaser.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 22:42:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427284#M3352</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2022-09-16T22:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427293#M3353</link>
      <description>&lt;P&gt;If you are new to scripting, take note of what's displayed in the Script Editor window when you manually do the steps you want.&amp;nbsp; Copy and paste those into a "for loop".&amp;nbsp; You can google "for loops" to see how they work.&amp;nbsp; The logic is as follows.&lt;BR /&gt;&lt;BR /&gt;//&amp;nbsp; Select all the objects that you want to act on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;string $objects[] = `ls -selection`;&lt;/P&gt;&lt;P&gt;//&amp;nbsp; For loop&lt;/P&gt;&lt;P&gt;for($object in $objects)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; //&amp;nbsp; Separate eyes and teeth&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; string $results[] = `polySeparate -ch 0 $object`;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; //&amp;nbsp; Take note of which resulting mesh has the gums&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; //&amp;nbsp; Extract gums...in this example, I'm saying the first resulting mesh (index 0) contains the gums&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; //&amp;nbsp; And the gums are faces 0 through 10.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; polyChipOff -ch 0 ($results[0]+".f[0:10]");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; polySeparate -ch 0 $results[0];&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 22:52:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427293#M3353</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2022-09-16T22:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427306#M3354</link>
      <description>&lt;P&gt;wow thank you so much, this will help me a lot , but&amp;nbsp;unfortunately i have no experience on scripting !&lt;/P&gt;&lt;P&gt;i didn't get what you said about (For loops) , i googled it but i didn't get what i should do exactly ! and what i should write on script to do the loop!&lt;/P&gt;&lt;P&gt;and i need after these steps to delete history from all shapes and delete the poly separate parts and just keep the blend shape clean , so i was wondering if i could send you the file with just one shape and kindly tell me what to do exactly, your help will really matter, Thank you&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 23:13:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427306#M3354</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-16T23:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427323#M3355</link>
      <description>&lt;P&gt;Unfortunately, I won't be able to open your file.&lt;BR /&gt;&lt;BR /&gt;If you look at my example, the parts you need to change are the index for "$results".&amp;nbsp; And the indices for your gum faces.&amp;nbsp; Ignoring any scripting, if you go through the process manually, take note of the step where you separate the eyes and teeth.&amp;nbsp; What is the name of the resulting mesh that contains the gums?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now look in the Script Editor window.&amp;nbsp; In the upper text field, look from the bottom up for a line that starts with "polySeparate".&amp;nbsp; Now look at the line just under that.&amp;nbsp; It will start with "//&amp;nbsp; Result:".&amp;nbsp; Look for the name of the mesh with the gums and count which name it is on that line.&amp;nbsp; Your index will be that number minus 1.&amp;nbsp; For instance, if it is the second name on the line, then your index is 1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my example script, replace "$results[0]" with "$results[1]".&lt;BR /&gt;&lt;BR /&gt;Now select the faces that make up the gums and extract them.&amp;nbsp; Again, in the Script Editor window, in the upper text field, look from bottom up for a line starting with "polyChipOff".&amp;nbsp; Note towards the end of the line, it will have something with the name of the gum mesh and ".f[]".&amp;nbsp; There will be some numbers and a colon between the brackets.&amp;nbsp; Those are your faces.&amp;nbsp; I'm hoping there's only one set of "f.[]".&amp;nbsp; Let me know if there are more than one and I'll tell you how to deal with that.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my script, replace my "0:10" with the numbers you found.&amp;nbsp; That should be it.&amp;nbsp; Just select all the remaining meshes that you need to act on and run the script.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 23:26:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11427323#M3355</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2022-09-16T23:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11428033#M3356</link>
      <description>&lt;P&gt;ok great thank you so much i will do the process and tell you the updates.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 12:53:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11428033#M3356</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-17T12:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11433212#M3357</link>
      <description>&lt;P&gt;If it was me I would just do the blendshape heads over again without teeth and eyes and rack it up to a learning experience. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:33:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11433212#M3357</guid>
      <dc:creator>007068549</dc:creator>
      <dc:date>2022-09-20T11:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11433222#M3358</link>
      <description>&lt;P&gt;blend shapes are about 1000 shapes and it's exporting from DAZ as it is , it will take loong time to create blend shapes from scratch!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11433222#M3358</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-20T11:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11435207#M3359</link>
      <description>&lt;P&gt;How's it going?&amp;nbsp; Did everything workout?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 05:47:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11435207#M3359</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2022-09-21T05:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11438745#M3360</link>
      <description>&lt;P&gt;&amp;nbsp;still working on writing the script , it's a bit complicated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 13:12:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11438745#M3360</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-22T13:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: create blend shapes</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11445108#M3361</link>
      <description>&lt;P&gt;it works perfectly thank you so much for your help i really appreciate it&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 09:16:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/create-blend-shapes/m-p/11445108#M3361</guid>
      <dc:creator>rehab_salem83</dc:creator>
      <dc:date>2022-09-26T09:16:27Z</dc:date>
    </item>
  </channel>
</rss>

