View Issue Details

IDProjectCategoryView StatusLast Update
0003026FreeCADBugpublic2017-10-01 20:21
Reporterhokieengr Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.17 
Target Version0.17 
Summary0003026: IGES export results in empty IGES file
DescriptionAfter creating some geometry in Part Design, I exported the resulting body to an IGES file. The resulting IGES file did not contain any geometry.

The only real difference I can think of between this file and it's predecessor (which exported properly) is that this body has been rotated and translated.
Steps To ReproduceLoad attached "example_iges_export_issue.fcstd" and export to IGES file. Examine resulting IGES file.
Additional InformationOS: Ubuntu 15.10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10993 (Git)
Build type: Debug
Branch: master
Hash: bf5f3484f6f5506795b6e9b86288c75ab7357291
Python version: 2.7.10
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.0
TagsIGES
FreeCAD Information

Activities

hokieengr

2017-05-09 11:24

reporter  

Kunda1

2017-05-10 11:48

administrator   ~0008930

@hokieengr would you please state how to recreate the bug step by step? Also if you'd like to potentially expedite a fix you can bidirectionally link ticket <=> forum thread to get more exposure to the community. Thx

hokieengr

2017-05-10 18:34

reporter   ~0008943

@Kunda1 The steps to reproduce the problem are in the issue details:

  1. Load attached file (example_iges_export_issue.fcstd)
  2. Export to IGES
  3. Create a new document in FreeCAD
  4. Import created IGES file. It will be empty.

Forum link: https://forum.freecadweb.org/viewtopic.php?f=8&t=22270

hokieengr

2017-05-10 18:39

reporter   ~0008944

After looking at this more last night, I do not believe this is an issue with the IGES export code. I discovered that all file formats exported a blank model thus I looked more on the FreeCAD side.

It appears that somehow the "Tip" field was blank in the only body in that model. When I figured out how to point that to some geometry it exported to IGES without issues.

How that field ended up blank is a mystery to me. It was not intuitive that that was the issue or how to fix it.

wmayer

2017-10-01 20:21

administrator   ~0010231

When exporting a body instead of one of its sub-elements then you have to make sure to set the requested sub-element as tip. A shape of a body which hasn't set the tip is indeed empty. So far the issue is expected behaviour.

Issue History

Date Modified Username Field Change
2017-05-09 11:24 hokieengr New Issue
2017-05-09 11:24 hokieengr File Added: example_iges_export_issue.fcstd
2017-05-09 11:24 hokieengr Tag Attached: IGES
2017-05-09 12:13 Kunda1 Relationship added related to 0001591
2017-05-09 12:14 Kunda1 Relationship deleted related to 0001591
2017-05-10 11:48 Kunda1 Note Added: 0008930
2017-05-10 18:34 hokieengr Note Added: 0008943
2017-05-10 18:39 hokieengr Note Added: 0008944
2017-09-24 19:55 wmayer Target Version => 0.17
2017-10-01 20:21 wmayer Status new => closed
2017-10-01 20:21 wmayer Resolution open => no change required
2017-10-01 20:21 wmayer Note Added: 0010231