Anonymous | Login | 2021-01-19 15:03 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 | ||||||||
0026499 | Community | [OCCT] OCCT:Modeling Algorithms | public | 2015-07-30 16:04 | 2015-08-11 16:57 | ||||||||
Reporter | jcthomas | ||||||||||||
Assigned To | jgv | ||||||||||||
Priority | normal | Severity | crash | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | PC | OS | Windows 7 | OS Version | SP1 | ||||||||
Product Version | [OCCT] 6.8.0 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0026499: Crash when applying a transformation from a gp_GTrsf on a step model | ||||||||||||
Description | When trying to apply this transformation 0.0000 0.0000 1.0000 301.7354 0.9848 0.1736 0.0000 270.4476 0.1736 0.9848 0.0000 276.5281 0 0 0 1.0000 with a gp_GTrsf instance, on all the components of a step model, a Standard_ConstructionError is raised, crashing the whole application. | ||||||||||||
Steps To Reproduce | // Load the step file that is attached to this ticket. // Create a gp_GTrsf that corresponds to this transformation matrix : // 0.0000 0.0000 1.0000 301.7354 // 0.9848 0.1736 0.0000 270.4476 // 0.1736 0.9848 0.0000 276.5281 // 0 0 0 1.0000 gp_GTrsf matOCC; matOCC.SetValue(1, 1, 0); matOCC.SetValue(1, 2, 0); matOCC.SetValue(1, 3, 1); matOCC.SetValue(1, 4, 301.7354); matOCC.SetValue(2, 1, 0.9848); matOCC.SetValue(2, 2, 0.1736); matOCC.SetValue(2, 3, 0); matOCC.SetValue(2, 4, 270.4476); matOCC.SetValue(3, 1, 0.1736); matOCC.SetValue(3, 2, 0.9848); matOCC.SetValue(3, 3, 0); matOCC.SetValue(3, 4, 276.5281); // For all the TopoDS_Shape instances extracted from the step model // apply the transformation BRepBuilderAPI_GTransform transfOCC(matOCC); transfOCC.Perform(shape); shape = transfOCC.Shape(); | ||||||||||||
Additional information and documentation updates | It does not crash with a gp_Trsf instance, but we cannot use it as we allow non uniform scaling in our software. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | ![]() | ||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2015-07-30 16:04 | jcthomas | New Issue | |
2015-07-30 16:04 | jcthomas | Assigned To | => szy |
2015-07-30 16:04 | jcthomas | File Added: tube.step | |
2015-08-11 16:57 | szy | Assigned To | szy => jgv |
2015-08-11 16:57 | szy | Category | OCCT:Application Framework => OCCT:Modeling Algorithms |
Copyright © 2000 - 2021 MantisBT Team |