Error : Could not find extruded vertex when using BooleanFragments
Hello,
when I create the mesh, the log shows the following error: Error : Could not find extruded vertex (1060, 960, -3550) in surface 35
Do you have any suggestions? I checked in the forums, but I haven't found a solution yet. The script is the following:
//+
SetFactory("OpenCASCADE");
s=1;
//Well 01
//+
Point(2) = {0, 0, 0, s};
//+
Point(3) = {0, 60, 0, s};
//+
Point(5) = {60, -40, 0, s};
//+
Point(6) = {-60, -40, 0, s};
//+
Line(1) = {2, 3};
//+
Line(2) = {2, 6};
//+
Line(3) = {6, 3};
//+
Line(4) = {5, 3};
//+
Line(5) = {5, 2};
//+
Line(6) = {6, 5};
//Top well
//+
Line Loop(1) = {3, 1, 2};
//+
Plane Surface(1) = {1};
//+
Line Loop(2) = {5, 1, 4};
//+
Plane Surface(2) = {2};
//+
Line Loop(3) = {6, 5, 2};
//+
Plane Surface(3) = {3};
//+
Extrude {0, 0, -3500} {
Surface{3}; Surface{2}; Surface{1}; Layers{1};
}
//Well 02
//+
Point(1) = {1000, 1000, 0, s};
//+
Point(20) = {1000, 1060, 0, s};
//+
Point(21) = {1060, 960, 0, s};
//+
Point(22) = {940, 960, 0, s};
//+
Line(17) = {20, 1};
//+
Line(18) = {1, 21};
//+
Line(19) = {21, 20};
//+
Line(20) = {20, 22};
//+
Line(21) = {22, 1};
//+
Line(22) = {22, 21};
//+
Line Loop(14) = {20, 21, 17};
//+
Plane Surface(13) = {14};
//+
Line Loop(15) = {18, 19, 17};
//+
Plane Surface(14) = {15};
//+
Line Loop(16) = {22, 18, 21};
//+
Plane Surface(15) = {16};
//+
Extrude {0, 0, -3500} {
Surface{15}; Surface{13}; Surface{14}; Layers{1};
}
//Box model
//+
Point(27) = {5000, 5000, 0, s};
//+
Point(28) = {-5000, -5000, 0, s};
//+
Point(29) = {5000, -5000, 0, s};
//+
Point(30) = {-5000, 5000, 0, s};
//+
Line(33) = {28, 30};
//+
Line(34) = {27, 30};
//+
Line(35) = {28, 29};
//+
Line(36) = {29, 27};
//+
Line Loop(26) = {34, -33, 35, 36};
//+
Plane Surface(25) = {26};
//+
Extrude {0, 0, -3450} {
Surface{25}; Layers{1};
}
//+
Extrude {0, 0, -100} {
Surface{30}; Layers{1};
}
//+
Extrude {0, 0, -100} {
Surface{35}; Layers{1};
}
//+
Extrude {0, 0, -100} {
Surface{40}; Layers{1};
}
//+
Extrude {0, 0, -1000} {
Surface{45}; Layers{1};
}
//+
BooleanFragments{ Volume{7:8}; Delete; }{Volume{1:6}; Delete;}
Mesh.Algorithm = 1;
Mesh.MshFileVersion = 2;
Mesh.RecombinationAlgorithm = 0;
Mesh.CharacteristicLengthMin = 4000;
Mesh.CharacteristicLengthMax = 5000;
Thank you.
ML