View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013542 | Open CASCADE | OCCT:Modeling Algorithms | public | 2006-09-29 17:14 | 2012-01-11 17:21 |
Reporter | Assigned To | ||||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.2.1 | ||||
Summary | 0013542: Export to Brep, IGES, STEP with not enough space on disk: file is invalid, but no error status returned. | ||||
Description | When we make an attempt to export shape, but have no enough space on disk: 1) For Brep and IGES format: Method for Brep: BRepTools::Write(Sh : Shape from TopoDS; File : CString) returns Boolean Method for IGES: IGESControl_Writer::Write (me : in out; file : CString; fnes : Boolean = Standard_False)returns Boolean Obtained result: the file is invalid and takes all free space, method Write(...) returns true. 2) For STEP format: Method: STEPControl_Writer::Write (me : in out; filename : CString) returns ReturnStatus Obtained result: the file takes all free space(in this case it is invalid) or takes no space(in this case it is empty), method Write(...) returns wrong status(namely IFSelect_RetDone). It is desirable to have the possibility to get the real status of the export operation in case of the free space is not enough. Note: at least in case of Brep or IGES format the returned by method Write() value should not be equal to true. | ||||
Additional information and documentation updates | Documentation remark, added by GKA 2006-11-13 11:07:48: Improvements: Methods performing writing shape in the file for STEP, IGES and BREP formats check state of ofstream after saving data on disk now. And if file was not saved correct (for example disk is full) then methods for writing files will return rigth status. For case when disk is full following methods retuns values : IGESControl_Writer::Write(CString,Boolean) returns Standard_False; STEPControl_Writer::Write(CString) returns IFSElect_RetError; BRepTools::Write(TopoDS_Shape,CString) returns Standard_False; | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2006-10-16 19:13 | bugmaster | BugsThisDependsOn | => 13363 |
2006-10-24 16:07 |
|
Assigned To | bugmaster => gka |
2006-10-24 16:07 |
|
Status | new => assigned |
2006-11-13 12:47 |
|
Status | assigned => resolved |
2006-11-20 18:50 | bugmaster | Status | resolved => tested |
2007-01-19 17:47 | bugmaster | Status | tested => verified |
2007-02-09 21:07 | bugmaster | Assigned To | gka => bugmaster |
2007-02-09 21:07 | bugmaster | Status | verified => assigned |
2007-02-09 21:08 | bugmaster | Assigned To | bugmaster => ifv |
2007-02-09 21:08 | bugmaster | Status | assigned => tested |
2007-02-12 12:55 |
|
CC | => pdn |
2007-02-12 14:49 | bugmaster | Assigned To | ifv => bugmaster |
2007-02-12 14:49 | bugmaster | Status | tested => assigned |
2007-05-30 15:52 | bugmaster | Assigned To | bugmaster => epa |
2007-06-18 15:15 | bugmaster | Status | assigned => resolved |
2007-07-02 12:09 |
|
Status | resolved => tested |
2007-07-27 17:05 | bugmaster | Status | tested => verified |
2009-06-24 17:16 | bugmaster | Status | verified => closed |
2009-06-24 17:16 | bugmaster | Resolution | @0@ => fixed |
2011-08-02 11:31 | bugmaster | Category | OCCT:MOA => OCCT:Modeling Algorithms |
2012-01-11 17:21 |
|
Description Updated | |
2012-01-11 17:21 |
|
Additional Information Updated |