View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001080 | Community | OCCT:Data Exchange | public | 2002-12-02 15:38 | 2011-12-15 17:50 |
| Reporter | Assigned To | ||||
| Priority | normal | Severity | trivial | ||
| Status | closed | Resolution | unable to reproduce | ||
| OS | All | ||||
| Fixed in Version | 5.1.2 | ||||
| Summary | 0001080: bug in step writer | ||||
| Description | This 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). --- | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| 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 |
|
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 |