View Issue Details

IDProjectCategoryView StatusLast Update
0001080CommunityOCCT:Data Exchangepublic2011-12-15 17:50
ReporteremoAssigned Toskl 
PrioritynormalSeveritytrivial 
Status closedResolutionunable to reproduce 
OSAll 
Fixed in Version5.1.2 
Summary0001080: bug in step writer
DescriptionThis bug has been added by Stephane Routelous at
http://www.opencascade.org/forumorg/bug.php?bug_id=102&f=8 .

----------

Hi,

I found ( another ) bug :
The transfer of a shape in FacetedBRep mode doesn't work.
I tested with the released version and the development version : same result.

Here is the code, and I attach to this bug report the VisualC++ project with the
shape.


TopoDS_Shape theShape;
BRep_Builder theBuilder;
BRepTools::Read(theShape,"fuse2.brep",theBuilder);
if ( theShape.IsNull() )
{
cout << "null shape : exit" << endl;
exit(-1);
}
STEPControl_Writer aWriter;
IFSelect_ReturnStatus status;
cout << "transfering to FacetedBRep" << endl;
status = aWriter.Transfer(theShape, STEPControl_FacetedBrep);
if ( status != IFSelect_RetDone )
{
cout << "transfer failed" << endl;
}
cout << "transfering to AsIS" << endl;
status = aWriter.Transfer(theShape, STEPControl_AsIs);
if ( status != IFSelect_RetDone )
{
cout << "transfer failed" << endl;
}

----------

See the file attached


---
Comment of RLN:
I didn't test but transfer in FacettedBRep model will not work if a shape
contains something apart from planar surfaces and linear curves.
For that the users may consult a function TestFacetedBrep available in
ImportExport sample of Open CASCADE (see file ImportExport.cpp).
---
TagsNo tags attached.
Test case number

Attached Files

Relationships

duplicate of 0004503 closedbugmaster Open CASCADE Integration of perf meter 

Activities

2002-12-02 11:38

 

BUGStep.zip (7,244 bytes)

bugmaster

2004-03-03 09:23

administrator   ~0005630

*** Bug 4503 has been marked as a duplicate of this bug. ***

Issue History

Date Modified Username Field Change
2003-05-15 17:25 bugmaster CC => gka
2003-05-15 17:25 bugmaster Assigned To bugmaster => enk
2003-05-15 17:25 bugmaster Status new => assigned
2003-12-01 17:18 bugmaster Assigned To enk => pdn
2003-12-10 12:07 pdn Assigned To pdn => skl
2003-12-25 17:10 bugmaster Status assigned => closed
2003-12-25 17:10 bugmaster Fixed in Version => 5.1.2
2003-12-25 17:10 bugmaster Resolution @0@ => unable to reproduce
2004-03-03 09:23 bugmaster CC => pdn
2011-08-02 11:12 bugmaster Category OCCT:DTE => OCCT:Data Exchange
2011-12-15 17:50 bugmaster Project Open CASCADE => Community