mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 11:44:17 +05:00
0020695: EDF 1076 GEOM: Add a new shape in GEOM: T-shape
Remove unwanted python dump commands
This commit is contained in:
parent
ef1b3d2d5a
commit
aab7f57282
@ -1621,12 +1621,12 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IAdvancedOperations::MakePipeTShap
|
|||||||
else {
|
else {
|
||||||
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
||||||
}
|
}
|
||||||
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
||||||
box_e->GetLastFunction()->SetDescription("");
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
TCollection_AsciiString theDesc = aFunction->GetDescription();
|
|
||||||
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
||||||
aFunction->SetDescription(theDesc);
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
||||||
// std::cerr << "Internal edges not found" << std::endl;
|
// std::cerr << "Internal edges not found" << std::endl;
|
||||||
@ -1843,12 +1843,12 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IAdvancedOperations::MakePipeTShap
|
|||||||
else {
|
else {
|
||||||
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
||||||
}
|
}
|
||||||
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
||||||
box_e->GetLastFunction()->SetDescription("");
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
TCollection_AsciiString theDesc = aFunction->GetDescription();
|
|
||||||
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
||||||
aFunction->SetDescription(theDesc);
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
||||||
// std::cerr << "Internal edges not found" << std::endl;
|
// std::cerr << "Internal edges not found" << std::endl;
|
||||||
@ -2034,12 +2034,12 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IAdvancedOperations::MakePipeTShap
|
|||||||
else {
|
else {
|
||||||
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
||||||
}
|
}
|
||||||
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
||||||
box_e->GetLastFunction()->SetDescription("");
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
TCollection_AsciiString theDesc = aFunction->GetDescription();
|
|
||||||
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
||||||
aFunction->SetDescription(theDesc);
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
||||||
// std::cerr << "Internal edges not found" << std::endl;
|
// std::cerr << "Internal edges not found" << std::endl;
|
||||||
@ -2223,12 +2223,12 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IAdvancedOperations::MakePipeTShap
|
|||||||
else {
|
else {
|
||||||
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
box_e = a3DPrimOperations->MakeBoxDXDYDZ(2*(theR2+theW2), 2*(theR2+theW2), theR1+theW1);
|
||||||
}
|
}
|
||||||
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
box_e = aTransformOperations->TranslateDXDYDZ(box_e, -(theR2+theW2), -(theR2+theW2), 0);
|
||||||
box_e->GetLastFunction()->SetDescription("");
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
TCollection_AsciiString theDesc = aFunction->GetDescription();
|
|
||||||
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
Handle(TColStd_HSequenceOfInteger) edges_e = aShapesOperations->GetShapesOnBoxIDs(box_e, aShape, TopAbs_EDGE, GEOMAlgo_ST_IN);
|
||||||
aFunction->SetDescription(theDesc);
|
box_e->GetLastFunction()->SetDescription("");
|
||||||
|
|
||||||
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
if (edges_e.IsNull() || edges_e->Length() == 0) {
|
||||||
// std::cerr << "Internal edges not found" << std::endl;
|
// std::cerr << "Internal edges not found" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user