View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028571 | Community | OCCT:Modeling Algorithms | public | 2017-03-20 07:35 | 2023-08-01 15:08 |
Reporter | devocctgp | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 7.1.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0028571: BRepOffsetAPI_MakeOffset build invalid wire | ||||
Description | BRepOffsetAPI_MakeOffset build invalid wire. input wire brep is in the uploaded file test1 and test2's result brep are in the uploaded file test1 and test2's result picture are in the uploaded file too | ||||
Steps To Reproduce | {// test1 BRepOffsetAPI_MakeOffset mf(input_wire, GeomAbs_Arc, false); mf.Perform(1, 0); auto resultshape = mf.Shape(); } {// test2 BRepOffsetAPI_MakeOffset mf(input_wire, GeomAbs_Arc, true); mf.Perform(1, 0); auto resultshape = mf.Shape(); } #### DRAW #### restore inputwire.brep w # case 1 - closed offset mkoffset r w 1 1 a # case 2 - open offset openoffset r w 1 1 a | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_7 bug28571_1, bug28571_2 | ||||
related to | 0026265 | assigned | Open CASCADE | Incorrect result of 2d offset |
|
inputwire.brep (349,579 bytes) |
|
test1_offsetresult.brep (395,917 bytes) |
|
test2_offsetresult.brep (395,201 bytes) |
|
test1.png (17,500 bytes) |
|
test2.png (19,454 bytes) |
|
I have given the draw script in steps to reproduce. However, I do not see any sense in making open offset on a closed wire. The flag IsOpenResult has only sense when the wire is open. In this case it defines whether the result must be an offset on the one side of the wire, or the closed contour around the wire. I think the issue 0026265 will address removal of unwanted loops in the result. |
|
dear msv, yes, open result for closed wire has no sense,i added the test just want give you more information to see, thus,with a closed wire no matter the parameter is open or closed, the result should be closed .am i right? and i will monitor the 26265 issue, thank u. |
|
Theoretically, for a closed wire the result should not depend on the IsOpenResult flag, but some parts of code may do some special things depending on the flag, and we see this in the result. |
|
em,ok,got it! |
|
Problem described in issue is reproduced on current state of OCCT. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-20 07:35 | devocctgp | New Issue | |
2017-03-20 07:35 | devocctgp | Assigned To | => msv |
2017-03-20 07:35 | devocctgp | File Added: inputwire.brep | |
2017-03-20 07:35 | devocctgp | File Added: test1_offsetresult.brep | |
2017-03-20 07:35 | devocctgp | File Added: test2_offsetresult.brep | |
2017-03-20 07:36 | devocctgp | File Added: test1.png | |
2017-03-20 07:36 | devocctgp | File Added: test2.png | |
2017-03-20 09:53 |
|
Relationship added | related to 0026265 |
2017-03-20 10:08 |
|
Note Added: 0064432 | |
2017-03-20 10:08 |
|
Product Version | => 7.1.0 |
2017-03-20 10:08 |
|
Steps to Reproduce Updated | |
2017-03-20 10:08 |
|
Additional Information Updated | |
2017-03-20 10:08 |
|
Steps to Reproduce Updated | |
2017-03-20 10:08 |
|
Additional Information Updated | |
2017-03-20 10:09 |
|
Description Updated | |
2017-03-20 10:09 |
|
Steps to Reproduce Updated | |
2017-03-20 11:05 | devocctgp | Note Added: 0064433 | |
2017-03-20 11:10 |
|
Note Added: 0064434 | |
2017-03-20 11:50 | devocctgp | Note Added: 0064436 | |
2017-07-21 11:22 |
|
Target Version | 7.2.0 => 7.3.0 |
2017-08-31 18:01 |
|
Test case number | => bugs modalg_7 bug28571_1, bug28571_2 |
2017-08-31 18:01 |
|
Note Added: 0070127 | |
2017-12-05 16:59 |
|
Target Version | 7.3.0 => 7.4.0 |
2019-08-12 16:43 |
|
Target Version | 7.4.0 => 7.5.0 |
2020-09-14 22:56 |
|
Target Version | 7.5.0 => 7.6.0 |
2021-08-29 18:51 |
|
Target Version | 7.6.0 => 7.7.0 |
2022-10-24 10:42 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |