mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-16 22:27:55 +05:00
Fix problem with cyl2complementary.py script. Done by SKL
This commit is contained in:
parent
cb0f7b5cc8
commit
d55ae180a9
@ -60,7 +60,8 @@ static void FixResult(const TopoDS_Shape& result,
|
||||
TopLoc_Location L;
|
||||
Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L);
|
||||
|
||||
if(Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface))) {
|
||||
if (Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
|
||||
Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface))) {
|
||||
|
||||
Standard_Integer nbWires = 0;
|
||||
for (TopExp_Explorer ex_w(aFace,TopAbs_WIRE); ex_w.More(); ex_w.Next()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user