mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Dump Python Extension - Debug
This commit is contained in:
parent
2bec88dc0f
commit
6bcc9f5949
@ -518,6 +518,7 @@ bool SMESHGUI_RevolutionDlg::ClickOnApply()
|
|||||||
else
|
else
|
||||||
aMeshEditor->RotationSweepObject2D(mySelectedObject, anAxis, anAngle, aNbSteps, aTolerance);
|
aMeshEditor->RotationSweepObject2D(mySelectedObject, anAxis, anAngle, aNbSteps, aTolerance);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
aMeshEditor->RotationSweep(anElementsId.inout(), anAxis, anAngle, aNbSteps, aTolerance);
|
aMeshEditor->RotationSweep(anElementsId.inout(), anAxis, anAngle, aNbSteps, aTolerance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -472,7 +472,13 @@ void SMESH_NoteBook::ReplaceVariables()
|
|||||||
aMethod.IsEqual("RotateObjectMakeGroups") ||
|
aMethod.IsEqual("RotateObjectMakeGroups") ||
|
||||||
aMethod.IsEqual("RotateObjectMakeMesh") ||
|
aMethod.IsEqual("RotateObjectMakeMesh") ||
|
||||||
aMethod.IsEqual("RotationSweep") ||
|
aMethod.IsEqual("RotationSweep") ||
|
||||||
|
aMethod.IsEqual("RotationSweepObject") ||
|
||||||
|
aMethod.IsEqual("RotationSweepObject1D") ||
|
||||||
|
aMethod.IsEqual("RotationSweepObject2D") ||
|
||||||
aMethod.IsEqual("RotationSweepMakeGroups") ||
|
aMethod.IsEqual("RotationSweepMakeGroups") ||
|
||||||
|
aMethod.IsEqual("RotationSweepObjectMakeGroups") ||
|
||||||
|
aMethod.IsEqual("RotationSweepObject1DMakeGroups") ||
|
||||||
|
aMethod.IsEqual("RotationSweepObject2DMakeGroups") ||
|
||||||
aMethod.IsEqual("Mirror") ||
|
aMethod.IsEqual("Mirror") ||
|
||||||
aMethod.IsEqual("MirrorMakeMesh") ||
|
aMethod.IsEqual("MirrorMakeMesh") ||
|
||||||
aMethod.IsEqual("MirrorMakeGroups") ||
|
aMethod.IsEqual("MirrorMakeGroups") ||
|
||||||
@ -548,11 +554,17 @@ void SMESH_NoteBook::ReplaceVariables()
|
|||||||
}
|
}
|
||||||
else if(aMethod.IsEqual("ExtrusionAlongPath") ||
|
else if(aMethod.IsEqual("ExtrusionAlongPath") ||
|
||||||
aMethod.IsEqual("ExtrusionAlongPathObject") ||
|
aMethod.IsEqual("ExtrusionAlongPathObject") ||
|
||||||
|
aMethod.IsEqual("ExtrusionAlongPathObject1D") ||
|
||||||
|
aMethod.IsEqual("ExtrusionAlongPathObject2D") ||
|
||||||
aMethod.IsEqual("ExtrusionAlongPathMakeGroups") ||
|
aMethod.IsEqual("ExtrusionAlongPathMakeGroups") ||
|
||||||
aMethod.IsEqual("ExtrusionAlongPathObjectMakeGroups") ||
|
aMethod.IsEqual("ExtrusionAlongPathObjectMakeGroups") ||
|
||||||
|
aMethod.IsEqual("ExtrusionAlongPathObject1DMakeGroups") ||
|
||||||
|
aMethod.IsEqual("ExtrusionAlongPathObject2DMakeGroups") ||
|
||||||
/* workaround for a bug in the command parsing algorithm */
|
/* workaround for a bug in the command parsing algorithm */
|
||||||
aCmd->GetString().Search("ExtrusionAlongPathMakeGroups") != -1 ||
|
aCmd->GetString().Search("ExtrusionAlongPathMakeGroups") != -1 ||
|
||||||
aCmd->GetString().Search("ExtrusionAlongPathObjectMakeGroups") != -1 ) {
|
aCmd->GetString().Search("ExtrusionAlongPathObjectMakeGroups") != -1 ||
|
||||||
|
aCmd->GetString().Search("ExtrusionAlongPathObject1DMakeGroups") != -1 ||
|
||||||
|
aCmd->GetString().Search("ExtrusionAlongPathObject2DMakeGroups") != -1 ) {
|
||||||
int aNbAngles = aCurrentStateSize-3; // State looks like "Angle1:...:AngleN:X:Y:Z"
|
int aNbAngles = aCurrentStateSize-3; // State looks like "Angle1:...:AngleN:X:Y:Z"
|
||||||
bool isSubstitute = false;
|
bool isSubstitute = false;
|
||||||
int anArgIndex = 0;
|
int anArgIndex = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user