mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-15 22:11:26 +05:00
DCQ: Debug MakeFaces
This commit is contained in:
parent
edcd9dae04
commit
d529c4223d
@ -3741,10 +3741,21 @@ GEOM::GEOM_Shape_ptr GEOM_Gen_i::MakeFaces(const GEOM::GEOM_Gen::ListOfIOR& List
|
|||||||
FR.Perform();
|
FR.Perform();
|
||||||
|
|
||||||
if(FR.IsDone()) {
|
if(FR.IsDone()) {
|
||||||
for(; FR.More(); FR.Next())
|
int k = 0;
|
||||||
aBuilder.Add(C, FR.Current().Oriented(OriF));
|
TopoDS_Shape aFace;
|
||||||
result = CreateObject(C);
|
for(; FR.More(); FR.Next()) {
|
||||||
InsertInLabelMoreArguments(C, result, ListShapes, myCurrentOCAFDoc);
|
aFace = FR.Current().Oriented(OriF);
|
||||||
|
aBuilder.Add(C, aFace);
|
||||||
|
k++;
|
||||||
|
}
|
||||||
|
if(k == 1) {
|
||||||
|
result = CreateObject(aFace);
|
||||||
|
InsertInLabelMoreArguments(aFace, result, ListShapes, myCurrentOCAFDoc);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
result = CreateObject(C);
|
||||||
|
InsertInLabelMoreArguments(C, result, ListShapes, myCurrentOCAFDoc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user