Anonymous | Login | 2021-01-18 08:24 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0028640 | Community | [OCCT] OCCT:Modeling Algorithms | public | 2017-04-07 12:51 | 2020-09-14 22:56 | ||||||||
Reporter | devocctgp | ||||||||||||
Assigned To | msv | ||||||||||||
Priority | normal | Severity | minor | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | [OCCT] 7.6.0* | Fixed in Version | |||||||||||
Summary | 0028640: BRepBuilderAPI_Transform build invalid shape | ||||||||||||
Description | BRepBuilderAPI_Transform mirror a shape generates invalid shape | ||||||||||||
Steps To Reproduce | gp_Trsf _mirror_trsf; _mirror_trsf.SetMirror(gp_Ax2(gp_Pnt(0, 0, 0), gp_Dir(1, 0, 0))); _shape = BRepBuilderAPI_Transform(_origin_shape, _mirror_trsf) ## Draw script ## restore origin_copy.brep a tmirror a 0 0 0 1 0 0 checkshape a | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | bugs modalg_7 bug28640 | ||||||||||||
Attached Files | ![]() ![]() ![]() ![]() | ||||||||||||
![]() |
|
(0065023) devocctgp (developer) 2017-04-07 12:57 edited on: 2017-04-07 12:58 |
the origin brep file is lager than the limitation. so i zipped it ! and note the origin brep is about twice large as the mirror brep |
(0065040) msv (developer) 2017-04-07 16:15 |
The size of origin shape is explained by redundant data in edges of the shape. The edges contain pogygons and triangulations not relevant to the faces of this shape. Transformation algorithm creates new edges and takes only relevant data. The same origin shape without garbage can be got by deep copying it with BRepBuilderAPI_Copy algorithm. The Draw command 'tcopy' does it. I have attached such copy of origin. Now mirror creates a shape with the same file size. I admit that the bug is reproduced. The mirrored shape does not pass the check by shape checker. I have put the draw script in steps to reproduce. |
(0065068) devocctgp (developer) 2017-04-08 21:44 |
dear msv, after your explain, i understand the difference of size. so let's fix the mirror bug. |
(0070136) mkv (tester) 2017-09-01 15:03 |
Problem described in issue is reproduced on current state of OCCT. |
![]() |
|||
Date Modified | Username | Field | Change |
2017-04-07 12:51 | devocctgp | New Issue | |
2017-04-07 12:51 | devocctgp | Assigned To | => msv |
2017-04-07 12:51 | devocctgp | File Added: error.png | |
2017-04-07 12:55 | devocctgp | File Added: mirror.brep | |
2017-04-07 12:56 | devocctgp | File Added: origin.zip | |
2017-04-07 12:57 | devocctgp | Note Added: 0065023 | |
2017-04-07 12:58 | devocctgp | Note Edited: 0065023 | View Revisions |
2017-04-07 16:09 | msv | File Added: origin_copy.brep | |
2017-04-07 16:15 | msv | Note Added: 0065040 | |
2017-04-07 16:22 | msv | Steps to Reproduce Updated | View Revisions |
2017-04-08 21:44 | devocctgp | Note Added: 0065068 | |
2017-07-21 11:22 | msv | Target Version | 7.2.0 => 7.3.0 |
2017-09-01 15:03 | mkv | Test case number | => bugs modalg_7 bug28640 |
2017-09-01 15:03 | mkv | Note Added: 0070136 | |
2017-12-05 16:59 | msv | Target Version | 7.3.0 => 7.4.0 |
2019-08-12 16:43 | msv | Target Version | 7.4.0 => 7.5.0 |
2020-09-14 22:56 | msv | Target Version | 7.5.0 => 7.6.0* |
Copyright © 2000 - 2021 MantisBT Team |