View Issue Details

IDProjectCategoryView StatusLast Update
0002698File formatsGeneralpublic2017-05-01 17:56
ReporterSMusche Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformFreeCAD 0.16 6704OSWindows 7 32-bit 
Summary0002698: Exported STEP-File contains surplus PRODUCTS
DescriptionIn FreeCAD 0.15 the exported STEP-file includes only the objects which were selected for export before starting the export dialog. In 0.16 the STEP-file contains a "PRODUCT('ASSEMBLY','ASSEMBLY','',(0000008));" in addition to the preselected objects.

This additional product 'ASSEMBLY' causes trouble, when importing the 0.16 STEP file into other applications, especially when they expect the STEP file to contain only one PRODUCT.

I checked customer STEP-files I received during last months, which were created with commercial systems (e. g. PRO/ENGINEER) and they did only contain the one PRODUCT which they were supposed to contain.
Steps To ReproduceWith the same FCStd-file start the export dialog in 0.15 and 0.16 and create two STEP files. In the 0.16 STEP file you find the a. m. product 'ASSEMBLY' added whereas in 0.15 STEP file you only find the objects you marked for export.
Additional InformationAs a work-around I reinstalled 0.15 and use this export to STEP after finishing my work in 0.16.
TagsSTEP
FreeCAD Information

Activities

Kunda1

2017-02-02 17:53

administrator   ~0008177

OP, please:
0) if possible, test on latest trunk and see if you get the same results
1) attach an example file to the ticket
2) post the Help > About FreeCAD > Copy to clipboard (of both your v0.15 and v0.16)
3) open a forum thread and bidirectionally link ticket <=> thread

SMusche

2017-02-03 13:21

reporter  

Demo_Step_Export.FCStd (38,542 bytes)

SMusche

2017-02-03 13:22

reporter  

SMusche

2017-02-03 13:23

reporter  

SMusche

2017-02-03 14:02

reporter  

Error_Step_Import.jpg (100,908 bytes)   
Error_Step_Import.jpg (100,908 bytes)   

SMusche

2017-02-03 14:03

reporter   ~0008193

Last edited: 2017-02-03 14:31

ad 0) I tested on 0-17_9798 today
   open 'Demo_Step_Export.FCStd'; highlight 'Halter'; File-Export to step
   Resulting file 'Demo_Step_Export_0-17_9798.step' has two lines with 'PRODUCT(' in it:
   line 20: 0000007 = PRODUCT('ASSEMBLY','ASSEMBLY','',(0000008))
   line 3963: 0003369 = PRODUCT('Halter','Halter','',(0003370));
   attached find screenshot of error connectd to 0.17 step file: 'Fehler 316 Die STEP-Datei besteht aus mehreren Einzelteilen' -> 'Error 316 The STEP-file consists of more than one parts'
   The 0.16 step file is processed without error
ad 1) see file 'Demo_Step_Export.FCStd'
ad 2) I run 0.15, 0.16, 0.17 in parallel
-----
OS: Windows 7
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4671 (Git)
Branch: releases/FreeCAD-0-15
Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
-----
OS: Windows 7
Word size of OS: 32-bit
Word size of FreeCAD: 32-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
-----
OS: Windows 7
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.9798 (Git)
Build type: Release
Branch: master
Hash: fdd34efa4356cfe6d83230a333526023356e98e3
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
-----
ad 3) Ongoing

wmayer

2017-02-04 17:10

administrator   ~0008212

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

Related Changesets

FreeCAD: master 850bba79

2017-02-04 10:34:55

wmayer

Details Diff
prework for issue 0002698 Affected Issues
0002698
mod - src/Mod/Import/App/ImportOCAF.cpp Diff File

FreeCAD: master 7901cf7a

2017-03-26 16:29:27

wmayer

Details Diff
issue 0002698: Exported STEP-File contains surplus PRODUCTS Affected Issues
0002698
mod - src/Mod/Import/App/AppImportPy.cpp Diff File
mod - src/Mod/Import/App/ImportOCAF.cpp Diff File
mod - src/Mod/Import/App/ImportOCAF.h Diff File
mod - src/Mod/Import/Gui/AppImportGuiPy.cpp Diff File

FreeCAD: releases/FreeCAD-0-16 2228a0fd

2017-04-30 17:29:54

wmayer

Details Diff
issue 0002698: Exported STEP-File contains surplus PRODUCTS Affected Issues
0002698
mod - src/Mod/Import/App/AppImportPy.cpp Diff File
mod - src/Mod/Import/App/ImportOCAF.cpp Diff File
mod - src/Mod/Import/App/ImportOCAF.h Diff File
mod - src/Mod/Import/Gui/AppImportGuiPy.cpp Diff File

Issue History

Date Modified Username Field Change
2016-09-15 16:35 SMusche New Issue
2017-01-10 13:01 Kunda1 Tag Attached: STEP
2017-02-02 17:53 Kunda1 Note Added: 0008177
2017-02-02 17:53 Kunda1 Status new => feedback
2017-02-03 13:21 SMusche File Added: Demo_Step_Export.FCStd
2017-02-03 13:22 SMusche File Added: Demo_Step_Export_0-17_9798.step
2017-02-03 13:23 SMusche File Added: Demo_Step_Export_0-15_4671.step
2017-02-03 14:02 SMusche File Added: Error_Step_Import.jpg
2017-02-03 14:03 SMusche Note Added: 0008193
2017-02-03 14:03 SMusche Status feedback => new
2017-02-03 14:31 SMusche Note Edited: 0008193
2017-02-03 18:01 wmayer Status new => confirmed
2017-02-04 10:35 wmayer Changeset attached => FreeCAD Master master 850bba79
2017-02-04 17:10 wmayer Note Added: 0008212
2017-03-26 16:30 wmayer Changeset attached => FreeCAD master 7901cf7a
2017-03-26 16:30 wmayer Assigned To => wmayer
2017-03-26 16:30 wmayer Status confirmed => closed
2017-03-26 16:30 wmayer Resolution open => fixed
2017-05-01 17:56 Kunda1 Changeset attached => FreeCAD releases/FreeCAD-0-16 2228a0fd