mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-16 00:13:08 +05:00
Bug 0019766: EDF 720 GEOM: Building a Wire from unconnected edges by introducing a tolerance. Fix a problem.
This commit is contained in:
parent
9557a996af
commit
bb5f1e62ee
@ -168,8 +168,9 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
if (aFW->StatusConnected(ShapeExtend_FAIL)) {
|
if (aFW->StatusConnected(ShapeExtend_FAIL)) {
|
||||||
Standard_ConstructionError::Raise("Wire construction failed: cannot build connected wire");
|
Standard_ConstructionError::Raise("Wire construction failed: cannot build connected wire");
|
||||||
}
|
}
|
||||||
|
|
||||||
// IMP 0019766
|
// IMP 0019766
|
||||||
|
if (aFW->StatusConnected(ShapeExtend_DONE3)) {
|
||||||
|
// Confused with <prec> but not Analyzer.Precision(), set the same
|
||||||
aFW->FixGapsByRangesMode() = Standard_True;
|
aFW->FixGapsByRangesMode() = Standard_True;
|
||||||
if (aFW->FixGaps3d()) {
|
if (aFW->FixGaps3d()) {
|
||||||
Handle(ShapeExtend_WireData) sbwd = aFW->WireData();
|
Handle(ShapeExtend_WireData) sbwd = aFW->WireData();
|
||||||
@ -183,6 +184,7 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
else if (aFW->StatusGaps3d(ShapeExtend_FAIL)) {
|
else if (aFW->StatusGaps3d(ShapeExtend_FAIL)) {
|
||||||
Standard_ConstructionError::Raise("Wire construction failed: cannot fix 3d gaps");
|
Standard_ConstructionError::Raise("Wire construction failed: cannot fix 3d gaps");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
aShape = aFW->WireAPIMake();
|
aShape = aFW->WireAPIMake();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user