mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
NPAL18861: EDF656: A wire build with 12 edges has got only 11 edges.
This commit is contained in:
parent
6526a52e7e
commit
8fa986deb0
@ -147,7 +147,7 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
aFW->Load(aWire);
|
aFW->Load(aWire);
|
||||||
aFW->FixReorder();
|
aFW->FixReorder();
|
||||||
|
|
||||||
if (aFW->StatusReorder(ShapeExtend_FAIL1)) {
|
if (aFW->StatusReorder(ShapeExtend_FAIL1)) {
|
||||||
Standard_ConstructionError::Raise("Wire construction failed: several loops detected");
|
Standard_ConstructionError::Raise("Wire construction failed: several loops detected");
|
||||||
} else if (aFW->StatusReorder(ShapeExtend_FAIL)) {
|
} else if (aFW->StatusReorder(ShapeExtend_FAIL)) {
|
||||||
Standard_ConstructionError::Raise("Wire construction failed");
|
Standard_ConstructionError::Raise("Wire construction failed");
|
||||||
@ -155,6 +155,13 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
Standard_ConstructionError::Raise("Wire construction failed: some gaps detected");
|
Standard_ConstructionError::Raise("Wire construction failed: some gaps detected");
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
aFW->ClosedWireMode() = Standard_False;
|
||||||
|
aFW->FixConnected();
|
||||||
|
if (aFW->StatusConnected(ShapeExtend_FAIL)) {
|
||||||
|
Standard_ConstructionError::Raise("Wire construction failed: cannot build connected wire");
|
||||||
|
}
|
||||||
|
|
||||||
aShape = aFW->WireAPIMake();
|
aShape = aFW->WireAPIMake();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user