View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029586 | Open CASCADE | OCCT:Modeling Algorithms | public | 2018-03-16 16:15 | 2018-06-23 13:56 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.2.0 | ||||
Target Version | 7.4.0 | Fixed in Version | 7.4.0 | ||
Summary | 0029586: Revolution creates solid with degenerated edges shared among faces | ||||
Description | BRepPrimAPI_MakeRevol creates the solid with degenerated edges shared among faces. But, each face should have its own degenerated edges. The problem has been discovered while working on the issue #29580 in the test case boolean gdml_public A9. | ||||
Steps To Reproduce | Test case "bugs modalg_7 bug29586" | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_7 bug29586 | ||||
|
Branch CR29586 has been created by ifv. SHA-1: 47498f3ff81b6107f1e32b2b435f26db46e27033 Detailed log of new commits: Author: ifv Date: Fri Mar 23 11:33:27 2018 +0300 0029586: Revolution creates solid with degenerated edges shared among faces Substitution of degenerated edges by their copies is implemented to make edges not shared Test case is added |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: 62865f2ecd12b56c22538b4e89299e0364f2e36f |
|
Branch CR29586 is ready for review test results is CR29586-master-IFV |
|
Igor, may you please add comments in the code to explain what is its purpose? In this patch I see quite a lot of new code (seemingly duplicated) but no comments. Adding just a short comment on the purpose of the code block (perhaps with reference to issue) could make a life of any developer dealing with it in the future much easier. |
|
Please consider making the fix at the level of BRepSweep_Revol. |
|
Branch CR29586_1 has been created by ifv. SHA-1: cdce2dc7d24f83285a64957d4515dc8f0b6bc401 Detailed log of new commits: Author: ifv Date: Fri Mar 30 17:25:41 2018 +0300 0029586: Revolution creates solid with degenerated edges shared among faces Different copies of initial degenerated edge are used for different faces in BRepSweep/BRepSweep_NumLinearRegularSweep.cxx Method BRepPrimAPI_MakeRevol::Generated(...) is modified. |
|
Branch CR29586_1 is ready for review. Test results are CR29586-master-ifv |
|
Test results in CR29586-master-ifv are not actual, as they were got on the branch CR29586 instead of CR29586_1. I have restarted tests with proper parameters. |
|
Remarks: src/BRepSweep/BRepSweep_NumLinearRegularSweep.cxx - 420: aCopyE is forward edge, but anIt.Value() is a vertex got from oriented shape myShapes(iGenS, iDirS). It seems we should iterate on forwarded myShapes(iGenS, iDirS). |
|
The new tests show regressions. |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: 70835d63468bc3137c750ef596990a6220b3c972 |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: 44ed14ba6fef151fddab7ad38cf2c34ffe0e41c7 |
|
Branch CR29586 is ready for review. Test results are on CR29586-master-IFV |
|
Remarks: src/BRepPrimAPI/BRepPrimAPI_MakeRevol.cxx - 138: use const& - 145: use method Seek() to avoid repeated search. - 195: Instead of binding aF->aNF in a map remember substitutions directly in the new reshaper. - 218-219: Apply() return value can be used instead of calling Value(). - 222-227: why ReplaceModified() is needed? myHist->Merge(aSubs->History()) already does the job. - 269: why compound is added instead of filling in the result list of shape from elements of compound? src/BRepTest/BRepTest_SweepCommands.cxx - Please avoid creating a new command genrevol. Instead, rebase the branch on top of CR29604, and make similar to implementation in the file BRepTest_SweepCommands.cxx. Then the commands from BRepTest_HistoryCommands.cxx can be used in draw. Please test the function Generated() in the script bug29586. |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: c0f80a39b6c839a85eaaac7bfc927a070ae7be4f |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: d72b10f0caa1f0fbe055765beea283b167a6ccfb |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: 87684a5460327f3d43b9b062ca3403f3f2b790d7 |
|
CR29586 is ready for review Test results CR29586-master-IFV |
|
Branch CR29586 has been updated forcibly by ifv. SHA-1: 691d88ec46b6058efa66d0223dee76fadc13ded8 |
|
CR29586 is updated according to remarks |
|
Branch CR29586 has been updated forcibly by msv. SHA-1: b4e16c726ec4d9554e3838d5a56305005ec9ee2c |
|
Reviewed. |
|
Combination - OCCT branch : CR29586 SHA - d72b10f0caa1f0fbe055765beea283b167a6ccfb Products branch : master SHA - 8471189e8649026d76950924f8ec2b4878cba528 was compiled on Linux, MacOS and Windows platforms and tested in optimize mode. Number of compiler warnings: No new/fixed warnings Regressions/Differences/Improvements: No regressions/differences CPU differences: Debian70-64: OCCT Total CPU difference: 18275.18999999992 / 18243.73999999987 [+0.17%] Products Total CPU difference: 7491.770000000048 / 7495.350000000049 [-0.05%] Windows-64-VC10: OCCT Total CPU difference: 18023.637935398405 / 18049.78370299853 [-0.14%] Products Total CPU difference: 8246.244060199879 / 8209.739826199884 [+0.44%] Image differences : No differences that require special attention Memory differences : No differences that require special attention |
|
Branch CR29586 has been deleted by kgv. SHA-1: b4e16c726ec4d9554e3838d5a56305005ec9ee2c |
|
Branch CR29586_1 has been deleted by kgv. SHA-1: cdce2dc7d24f83285a64957d4515dc8f0b6bc401 |
occt: master 7e4ff648 2018-03-23 08:33:27
Committer: bugmaster Details Diff |
0029586: Revolution creates solid with degenerated edges shared among faces Substitution of degenerated edges by their copies is implemented to make edges not shared in BRepPrimAPI_MakeRevol::Build(). Method BRepPrimAPI_MakeRevol::Generated(...) is changed in order to use history of substitutions. Test case is added. |
Affected Issues 0029586 |
|
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | ||
mod - src/BRepPrimAPI/BRepPrimAPI_MakeRevol.cxx | Diff File | ||
mod - src/BRepPrimAPI/BRepPrimAPI_MakeRevol.hxx | Diff File | ||
mod - src/BRepTest/BRepTest_SweepCommands.cxx | Diff File | ||
mod - tests/bugs/modalg_1/bug15036 | Diff File | ||
mod - tests/bugs/modalg_7/bug29580_2 | Diff File | ||
add - tests/bugs/modalg_7/bug29586 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-16 16:15 |
|
New Issue | |
2018-03-16 16:15 |
|
Assigned To | => msv |
2018-03-16 16:19 |
|
Assigned To | msv => ifv |
2018-03-16 16:19 |
|
Status | new => assigned |
2018-03-16 16:21 |
|
Description Updated | |
2018-03-16 16:21 |
|
Description Updated | |
2018-03-23 13:46 | git | Note Added: 0074820 | |
2018-03-23 15:36 | git | Note Added: 0074832 | |
2018-03-23 16:59 |
|
Steps to Reproduce Updated | |
2018-03-23 17:00 |
|
Note Added: 0074834 | |
2018-03-23 17:00 |
|
Assigned To | ifv => msv |
2018-03-23 17:00 |
|
Status | assigned => resolved |
2018-03-24 09:03 |
|
Note Added: 0074837 | |
2018-03-24 10:20 |
|
Note Edited: 0074837 | |
2018-03-27 10:28 |
|
Note Added: 0074946 | |
2018-03-27 10:28 |
|
Assigned To | msv => ifv |
2018-03-27 10:28 |
|
Status | resolved => assigned |
2018-03-30 17:33 | git | Note Added: 0075076 | |
2018-04-02 11:44 |
|
Note Added: 0075098 | |
2018-04-02 11:44 |
|
Assigned To | ifv => msv |
2018-04-02 11:44 |
|
Status | assigned => resolved |
2018-04-02 17:44 |
|
Note Added: 0075119 | |
2018-04-02 18:28 |
|
Note Added: 0075125 | |
2018-04-02 18:28 |
|
Assigned To | msv => ifv |
2018-04-02 18:28 |
|
Status | resolved => assigned |
2018-04-02 19:10 |
|
Note Added: 0075132 | |
2018-04-06 17:31 | git | Note Added: 0075220 | |
2018-04-09 16:58 | git | Note Added: 0075247 | |
2018-04-10 10:59 |
|
Note Added: 0075259 | |
2018-04-10 10:59 |
|
Assigned To | ifv => msv |
2018-04-10 10:59 |
|
Status | assigned => resolved |
2018-04-10 16:32 |
|
Note Added: 0075278 | |
2018-04-10 16:32 |
|
Assigned To | msv => ifv |
2018-04-10 16:32 |
|
Status | resolved => assigned |
2018-04-13 17:06 | git | Note Added: 0075444 | |
2018-04-17 10:54 | git | Note Added: 0075470 | |
2018-04-17 15:49 | git | Note Added: 0075479 | |
2018-04-17 15:50 |
|
Note Added: 0075480 | |
2018-04-17 15:50 |
|
Assigned To | ifv => msv |
2018-04-17 15:50 |
|
Status | assigned => resolved |
2018-04-17 16:55 |
|
Assigned To | msv => ifv |
2018-04-17 16:55 |
|
Status | resolved => assigned |
2018-04-17 17:00 | git | Note Added: 0075490 | |
2018-04-17 17:01 |
|
Note Added: 0075491 | |
2018-04-17 17:01 |
|
Assigned To | ifv => msv |
2018-04-17 17:01 |
|
Status | assigned => resolved |
2018-04-17 18:02 | git | Note Added: 0075494 | |
2018-04-17 18:02 |
|
Note Added: 0075495 | |
2018-04-17 18:02 |
|
Assigned To | msv => bugmaster |
2018-04-17 18:02 |
|
Status | resolved => reviewed |
2018-05-24 11:26 | bugmaster | Note Added: 0076214 | |
2018-05-24 11:26 | bugmaster | Status | reviewed => tested |
2018-05-24 11:27 | bugmaster | Test case number | => bugs modalg_7 bug29586 |
2018-06-14 18:20 | bugmaster | Changeset attached | => occt master 7e4ff648 |
2018-06-14 18:20 | bugmaster | Status | tested => verified |
2018-06-14 18:20 | bugmaster | Resolution | open => fixed |
2018-06-23 13:56 | git | Note Added: 0076907 | |
2018-06-23 13:56 | git | Note Added: 0076908 |