[Gmsh] openCASCADE error: Unknown entity of dimension x with tag y

Deep Bandivadekar deep.bandivadekar at strath.ac.uk
Wed Jun 13 16:57:29 CEST 2018


Hello,

I upgraded my gmsh from 2.10.0 to 3.0.6 for the boolean feature and I wanted test the same.
It's a fairly straightforward script in which I wanted to locate the intersection of the two diagonals using the boolean operator.
---------------------------------------------------------------
i=0;
Point(i) = {0,0,0,0.5}; o1 = i; i++;
Point(i) = {0,1,0,0.5}; e1 = i; i++;
Point(i) = {1,0,0,0.5}; e2 = i; i++;
Point(i) = {1,1,0,0.5}; e3 = i; i++;
//Point(i) = {0.5,0.5,0,0.5}; e4 = i; i++;

Line(i) = {o1, e1}; l1 = i; i++;
Line(i) = {e1, e3}; l2 = i; i++;
Line(i) = {e3, e2}; l3 = i; i++;
Line(i) = {e2, o1}; l4 = i; i++;
Line(i) = {e1, e2}; l5 = i; i++;
Line(i) = {e3, o1};


//+
SetFactory("OpenCASCADE");
BooleanIntersection{ Line{9}; }{ Line{10}; }
-------------------------------------------------------------------------------

I get following error statements:
Error: Unknown OpenCASCADE entity of dimension 1 with tag 9
Error: <location of file>, line 18: Could not apply booleanoperator

What is the issue here? Can someone help?




More information about the gmsh mailing list