Part: exported Part::sort_Edges
Fixed export of Part::shape2pyshape
This commit is contained in:
parent
1517418ba0
commit
eb0f89f477
|
@ -147,7 +147,7 @@ struct EdgePoints {
|
|||
TopoDS_Edge edge;
|
||||
};
|
||||
|
||||
static std::list<TopoDS_Edge> sort_Edges(double tol3d, std::list<TopoDS_Edge>& edges)
|
||||
std::list<TopoDS_Edge> sort_Edges(double tol3d, std::list<TopoDS_Edge>& edges)
|
||||
{
|
||||
tol3d = tol3d * tol3d;
|
||||
std::list<EdgePoints> edge_points;
|
||||
|
|
|
@ -159,7 +159,7 @@ int TopoShapePy::PyInit(PyObject* args, PyObject*)
|
|||
|
||||
namespace Part {
|
||||
//common code.. maybe put somewhere else?
|
||||
Py::Object PartExport shape2pyshape(const TopoDS_Shape &shape)
|
||||
PartExport Py::Object shape2pyshape(const TopoDS_Shape &shape)
|
||||
{
|
||||
PyObject* ret = 0;
|
||||
if (!shape.IsNull()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user