View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026499 | Community | OCCT:Modeling Algorithms | public | 2015-07-30 16:04 | 2024-07-16 02:11 |
Reporter | jcthomas | Assigned To | |||
Priority | normal | Severity | crash | ||
Status | new | Resolution | open | ||
Platform | PC | OS | Windows 7 | ||
Product Version | 6.8.0 | ||||
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 | |||||