<?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 Automatic Face Selection using mmapi in Meshmixer Forum</title>
    <link>https://forums.autodesk.com/t5/meshmixer-forum/automatic-face-selection-using-mmapi/m-p/8423611#M4453</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So I wrote a script which selects a face and automatically sets it as a Target. The script takes four point coordinates enclosing the face needed to be selected as input. But the problem is, sometimes it selects the wrong face,basically it always chooses an edge. I tried to filter them by choosing the face with max area but apparently the edge bounding box is same range as the desired face. Is there any tool that will give me the information about number of triangles in the selected face.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 05:05:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-26T05:05:42Z</dc:date>
    <item>
      <title>Automatic Face Selection using mmapi</title>
      <link>https://forums.autodesk.com/t5/meshmixer-forum/automatic-face-selection-using-mmapi/m-p/8423611#M4453</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So I wrote a script which selects a face and automatically sets it as a Target. The script takes four point coordinates enclosing the face needed to be selected as input. But the problem is, sometimes it selects the wrong face,basically it always chooses an edge. I tried to filter them by choosing the face with max area but apparently the edge bounding box is same range as the desired face. Is there any tool that will give me the information about number of triangles in the selected face.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 05:05:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/meshmixer-forum/automatic-face-selection-using-mmapi/m-p/8423611#M4453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T05:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Face Selection using mmapi</title>
      <link>https://forums.autodesk.com/t5/meshmixer-forum/automatic-face-selection-using-mmapi/m-p/8424295#M4454</link>
      <description>&lt;P&gt;Not sure to understood your attempt completely without any code snippet.&lt;/P&gt;
&lt;P&gt;If you need the number of selected faces:&lt;/P&gt;
&lt;PRE&gt;import mmapi
from mmRemote import *
import mm

r = mmRemote()
r.connect()

faceList = mm.list_selected_triangles(r)

print "Number of selected faces:", len(faceList)
print "faceIDs:", faceList
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 12:08:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/meshmixer-forum/automatic-face-selection-using-mmapi/m-p/8424295#M4454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T12:08:52Z</dc:date>
    </item>
  </channel>
</rss>

