View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022767 | Open CASCADE | OCCT:DRAW | public | 2011-10-19 10:40 | 2012-03-29 17:26 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.5.2 | ||||
Target Version | 6.5.3 | Fixed in Version | 6.5.3 | ||
Summary | 0022767: Extension of DRAW command fixshape | ||||
Description | Currently DRAW command fixshape does not provide any report on whether and what fixes have been made. The command should be extended by capabilities to output such information on request. This new capability should be used then in non-regression tests. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Changes in ShapeFix_Face.cxx, ShapeFix_Shell.cxx and ShapeFix_Wire.cxx: Removed duplicate messages. Most messages now attached to the shape, which was fixed. Changes in SWDRAW_ShapeFix.cxx: Added necessary breaks to the switch case statement. fixshape(line 389) now provides information about the number of fixes if called with option '+?' and store all modified shapes in compound if called with '*?' SVN branch http://svn/svn/occt/branches/OCC22767 is ready to be reviewed |
|
2dbv, src/SHMessage/SHAPE.us, it seems that changes are not in sync with French translation (SHAPE.fr) src/ShapeFix/ShapeFix_Face.cxx, 1273 > SendWarning ( Message_Msg ("FixAdvFace.FixOrientation.MSG5") );//Wire on face was reversed 1) it seems some messages become unusable in code (FixAdvFace.FixOrientation.MSG10), maybe them should be completely removed from message files? 2) code style comment, could you please apply one coding style for spaces with parentheses within at least in one line of code? src/SWDRAW/SWDRAW_ShapeFix.cxx, 457 > //Counting the number of each type of fixes. If the switch '*?' store all modified shapes in compound. code style comment, I think that space between // and comments looks better and preferred in OCCT sources |
|
added changes in src/SHMessage/SHAPE.fr removed FixAdvFace.FixOrientation.MSG10 message as no longer used in the code. minor changes in source files: corrections associated with the coding style branch http://svn/svn/occt/branches/OCC22767 is ready to be reviewed |
|
Some comments from review: - resource files SHMessage/SHAPE.* seem to have problem with text encoding: whole file is marked as change - Messages in FixFace that apply to wires (e.g. FixAdvFace.FixOrientation.MSG11) should perhaps be attached to relevant wires rather than by default (obviously to whole face) - Message FixWire.FixDegenerated.MSG5 was commented out previously with remark "to avoid extra messages"; it shall probably be left commented |
|
Messages in ShapeFix_Face now attached to the relevant wires. Message FixWire.FixDegenerated.MSG0 commented out. Dear Andrey, Please review the fix. |
|
No remarks, the fix is ready for testing |
|
Dear BugMaster, Workbench KAS:dev:mkv-22767-occt was created from SVN branch http://svn/svn/occt/branches/OCC22767 (and mkv-22767-products from trunk) and compiled on Linux platform. There are following regressions in mkv-22767-products regarding to KAS:dev:products-652-opt: xigs 103 U3 See results in /QADisk/occttests/results/KAS/dev/mkv-22767-products_12122011/lin See reference results in /QADisk/occttests/results/KAS/dev/products-652-opt_23092011/lin See test cases in /QADisk/occttests/tests/ED N.B. In order to launch testing case you can make use the following instructions http://doc/doku.php?id=occt:certification |
|
Due to changes in /src/ShapeFix/ShapeFix_Face.cxx (line 1682) "tpstat" command now displays a warning messages for this test. Therefore the test case results must be modified in accordance with the current output. Dear Andrey, Please review. |
|
Please modify test case "xigs 103 U3" as per above comment, and integrate |
|
Dear BugMaster, Test case xigs/103/U3 will be modified afther integration this fix. |
|
Dear dbv, I need the examples for testing new capability of fixshape-command. |
2011-12-14 13:38 developer |
example1-notfixed.brep (164,297 bytes) |
2011-12-14 13:58 developer |
trampafus-notfixed.7z (633,918 bytes) |
2011-12-14 13:58 developer |
TransmissionTestModel5-notfixed.7z (649,454 bytes) |
|
Dear mkv, I attached some files for testing. "fixshape" usage: Draw> fixshape res a +? or Draw> fixshape res a *? For example1-notfixed.brep output should look like: Draw[2]> rest D:/Shapes/example1-notfixed.brep a a Draw[3]> fixshape res a +? Fix Count ------------------------------------------------------------ Improperly connected shell split into parts 1 Wire on face was reversed 3 ------------------------------------------------------------ Draw[4]> fixshape res a *? Fix Count ------------------------------------------------------------ Improperly connected shell split into parts 1 Wire on face was reversed 3 ------------------------------------------------------------ Modified shapes saved in compound: res_m Draw[5]> |
|
Integration into trunk of occt repository Date: 2011-12-16 15:18:18 +0400 (Fri, 16 Dec 2011) New Revision: 9763 Modified: trunk/src/SHMessage/SHAPE.fr trunk/src/SHMessage/SHAPE.us trunk/src/SWDRAW/SWDRAW_ShapeFix.cxx trunk/src/ShapeFix/ShapeFix_Face.cxx trunk/src/ShapeFix/ShapeFix_Shell.cxx trunk/src/ShapeFix/ShapeFix_Wire.cxx |
occt: master 999d2599 2011-12-16 11:18:18
Committer: bugmaster Details Diff |
0022767: Extension of DRAW command fixshape |
Affected Issues 0022767 |
|
mod - src/ShapeFix/ShapeFix_Face.cxx | Diff File | ||
mod - src/ShapeFix/ShapeFix_Shell.cxx | Diff File | ||
mod - src/ShapeFix/ShapeFix_Wire.cxx | Diff File | ||
mod - src/SHMessage/SHAPE.fr | Diff File | ||
mod - src/SHMessage/SHAPE.us | Diff File | ||
mod - src/SWDRAW/SWDRAW_ShapeFix.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-19 10:40 |
|
New Issue | |
2011-10-19 10:40 |
|
Assigned To | => mkv |
2011-10-19 13:49 |
|
Assigned To | mkv => ama |
2011-10-19 13:49 |
|
Status | new => assigned |
2011-10-19 13:49 |
|
Assigned To | ama => dbv |
2011-11-21 17:55 |
|
Note Added: 0018597 | |
2011-11-21 17:56 |
|
Note Edited: 0018597 | |
2011-11-21 17:58 |
|
Status | assigned => resolved |
2011-11-21 17:59 |
|
Assigned To | dbv => abv |
2011-11-23 16:49 | kgv | Note Added: 0018613 | |
2011-11-23 16:55 | kgv | Note Edited: 0018613 | |
2011-11-23 16:56 | kgv | Note Edited: 0018613 | |
2011-11-25 13:28 |
|
Note Added: 0018621 | |
2011-12-01 09:19 |
|
Note Added: 0018680 | |
2011-12-01 09:19 |
|
Assigned To | abv => dbv |
2011-12-01 09:19 |
|
Status | resolved => assigned |
2011-12-02 16:33 |
|
Note Added: 0018721 | |
2011-12-02 16:33 |
|
Assigned To | dbv => abv |
2011-12-02 16:33 |
|
Status | assigned => resolved |
2011-12-02 16:44 |
|
Note Added: 0018722 | |
2011-12-02 16:44 |
|
Assigned To | abv => dbv |
2011-12-02 16:44 |
|
Status | resolved => reviewed |
2011-12-12 19:41 |
|
Note Added: 0018827 | |
2011-12-12 19:41 |
|
Status | reviewed => assigned |
2011-12-13 12:57 |
|
Note Added: 0018828 | |
2011-12-13 12:57 |
|
Assigned To | dbv => abv |
2011-12-13 12:57 |
|
Status | assigned => resolved |
2011-12-13 13:00 |
|
Note Edited: 0018828 | |
2011-12-13 14:07 |
|
Status | resolved => reviewed |
2011-12-13 14:08 |
|
Note Added: 0018829 | |
2011-12-13 15:47 |
|
Note Added: 0018830 | |
2011-12-13 15:51 |
|
Note Added: 0018831 | |
2011-12-13 15:52 |
|
Note Edited: 0018831 | |
2011-12-13 16:07 |
|
Status | reviewed => tested |
2011-12-14 13:38 |
|
File Added: example1-notfixed.brep | |
2011-12-14 13:58 |
|
File Added: trampafus-notfixed.7z | |
2011-12-14 13:58 |
|
File Added: TransmissionTestModel5-notfixed.7z | |
2011-12-14 14:08 |
|
Note Added: 0018845 | |
2011-12-14 14:08 |
|
Note Edited: 0018845 | |
2011-12-16 16:14 | bugmaster | Note Added: 0018889 | |
2011-12-16 16:14 | bugmaster | Status | tested => verified |
2011-12-16 16:14 | bugmaster | Resolution | open => fixed |
2012-03-29 17:26 | bugmaster | Changeset attached | => occt master 999d2599 |