Of course. But I get different errors:
Error : 'D:\ [008]-EsempiGmsh\slicer_surfaces.geo', line 12 : Uninitialized variable 'bbox[0]' Error : 'D:\[008]-EsempiGmsh\slicer_surfaces.geo', line 13 : Uninitialized variable 'bbox[1]' Error : 'D:\[008]-EsempiGmsh\slicer_surfaces.geo', line 14 : Uninitialized variable 'bbox[2]' Error : 'D:\[008]-EsempiGmsh\slicer_surfaces.geo', line 15 : Uninitialized variable 'bbox[3]' Error : 'D:\[008]-EsempiGmsh\slicer_surfaces.geo', line 16 : Uninitialized variable 'bbox[4]' Error : 'D:\[008]-EsempiGmsh\slicer_surfaces.geo', line 17 : Uninitialized variable 'bbox[5]' Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Rectangle with zero width or height Error : Unknown OpenCASCADE entity of dimension 3 with tag 1 Error : 'D:\[008]-EsempiGmsh\slicer_surfaces.geo', line 30 : Could not apply boolean operator Info : Done reading 'D:\[008]-EsempiGmsh\slicer_surfaces.geo' Info : Writing 'D:\[008]-EsempiGmsh\slicer_surfaces.log'... Da: gmsh Per conto di Don Van Kerkhoven Inviato: giovedì 5 marzo 2020 16:04 A: gmsh@onelab.info Oggetto: Re: [Gmsh] R: Slice 3D to get 2D geometry Make sure you also have the "component8" file in the same directory : https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/demos/boolean/component8.step<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.onelab.info%2Fgmsh%2Fgmsh%2F-%2Fblob%2Fmaster%2Fdemos%2Fboolean%2Fcomponent8.step&data=02%7C01%7Calessandro.vicini%40sitael.com%7Cb9385bdb3fd3499e347a08d7c127c6d7%7Cc187ee014e4e40c8b342f82c8d699421%7C0%7C0%7C637190248907284982&sdata=f3x37Gp2sWz7KZfCbCS%2FelpJVh5jl4LaB8PwiV8EnYw%3D&reserved=0> It's required at this line // load volume(s) from step file v() = ShapeFromFile("component8.step");
_______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh