<?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: DXF import problems in FBX Forum</title>
    <link>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404989#M1250</link>
    <description>&lt;P&gt;I suspect that it's the invalid mesh!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's weird that someone would model one mesh in a file that has faces facing backward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our guess is that the visualizer used always shows double-sided faces, so it's hard for the users to know if they made a mistake like that or not.&lt;/P&gt;&lt;P&gt;Could also be that DXF is supposed to be double-sided by default, so we could try listing the faces onces more, in the other direction to get the right list.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Nov 2018 19:56:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-15T19:56:03Z</dc:date>
    <item>
      <title>DXF import problems</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8401836#M1246</link>
      <description>&lt;P&gt;Using the FBX SDK, we have&amp;nbsp;a problem importing DXF files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some files, it's possible to have one mesh where its face order is flipped, so we see the inside of that mesh. But the other imported meshes are perfectly fine. Is there an easy work around this? We use the same code also to import FBX and everything is fine.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:26:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8401836#M1246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-14T16:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: DXF import problems</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8402673#M1247</link>
      <description>&lt;P&gt;You can try to call FbxMesh::CheckIfVertexNormalsCCW() on all the meshes and when this function returns &lt;EM&gt;false,&amp;nbsp;&lt;/EM&gt;you then know that the polygon winding is reversed and you need to re-calculate the normals to follow the correct CW/CCW order. This, of course can work if all the faces are following the same order. Unfortunately, if only some faces of the mesh are "flipped", the FBX SDK does not provide any functionality to fix them and you will have to code it yourself.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 21:26:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8402673#M1247</guid>
      <dc:creator>regalir</dc:creator>
      <dc:date>2018-11-14T21:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: DXF import problems</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404700#M1248</link>
      <description>&lt;P&gt;The way I understand it, DXF doesn't have normals, so what would happen in that case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, in the problematic file that we have, the only normal info we have in the file is this:&lt;/P&gt;&lt;PRE&gt;Normal
350&lt;/PRE&gt;&lt;P&gt;And not really sure what that means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, without normals to show in which direction the face should really be, it there a way to detect those?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We could import them and specify them as double-sided, but we would like to avoid this solution because it might cause problems for a lot of deformation, like extrude, that goes in the face's direction.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 17:56:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404700#M1248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T17:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: DXF import problems</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404966#M1249</link>
      <description>&lt;P&gt;Well, I was talking about FbxMesh objects. So, basically it would be a post process after the DXF file is read and converted to FBX. If normals don't exist in the FbxMesh, you can call &lt;EM&gt;GenerateNormals(...)&lt;/EM&gt; to create them. But after re-reading your original post ("But the other imported meshes are perfectly fine."), I believe that the problem may not be in the orientation of the faces but, most likely, by "holes" caused by rejected polygons (the same vertex defined twice, or more times, for the given face). If you can, you should check the integrity of the DXF files and clean them before converting to FBX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may also be possible that your DXF files contains data that is not supported by the FBX SDK's DXF reader. If this is the case, unfortunately, there is not much that can be done.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 19:44:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404966#M1249</guid>
      <dc:creator>regalir</dc:creator>
      <dc:date>2018-11-15T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: DXF import problems</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404989#M1250</link>
      <description>&lt;P&gt;I suspect that it's the invalid mesh!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's weird that someone would model one mesh in a file that has faces facing backward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our guess is that the visualizer used always shows double-sided faces, so it's hard for the users to know if they made a mistake like that or not.&lt;/P&gt;&lt;P&gt;Could also be that DXF is supposed to be double-sided by default, so we could try listing the faces onces more, in the other direction to get the right list.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 19:56:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/dxf-import-problems/m-p/8404989#M1250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T19:56:03Z</dc:date>
    </item>
  </channel>
</rss>

