View Issue Details

IDProjectCategoryView StatusLast Update
0002732File formatsGeneralpublic2022-01-24 19:16
Reportervern.zimm Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformIntel Core i5 64-bitOSWindowsOS Version7 SP1
Product Version0.16 
Target Version0.20 
Summary0002732: IGES and STEP export compatibility
DescriptionGreetings,

Disclaimer : I do understand that the Import/Export is part of OCC and you do not have control over that, and also understand that you have no control over the CMM software, but I would appreciate any help you can give me. It does appear that there are some settings for OCC that are variable on your end.

I am using CMM software called PC-DMIS, and it has some very strange results from attempts to import both .step and .iges from FreeCAD. It is a bit finicky with .iges, but .step has always been the better format and I can't think of the last time I had an issue with it.

.step files fail to import completely. Luckily there is a translate log and it shows errors "building bounds of Face". That and the exported .step are attached.

.iges files have mixed results depending on "144" or "186" type.

The "144" type will import all curves, but only some faces.
The "186" type will import all faces, and some huge lines that are clearly related to the missing curves.
(File and screenshots of results attached for both)

I am able to merge the two, then delete huge lines and duplicate faces, so it does work to do that. The settings for the .iges importer are attached as well. Perhaps you can make some sense of them, but no combination seems to give better results.
Steps To ReproduceCreate part (including curves of some sort for the IGES issue)
Export using either File menu, or Part Workbench export
Additional InformationOS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Tags#ready-for-migration, file format, IGES, OCC Bug, STEP, units
FreeCAD Information

Relationships

related to 0001591 closedwmayer FreeCAD STL export in various units 

Activities

vern.zimm

2016-10-10 21:51

reporter  

Export Test.zip (222,054 bytes)

normandc

2016-10-12 11:29

manager   ~0007357

Creating a post on the forum first would have been more appropriate. This looks like a help request, not like a bug report. As it is, this bug report is much too vague.

Please read the "Please read before reporting" link. http://forum.freecadweb.org/viewtopic.php?f=3&t=5236

vern.zimm

2016-10-14 17:13

reporter  

Inch to MM compare.zip (17,330 bytes)

vern.zimm

2016-10-14 17:21

reporter   ~0007362

There would appear to be a bug in either FreeCAD or OCC with the Inch export vs. MM export. In the preferences for Import/Export, one can set the export units. I set this to MM and suddenly my .step files come in perfectly. The "186" .iges files still have the lines, but do pull in complete otherwise. I suspect there may be a conversion error somewhere, for instance, in the MM .iges I find this "-0.E+000", but in the Inch .iges, I find "-1.928577636E-017". I don't know if that's the issue, but it is one difference I found. See the "502" line from each file in the attached MM to Inch Compare.txt (with the inch equivalent converted for the other numbers).

Kunda1

2017-01-16 08:58

administrator   ~0007813

Forum thread to continue discussion: http://forum.freecadweb.org/viewtopic.php?f=10&t=19941

Kunda1

2017-05-06 11:07

administrator   ~0008895

Forum thread updated

yorik

2022-03-03 13:55

administrator   ~0016503

This ticket has been migrated to GitHub as issue 5668.

Issue History

Date Modified Username Field Change
2016-10-10 21:51 vern.zimm New Issue
2016-10-10 21:51 vern.zimm File Added: Export Test.zip
2016-10-10 21:53 vern.zimm Tag Attached: file format
2016-10-10 21:53 vern.zimm Tag Attached: IGES
2016-10-10 21:53 vern.zimm Tag Attached: OCC Bug
2016-10-10 21:53 vern.zimm Tag Attached: STEP
2016-10-12 11:29 normandc Note Added: 0007357
2016-10-14 17:13 vern.zimm File Added: Inch to MM compare.zip
2016-10-14 17:21 vern.zimm Note Added: 0007362
2017-01-16 08:58 Kunda1 Note Added: 0007813
2017-01-16 08:59 Kunda1 Project FreeCAD => File formats
2017-01-16 08:59 Kunda1 Category Bug => General
2017-05-06 11:07 Kunda1 Note Added: 0008895
2017-05-06 11:15 Kunda1 Relationship added related to 0001591
2017-05-09 12:11 Kunda1 Tag Attached: units
2021-02-06 06:31 abdullah Target Version => 0.20
2022-01-24 19:16 Kunda1 Tag Attached: #ready-for-migration