View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0004362 | FreeCAD | Bug | public | 2020-06-06 09:38 | 2020-06-09 11:55 | 
| Reporter | rkoyama1623 | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | x64 | OS | Ubuntu | OS Version | 16.04 | 
| Summary | 0004362: Cannot Export Mirrored Part to Collada File | ||||
| Description | I am new to Freecad Community, so if I am wrong, please tell me. This issue is very near to this discussion. Problem to export to .obj If you mirror a part A into part B and export the parts(A and B), the original part A do not exported to collada mesh file. This is because the original part A has a parent part, which is the part B. The bug is located here: FreeCAD/src/Mod/Arch/ArchCommands.py: pruneIncluded Since the part which has parent part is judged as not a top level, the part is not exported. Thank you. | ||||
| Steps To Reproduce | Export test.FCStd(attached) to test.dae(attached) in Collada format. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | OS: Ubuntu 16.04.6 LTS (Unity/ubuntu) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19. Build type: Release Branch: unknown Hash: aac84ddf0f6413c3886e92c16fc493f74c593aad Python version: 3.5.2 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.3.0 Locale: Japanese/Japan (ja_JP) | ||||
|  |  test.dae (4,368 bytes)   
 <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
  <asset>
    <contributor/>
    <created>2020-06-06T18:29:23.661362</created>
    <modified>2020-06-06T18:29:23.661377</modified>
    <unit name="meter" meter="1.0"/>
    <up_axis>Z_UP</up_axis>
  </asset>
  <library_effects>
    <effect id="effect_Part__Mirroring" name="effect_Part__Mirroring">
      <profile_COMMON>
        <technique sid="common">
          <phong>
            <emission>
              <color>0.0 0.0 0.0 1.0</color>
            </emission>
            <ambient>
              <color>0.0 0.0 0.0 1.0</color>
            </ambient>
            <diffuse>
              <color>0.800000011920929 0.800000011920929 0.800000011920929 1.0</color>
            </diffuse>
            <specular>
              <color>1 1 1 1.0</color>
            </specular>
            <shininess>
              <float>0.0</float>
            </shininess>
            <reflective>
              <color>0.0 0.0 0.0 1.0</color>
            </reflective>
            <reflectivity>
              <float>0.0</float>
            </reflectivity>
            <transparent>
              <color>0.0 0.0 0.0 1.0</color>
            </transparent>
            <transparency>
              <float>1.0</float>
            </transparency>
          </phong>
        </technique>
        <extra>
          <technique profile="GOOGLEEARTH">
            <double_sided>0</double_sided>
          </technique>
        </extra>
      </profile_COMMON>
    </effect>
  </library_effects>
  <library_geometries>
    <geometry id="geometry0" name="Part__Mirroring">
      <mesh>
        <source id="cubenormals-array0">
          <float_array id="cubenormals-array0-array" count="60">1 0 0 1 0 0 0 -1 0 0 -1 0 -1 -0 0 -1 0 0 0 1 0 0 1 -0 -1 0 0 -1 0 0 0 1 0 0 1 -0 0 -0 -1 0 0 -1 0 -0 -1 0 0 -1 0 0 1 0 0 1 0 -0 1 0 0 1</float_array>
          <technique_common>
            <accessor count="20" source="#cubenormals-array0-array" stride="3">
              <param type="float" name="X"/>
              <param type="float" name="Y"/>
              <param type="float" name="Z"/>
            </accessor>
          </technique_common>
        </source>
        <source id="cubeverts-array0">
          <float_array id="cubeverts-array0-array" count="36">0.05811089 -0.04014374 0 0.05811089 0.02782341 0 0.05811089 0.02782341 0.01 0.05811089 -0.04014374 0.01 0.0164271 -0.04014374 0 0.0164271 -0.04014374 0.01 0.0164271 -0.01591376 0.01 0.0164271 -0.01591376 0 0.03778234 -0.01591376 0 0.03778234 -0.01591376 0.01 0.03778234 0.02782341 0 0.03778234 0.02782341 0.01</float_array>
          <technique_common>
            <accessor count="12" source="#cubeverts-array0-array" stride="3">
              <param type="float" name="X"/>
              <param type="float" name="Y"/>
              <param type="float" name="Z"/>
            </accessor>
          </technique_common>
        </source>
        <vertices id="cubeverts-array0-vertices">
          <input semantic="POSITION" source="#cubeverts-array0"/>
        </vertices>
        <triangles count="20" material="ref_Part__Mirroring">
          <input offset="1" semantic="NORMAL" source="#cubenormals-array0"/>
          <input offset="0" semantic="VERTEX" source="#cubeverts-array0-vertices"/>
          <p>0 0 1 0 2 0 0 1 2 1 3 1 4 2 0 2 3 2 4 3 3 3 5 3 6 4 4 4 5 4 7 5 4 5 6 5 8 6 7 6 6 6 8 7 6 7 9 7 10 8 8 8 9 8 10 9 9 9 11 9 1 10 10 10 11 10 1 11 11 11 2 11 8 12 0 12 4 12 7 13 8 13 4 13 1 14 0 14 8 14 10 15 1 15 8 15 3 16 9 16 5 16 9 17 6 17 5 17 3 18 2 18 9 18 2 19 11 19 9 19</p>
        </triangles>
      </mesh>
    </geometry>
  </library_geometries>
  <library_materials>
    <material id="mat_Part__Mirroring" name="Part__Mirroring">
      <instance_effect url="#effect_Part__Mirroring"/>
    </material>
  </library_materials>
  <library_visual_scenes>
    <visual_scene id="myscene">
      <node id="node0" name="node0">
        <instance_geometry url="#geometry0">
          <bind_material>
            <technique_common>
              <instance_material target="#mat_Part__Mirroring" symbol="ref_Part__Mirroring"/>
            </technique_common>
          </bind_material>
        </instance_geometry>
      </node>
    </visual_scene>
  </library_visual_scenes>
  <scene>
    <instance_visual_scene url="#myscene"/>
  </scene>
</COLLADA>
 | 
|  | @rkoyama1623 : please address your issue following our reporting guidelines by opening first a topic in our forum. Thx As your ticket seems OK so far, I'll let it open as is, but it can get more attention if you open a topic though. | 
|  | Sorry for that, and I cheked the guidline again. Thank you for merging my PR #3570. Now you can close this issue. (Can I close by myself?) | 
|  | Fixed by commit 5d6b86d84535 c:FreeCAD:5d6b86d8: Closing Edit: Modified link to c:FreeCAD:hash: to reference commit Edit2: reverted | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2020-06-06 09:38 | rkoyama1623 | New Issue | |
| 2020-06-06 09:38 | rkoyama1623 | File Added: test.FCStd | |
| 2020-06-06 09:38 | rkoyama1623 | File Added: test.dae | |
| 2020-06-06 09:38 | rkoyama1623 | File Added: test.png | |
| 2020-06-06 09:38 | rkoyama1623 | File Added: test2.png | |
| 2020-06-07 17:32 | openBrain | Note Added: 0014512 | |
| 2020-06-09 11:21 | rkoyama1623 | Note Added: 0014517 | |
| 2020-06-09 11:30 | openBrain | Status | new => closed | 
| 2020-06-09 11:30 | openBrain | Resolution | open => fixed | 
| 2020-06-09 11:30 | openBrain | Description Updated | |
| 2020-06-09 11:30 | openBrain | FreeCAD Information | OS: Ubuntu 16.04.6 LTS (Unity/ubuntu) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19. Build type: Release Branch: unknown Hash: aac84ddf0f6413c3886e92c16fc493f74c593aad Python version: 3.5.2 Qt version: 4.8.7 Coin version: 4.0.0a OC... => OS: Ubuntu 16.04.6 LTS (Unity/ubuntu) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19. Build type: Release Branch: unknown Hash: aac84ddf0f6413c3886e92c16fc493f74c593aad Python version: 3.5.2 Qt version: 4.8.7 Coin version: ... | 
| 2020-06-09 11:30 | openBrain | Note Added: 0014518 | |
| 2020-06-09 11:37 | Kunda1 | Note Edited: 0014518 | |
| 2020-06-09 11:55 | Kunda1 | Note Edited: 0014518 | 
 FreeCAD
 FreeCAD