Location of edge is applied to geom curve before analysis of vertices projections
Handle(StepGeom_Curve) Gpms;
Handle(Geom_Curve) C = CA.Curve().Curve();
+
if (!C.IsNull()) {
C = Handle(Geom_Curve)::DownCast(C->Copy());
-
+ gp_Trsf Tr1 = CA.Trsf();
+ C->Transform(Tr1);
// Special treatment is needed for very short edges based on periodic curves.
// Since edge in STEP does not store its parametric range, parameters are computed
// on import by projecting vertices on a curve, and for periodic curve this may
}
}
- gp_Trsf Tr1 = CA.Trsf();
- C->Transform(Tr1);
+
GeomToStep_MakeCurve MkCurve(C);
Gpms = MkCurve.Value();
}
--- /dev/null
+restore [locate_data_file bug32264.brep] s
+set aTmpFile "$imagedir/${casename}.brep"
+testwritestep "$aTmpFile" s
+testreadstep "$aTmpFile" s1
+file delete "$aTmpFile"
+checkshape s1 f
+checkmaxtol s1 -ref 1.e-7
+checkprops s1 -v 16.1759 -deps 0.01