mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 14:50:33 +05:00
IMP 0021064: correct implementation
This commit is contained in:
parent
c323c89b2a
commit
9add5c2083
@ -889,7 +889,7 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
||||
// Check shape validity
|
||||
BRepCheck_Analyzer ana (aShape, false);
|
||||
if (!ana.IsValid()) {
|
||||
//Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
|
||||
Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
|
||||
}
|
||||
|
||||
aFunction->SetValue(aShape);
|
||||
|
@ -1661,7 +1661,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
||||
# Example: see GEOM_TestAll.py
|
||||
theLength, Parameters = ParseParameters(theLength)
|
||||
anObj = self.ShapesOp.MakeEdgeOnCurveByLength(theRefCurve, theLength, theStartPoint)
|
||||
RaiseIfFailed("MakeEdgeOnCurveByLength", self.BasicOp)
|
||||
RaiseIfFailed("MakeEdgeOnCurveByLength", self.ShapesOp)
|
||||
anObj.SetParameters(Parameters)
|
||||
return anObj
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user