From c6f502ec7bd6bb194bf53fffb34f1d3233800ccd Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 27 Apr 2009 11:34:36 +0000 Subject: [PATCH] 0020327: EDF 1018 GEOM : Missing MakeTangentPlaneOnFace in geompy --- src/GEOM_SWIG/geompyDC.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index d4fc3a2d9..889d0b69e 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -320,6 +320,19 @@ class geompyDC(GEOM._objref_GEOM_Gen): anObj = self.BasicOp.MakeTangentOnCurve(theRefCurve, theParameter) RaiseIfFailed("MakeTangentOnCurve", self.BasicOp) return anObj + + ## Create a tangent plane to specified face in the point with specified parameters. + # @param theFace - face for which tangent plane shuold be built. + # @param theParameterU - value of parameter by U + # @param theParameterV - value of parameter Vthe + # @param theTrimSize - defines sizes of created face + # Values of parameters should be between 0. and 1.0 + # return New GEOM_Object, containing the face built on tangent plane. + def MakeTangentPlaneOnFace(self, theFace, theParameterU, theParameterV, theTrimSize): + anObj = self.BasicOp.MakeTangentPlaneOnFace(theFace, theParameterU, theParameterV, theTrimSize) + RaiseIfFailed("MakeTangentPlaneOnFace", self.BasicOp) + return anObj + ## Create a vector with the given components. # @param theDX X component of the vector. -- 2.39.2