fix in makeTube
This commit is contained in:
parent
57403910b0
commit
2edfd1428c
|
@ -1409,7 +1409,6 @@ TopoDS_Shape TopoShape::makeTube(double radius, double tol, int cont, int maxdeg
|
||||||
const TopoDS_Edge& path_edge = TopoDS::Edge(this->_Shape);
|
const TopoDS_Edge& path_edge = TopoDS::Edge(this->_Shape);
|
||||||
BRepAdaptor_Curve path_adapt(path_edge);
|
BRepAdaptor_Curve path_adapt(path_edge);
|
||||||
myPath = new BRepAdaptor_HCurve(path_adapt);
|
myPath = new BRepAdaptor_HCurve(path_adapt);
|
||||||
theContinuity = GeomAbs_C0;
|
|
||||||
}
|
}
|
||||||
//else if (this->_Shape.ShapeType() == TopAbs_WIRE) {
|
//else if (this->_Shape.ShapeType() == TopAbs_WIRE) {
|
||||||
// const TopoDS_Wire& path_wire = TopoDS::Wire(this->_Shape);
|
// const TopoDS_Wire& path_wire = TopoDS::Wire(this->_Shape);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user