Dear Fariba,

This is not supported : the boolean operations are only supported for 
OpenCASCADE (CAD) entities.

Christophe

> On 5 Oct 2018, at 20:56, Mohammadi, Fariba <f824m...@ku.edu> wrote:
> 
> Hi,
> 
> I am trying to do Boolean subtraction on two surface meshes. My mesh files 
> are in .stl format. In Gmsh, I tried to define each mesh as volume using 
> Modules>Geometry>Elementary entities>Add>Volume. It created a .geo file 
> containing my .stl file name as a command and used that as the script file.
> 
> Then I merged both files and tried to do the Boolean subtraction. It is 
> giving me the following error,
> 
> Error: Unknown OpenCASCADE entity with dimension 3 with tag 1
> Error: '', line 3: Could not apply boolean operator
> 
> My script looks like this,
> 
> Merge "left_ivc_vein.stl";
> Surface Loop(1) = {1};
> //+
> Volume(1) = {1};
> //+
> Merge "left_ivc_filter.stl";
> Surface Loop(2) = {2};
> //+
> Volume(2) = {2};
> //+
> SetFactory("OpenCASCADE");
> BooleanDifference{ Volume{1}; }{ Volume{2}; Delete; }
> 
> I am new to Gmsh and I am not sure what I am doing wrong here. Any help is 
> greatly appreciated.
> 
> Thanks,
> Fariba
> 
> _______________________________________________
> gmsh mailing list
> gmsh@onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info


_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to