View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026632 | Open CASCADE | OCCT:Samples | public | 2015-09-02 15:57 | 2015-10-23 20:49 |
Reporter | apn | Assigned To | kgv | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.9.1 | ||||
Target Version | 6.9.1 | Fixed in Version | 6.9.1 | ||
Summary | 0026632: HLR sample doesn't work with Algo mode | ||||
Description | HLR Process works incorrect using Algo mode in "Choose Shapes and Projector" menu. Problem is in out of range array in function Update in HLRBRep_Data.cxx. Problem is reproduced on 6.9.1 beta (works correctly on 6.9.0) | ||||
Steps To Reproduce | Run mfc HLR sample, import shape, run Process HLR, push Get Shapes and choose Algo mode. -------------------------------------------------- Test script (it is OK on both MASTER and FIX. I cannot reproduce the problem with using DRAW-commands): Draw[]> restore samples\\mfc\\standard\\Data\\bottle.brep bb Draw[]> vinit Draw[]> vdisplay bb Draw[]> vfit Draw[]> vhlr on Draw[]> vhlrtype algo | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Dear APN, Please try to analyze reason of problem i.e. problem algorithm or sample. If problem please ask JGV for help |
|
It's a problem in HLR algorithm (in HLRBRep_InternalAlgo.cxx) |
|
Dear Andrei (apn), The main reason of the problem is incorrect curve resolution computation (with BSplCLib class). It returns resolution value ~ 1.0e307. Finally, it leads to Floating Overflow exception. |
|
Branch CR26632 has been created by nbv. SHA-1: 2063a4aaa76c9815937b3ff33f9aecea9c0a5050 Detailed log of new commits: Author: nbv Date: Tue Sep 22 13:35:13 2015 +0300 0026632: HLR sample doesn't work with Algo mode The main reason of the problem is Walking-line contains two equal Walking-points (the segment has null-length both in 3D and 2D). |
|
Dear Mikhail, Please review CR26632 branch. |
|
Branch CR26632 has been updated forcibly by nbv. SHA-1: 29dd3d1bd704a4157b77f5b45293f3cd3767d5e4 |
|
Reviewed. Concerning the test case, it would be good to make a test command in QABugs. |
|
Issue #0026714 has been created according to previous recommendation. |
|
Dear BugMaster, Branch CR26632 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 29dd3d1bd704a4157b77f5b45293f3cd3767d5e4 Number of compiler warnings: occt component: Linux: 15 (15 on master) Windows: 0 (0 on master) products component: Linux: 39 (39 on master) Windows: 0 (0 on master) Regressions/Differences: Not detected Testing on Linux: Total MEMORY difference: 92254523 / 92156584 [+0.11%] Total CPU difference: 19069.22999999906 / 18924.599999998987 [+0.76%] Testing on Windows: Total MEMORY difference: 56863979 / 56867352 [-0.01%] Total CPU difference: 16962.581533799137 / 17116.72612189913 [-0.90%] |
|
Dear apn, Please, verify HLR sample. Thank you in advance. |
|
HLR sample works correctly with Algo mode. |
|
Branch CR26632 has been deleted by kgv. SHA-1: 29dd3d1bd704a4157b77f5b45293f3cd3767d5e4 |
occt: master 657ccd95 2015-09-22 10:35:13
Committer: kgv Details Diff |
0026632: HLR sample doesn't work with Algo mode The main reason of the problem is Walking-line contains two equal Walking-points (the segment has null-length both in 3D and 2D). |
Affected Issues 0026632 |
|
mod - src/IntWalk/IntWalk_IWalking_5.gxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-09-02 15:57 | apn | New Issue | |
2015-09-02 15:57 | apn | Assigned To | => abv |
2015-09-02 15:57 | apn | Status | new => assigned |
2015-09-16 10:53 | bugmaster | Assigned To | abv => apn |
2015-09-16 10:55 | bugmaster | Note Added: 0045695 | |
2015-09-16 10:57 | bugmaster | Target Version | => 6.9.1 |
2015-09-17 12:23 | apn | Note Added: 0045760 | |
2015-09-17 12:23 | apn | Assigned To | apn => jgv |
2015-09-17 13:16 | apn | Description Updated | |
2015-09-21 09:21 |
|
Assigned To | jgv => nbv |
2015-09-21 09:35 |
|
Note Added: 0045936 | |
2015-09-22 13:37 | git | Note Added: 0046000 | |
2015-09-22 13:51 |
|
Note Added: 0046001 | |
2015-09-22 13:51 |
|
Assigned To | nbv => msv |
2015-09-22 13:51 |
|
Status | assigned => resolved |
2015-09-22 13:51 |
|
Steps to Reproduce Updated | |
2015-09-22 14:21 | git | Note Added: 0046003 | |
2015-09-22 14:52 |
|
Note Added: 0046005 | |
2015-09-22 14:52 |
|
Assigned To | msv => bugmaster |
2015-09-22 14:52 |
|
Status | resolved => reviewed |
2015-09-22 15:14 |
|
Steps to Reproduce Updated | |
2015-09-22 15:21 |
|
Note Added: 0046006 | |
2015-09-22 18:31 |
|
Assigned To | bugmaster => apv |
2015-09-23 16:18 |
|
Note Added: 0046056 | |
2015-09-23 16:18 |
|
Note Added: 0046057 | |
2015-09-23 16:19 |
|
Assigned To | apv => apn |
2015-09-24 11:47 | apn | Note Added: 0046078 | |
2015-09-24 11:48 | apn | Assigned To | apn => bugmaster |
2015-09-24 11:48 | apn | Status | reviewed => tested |
2015-09-28 12:58 | kgv | Changeset attached | => occt master 657ccd95 |
2015-09-28 12:58 | kgv | Assigned To | bugmaster => kgv |
2015-09-28 12:58 | kgv | Status | tested => verified |
2015-09-28 12:58 | kgv | Resolution | open => fixed |
2015-10-16 14:55 |
|
Status | verified => closed |
2015-10-16 16:37 | git | Note Added: 0047009 | |
2015-10-23 20:49 |
|
Fixed in Version | => 6.9.1 |