mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
OCC22294 Problem with reading of attached file with OCCT642
This commit is contained in:
parent
0fc4f2e2ae
commit
20ee680faf
@ -98,7 +98,6 @@
|
|||||||
#include <IGESToBRep.hxx>
|
#include <IGESToBRep.hxx>
|
||||||
#include <IGESToBRep_AlgoContainer.hxx>
|
#include <IGESToBRep_AlgoContainer.hxx>
|
||||||
#include <IGESToBRep_ToolContainer.hxx>
|
#include <IGESToBRep_ToolContainer.hxx>
|
||||||
#include <BRepBuilderAPI_Transform.hxx>
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : IGESToBRep_TopoCurve
|
//function : IGESToBRep_TopoCurve
|
||||||
@ -1014,13 +1013,8 @@ TopoDS_Shape IGESToBRep_TopoCurve::TransferTopoBasicCurve
|
|||||||
SetEpsilon(1.E-04);
|
SetEpsilon(1.E-04);
|
||||||
if (IGESData_ToolLocation::ConvertLocation
|
if (IGESData_ToolLocation::ConvertLocation
|
||||||
(GetEpsilon(),start->CompoundLocation(),T, GetUnitFactor())) {
|
(GetEpsilon(),start->CompoundLocation(),T, GetUnitFactor())) {
|
||||||
//TopLoc_Location L(T);
|
TopLoc_Location L(T);
|
||||||
BRepBuilderAPI_Transform trf(T);
|
myshape.Move(L);
|
||||||
trf.Perform(myshape);
|
|
||||||
if (trf.IsDone()){
|
|
||||||
myshape = trf.Shape();
|
|
||||||
}
|
|
||||||
//myshape.Move(L);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Message_Msg Msg1035("IGES_1035");
|
Message_Msg Msg1035("IGES_1035");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user