mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
IPAL 18539 & turn off the local selection in PrimitiveGUI where it needs
This commit is contained in:
parent
c0000004c7
commit
1706a8d813
@ -186,6 +186,16 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
||||
anObj = self.BasicOp.MakePointOnCurve(theRefCurve, theParameter)
|
||||
RaiseIfFailed("MakePointOnCurve", self.BasicOp)
|
||||
return anObj
|
||||
|
||||
## Create a point on intersection of two lines.
|
||||
# @param theRefLine1, theRefLine2 The referenced lines.
|
||||
# @return New GEOM_Object, containing the created point.
|
||||
#
|
||||
# Example: see GEOM_TestAll.py
|
||||
def MakeVertexOnLinesIntersection(self, theRefLine1, theRefLine2):
|
||||
anObj = self.BasicOp.MakePointOnLinesIntersection(theRefLine1, theRefLine2)
|
||||
RaiseIfFailed("MakePointOnLinesIntersection", self.BasicOp)
|
||||
return anObj
|
||||
|
||||
## Create a tangent, corresponding to the given parameter on the given curve.
|
||||
# @param theRefCurve The referenced curve.
|
||||
@ -241,6 +251,17 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
||||
anObj = self.BasicOp.MakeLineTwoPnt(thePnt1, thePnt2)
|
||||
RaiseIfFailed("MakeLineTwoPnt", self.BasicOp)
|
||||
return anObj
|
||||
|
||||
## Create a line on two faces intersection.
|
||||
# @param theFace1 First of two faces, defining the line.
|
||||
# @param theFace2 Second of two faces, defining the line.
|
||||
# @return New GEOM_Object, containing the created line.
|
||||
#
|
||||
# Example: see GEOM_TestAll.py
|
||||
def MakeLineTwoFaces(self, theFace1, theFace2):
|
||||
anObj = self.BasicOp.MakeLineTwoFaces(theFace1, theFace2)
|
||||
RaiseIfFailed("MakeLineTwoFaces", self.BasicOp)
|
||||
return anObj
|
||||
|
||||
## Create a plane, passing through the given point
|
||||
# and normal to the given vector.
|
||||
|
@ -191,6 +191,7 @@ void PrimitiveGUI_BoxDlg::ConstructorsClicked(int constructorId)
|
||||
case 1:
|
||||
{
|
||||
GroupPoints->hide();
|
||||
globalSelection(); // close local contexts, if any
|
||||
resize(0, 0);
|
||||
GroupDimensions->show();
|
||||
|
||||
|
@ -205,6 +205,7 @@ void PrimitiveGUI_ConeDlg::ConstructorsClicked(int constructorId)
|
||||
case 1 :
|
||||
{
|
||||
GroupPoints->hide();
|
||||
globalSelection(); // close local contexts, if any
|
||||
resize( 0, 0 );
|
||||
GroupDimensions->show();
|
||||
|
||||
|
@ -198,6 +198,7 @@ void PrimitiveGUI_CylinderDlg::ConstructorsClicked(int constructorId)
|
||||
case 1 :
|
||||
{
|
||||
GroupPoints->hide();
|
||||
globalSelection(); // close local contexts, if any
|
||||
resize( 0, 0 );
|
||||
GroupDimensions->show();
|
||||
|
||||
|
@ -173,6 +173,7 @@ void PrimitiveGUI_SphereDlg::ConstructorsClicked (int constructorId)
|
||||
case 1:
|
||||
{
|
||||
GroupPoints->hide();
|
||||
globalSelection(); // close local contexts, if any
|
||||
resize(0, 0);
|
||||
GroupDimensions->show();
|
||||
|
||||
|
@ -199,6 +199,7 @@ void PrimitiveGUI_TorusDlg::ConstructorsClicked (int constructorId)
|
||||
case 1:
|
||||
{
|
||||
GroupPoints->hide();
|
||||
globalSelection(); // close local contexts, if any
|
||||
resize(0, 0);
|
||||
GroupDimensions->show();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user