MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029564Community[OCCT] OCCT:Data Exchangepublic2018-03-11 21:432018-05-26 21:10
Reportereasyw 
Assigned Togka 
PrioritynormalSeveritymajor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.2.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029564: STEP Import and Export failure
DescriptionLoading the sample file attached, the result in CAD Assistant and FreeCAD 0.16 and 0.17 is wrong, compared to other commercial CAD.
file: OCC_wrong_loading.stp

A similar issue, but in the opposite way, is reproducible Exporting the attached BREP file to STEP and then importing it.
The BREP file and the exported STEP files are different.
files:
BREP_wrong_export.brep
BREP_wrong_export.step
TagsNo tags attached.
Test case number
Attached Fileszip file icon OCC_STEP_wrong_import_BREP_wrong_export_to_STEP.zip (78,414 bytes) 2018-03-11 21:43
png file icon bug29564_occt631.png (39,057 bytes) 2018-03-12 10:19
png file icon bug29564_autodesk.png (92,806 bytes) 2018-03-12 10:22
png file icon bug29564_occt730dev.png (36,653 bytes) 2018-03-12 10:23
png file icon FC014-step-import.png (111,620 bytes) 2018-03-12 11:44
png file icon DSM-step-import.png (114,720 bytes) 2018-03-12 11:45
? file icon bug29564.stp (114,485 bytes) 2018-05-22 14:53

- Relationships
related to 0028414newgka Step entity not correctly read. 

-  Notes
(0074375)
abv (manager)
2018-03-12 10:24

This looks like regression occurred in OCCT 6.8.0: versions before it produce correct shape (looking like n Autodesk free viewer), while later versions of OCCT apparently take wrong part of the spherical face.
(0074378)
easyw (reporter)
2018-03-12 11:44

good catch... in FC014 I can load the 'OCC_wrong_loading.stp' file correctly...

Still there is an error in loading the 'BREP_wrong_export.step' both on FC0.17 (OCC7.1) and FC0.14 (OCC prior to 6.8) compared to the correct import in DSM
(I'm attaching the screenshots)
(0076099)
git (administrator)
2018-05-22 14:51

Branch CR29564 has been created by gka.

SHA-1: a60b2074773da69606ee4d01f4f63ffcd7672fc6


Detailed log of new commits:

Author: gka
Date: Tue May 22 14:50:16 2018 +0300

    0029564: STEP Import and Export failure
    
    In the result of translation one face lying on the spherical surface converted to the two separate faces due to invalid method IsSurfaceUVClosed used to addition of the natural bounds.
    Method IsSurfaceUVPeriodic used to define that natural bounds can be added was incorrect for spherical surface.
    Method IsSurfaceUVPeriodic was replaced on the method IsSurfaceUVClosed which defines that natural bounds can be added for spherical and toroidal surface.
(0076196)
git (administrator)
2018-05-23 18:27

Branch CR29564 has been updated forcibly by gka.

SHA-1: ce27289a1ba03957d7dfb361b4ffa563785a7466
(0076234)
git (administrator)
2018-05-24 15:34

Branch CR29564 has been updated forcibly by gka.

SHA-1: fa569b125235cfb77fb8b219f7826c35fc3d4edc
(0076306)
git (administrator)
2018-05-24 20:21

Branch CR29564 has been updated forcibly by gka.

SHA-1: fd9275f3092591126a3c74c5944c42d9c3be9f87
(0076332)
git (administrator)
2018-05-25 16:01

Branch CR29564 has been updated forcibly by gka.

SHA-1: 29e785179aa8da918ecdd27239d6e15d90b06f0e

- Issue History
Date Modified Username Field Change
2018-03-11 21:43 easyw New Issue
2018-03-11 21:43 easyw Assigned To => gka
2018-03-11 21:43 easyw File Added: OCC_STEP_wrong_import_BREP_wrong_export_to_STEP.zip
2018-03-12 10:19 abv File Added: bug29564_occt631.png
2018-03-12 10:22 abv File Added: bug29564_autodesk.png
2018-03-12 10:23 abv File Added: bug29564_occt730dev.png
2018-03-12 10:24 abv Note Added: 0074375
2018-03-12 10:25 abv Target Version => 7.3.0
2018-03-12 11:44 easyw Note Added: 0074378
2018-03-12 11:44 easyw File Added: FC014-step-import.png
2018-03-12 11:45 easyw File Added: DSM-step-import.png
2018-05-22 14:51 git Note Added: 0076099
2018-05-22 14:53 gka File Added: bug29564.stp
2018-05-23 18:27 git Note Added: 0076196
2018-05-24 15:34 git Note Added: 0076234
2018-05-24 20:21 git Note Added: 0076306
2018-05-25 16:01 git Note Added: 0076332
2018-05-25 21:22 abv Target Version 7.3.0 => 7.4.0*
2018-05-26 21:10 abv Relationship added related to 0028414


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker