mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
b422475cbb
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
84 lines
3.9 KiB
Diff
84 lines
3.9 KiB
Diff
--- FreeCAD-0.12.5284/src/Mod/Part/App/AppPartPy.cpp 2012-01-02 16:32:09.000000000 -0200
|
|
+++ FreeCAD-0.12.5284_patched/src/Mod/Part/App/AppPartPy.cpp 2012-01-02 21:36:18.000000000 -0200
|
|
@@ -492,7 +492,7 @@
|
|
d.SetCoord(vec.x, vec.y, vec.z);
|
|
}
|
|
Handle_Geom_Plane aPlane = new Geom_Plane(p, d);
|
|
- BRepBuilderAPI_MakeFace Face(aPlane, 0.0, length, 0.0, width);
|
|
+ BRepBuilderAPI_MakeFace Face(aPlane, 0.0, length, 0.0, width, Precision::Confusion());
|
|
return new TopoShapeFacePy(new TopoShape((Face.Face())));
|
|
}
|
|
catch (Standard_DomainError) {
|
|
--- FreeCAD-0.12.5284/src/Mod/Part/App/GeometrySurfacePyImp.cpp 2012-01-02 16:32:09.000000000 -0200
|
|
+++ FreeCAD-0.12.5284_patched/src/Mod/Part/App/GeometrySurfacePyImp.cpp 2012-01-02 22:08:47.000000000 -0200
|
|
@@ -79,7 +79,7 @@
|
|
s->Bounds(u1,u2,v1,v2);
|
|
if (!PyArg_ParseTuple(args, "|dddd", &u1,&u2,&v1,&v2))
|
|
return 0;
|
|
- BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2);
|
|
+ BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2, Precision::Confusion());
|
|
TopoDS_Shape sh = mkBuilder.Shape();
|
|
return new TopoShapeFacePy(new TopoShape(sh));
|
|
}
|
|
--- FreeCAD-0.12.5284/src/Mod/Part/App/Geometry.cpp 2012-01-02 16:32:09.000000000 -0200
|
|
+++ FreeCAD-0.12.5284_patched/src/Mod/Part/App/Geometry.cpp 2012-01-02 22:37:08.000000000 -0200
|
|
@@ -1252,7 +1252,7 @@
|
|
Handle_Geom_Surface s = Handle_Geom_Surface::DownCast(handle());
|
|
Standard_Real u1,u2,v1,v2;
|
|
s->Bounds(u1,u2,v1,v2);
|
|
- BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2);
|
|
+ BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2, Precision::Confusion());
|
|
return mkBuilder.Shape();
|
|
}
|
|
|
|
--- FreeCAD-0.12.5284/src/Mod/Part/App/PrimitiveFeature.cpp 2012-01-02 16:32:09.000000000 -0200
|
|
+++ FreeCAD-0.12.5284_patched/src/Mod/Part/App/PrimitiveFeature.cpp 2012-01-02 22:40:21.000000000 -0200
|
|
@@ -191,7 +191,7 @@
|
|
gp_Pnt pnt(0.0,0.0,0.0);
|
|
gp_Dir dir(0.0,0.0,1.0);
|
|
Handle_Geom_Plane aPlane = new Geom_Plane(pnt, dir);
|
|
- BRepBuilderAPI_MakeFace mkFace(aPlane, 0.0, L, 0.0, W);
|
|
+ BRepBuilderAPI_MakeFace mkFace(aPlane, 0.0, L, 0.0, W, Precision::Confusion());
|
|
|
|
const char *error=0;
|
|
switch (mkFace.Error())
|
|
--- FreeCAD-0.12.5284/src/Mod/Part/App/TopoShape.cpp 2012-01-02 16:32:09.000000000 -0200
|
|
+++ FreeCAD-0.12.5284_patched/src/Mod/Part/App/TopoShape.cpp 2012-01-03 00:19:12.000000000 -0200
|
|
@@ -1338,7 +1338,7 @@
|
|
double u1,u2,v1,v2;
|
|
surf->Bounds(u1,u2,v1,v2);
|
|
|
|
- BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, v1, v2);
|
|
+ BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, v1, v2, Precision::Confusion());
|
|
return mkBuilder.Face();
|
|
}
|
|
|
|
@@ -1391,7 +1391,7 @@
|
|
|
|
Standard_Real u1,u2,v1,v2;
|
|
mySurface->Bounds(u1,u2,v1,v2);
|
|
- BRepBuilderAPI_MakeFace mkBuilder(mySurface, u1, u2, v1, v2);
|
|
+ BRepBuilderAPI_MakeFace mkBuilder(mySurface, u1, u2, v1, v2, Precision::Confusion());
|
|
return mkBuilder.Shape();
|
|
}
|
|
|
|
@@ -1443,7 +1443,7 @@
|
|
mkSweep.Perform(tol, Standard_False, GeomAbs_C1, BSplCLib::MaxDegree(), 1000);
|
|
|
|
const Handle_Geom_Surface& surf = mkSweep.Surface();
|
|
- BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, vmin, vmax);
|
|
+ BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, vmin, vmax, Precision::Confusion());
|
|
return mkBuilder.Face();
|
|
}
|
|
|
|
--- FreeCAD-0.12.5284/src/Mod/Part/App/TopoShapeFacePyImp.cpp 2012-01-02 16:32:09.000000000 -0200
|
|
+++ FreeCAD-0.12.5284_patched/src/Mod/Part/App/TopoShapeFacePyImp.cpp 2012-01-03 00:24:40.000000000 -0200
|
|
@@ -135,7 +135,7 @@
|
|
return -1;
|
|
}
|
|
|
|
- BRepBuilderAPI_MakeFace mkFace(S);
|
|
+ BRepBuilderAPI_MakeFace mkFace(S, Precision::Confusion());
|
|
if (bound) {
|
|
Py::List list(bound);
|
|
for (Py::List::iterator it = list.begin(); it != list.end(); ++it) {
|