+ Fix for call of normalAt for edges
This commit is contained in:
parent
9dcc20344b
commit
789e810213
|
@ -269,7 +269,7 @@ PyObject* TopoShapeEdgePy::normalAt(PyObject *args)
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
BRepLProp_CLProps prop(adapt,u,1,Precision::Confusion());
|
BRepLProp_CLProps prop(adapt,u,2,Precision::Confusion());
|
||||||
gp_Dir V ;
|
gp_Dir V ;
|
||||||
prop.Normal(V);
|
prop.Normal(V);
|
||||||
return new Base::VectorPy(new Base::Vector3d(V.X(),V.Y(),V.Z()));
|
return new Base::VectorPy(new Base::Vector3d(V.X(),V.Y(),V.Z()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user