[Gmsh] R: R: R: Slice 3D to get 2D geometry

Vicini Alessandro alessandro.vicini at sitael.com
Tue Mar 10 08:48:21 CET 2020


In my case component8.step is correctly read, see the complete log below. But I get those errors anyway...


Info    : Reading 'D:[008]-EsempiGmsh\slicer_surfaces.geo'...
Info    :  - Label 'Shapes/Rhino Product' (3D)
Info    : Healing shapes (tolerance: 1e-008)
Info    :  - Fixing degenerated edges and faces
Info    :  - Sewing faces
Info    : Done healing shapes (0.046875 s):
Info    :  - Compounds          : 0 (0)
Info    :  - Composite solids   : 0 (0)
Info    :  - Solids             : 0 (1)
Info    :  - Shells             : 1 (1)
Info    :  - Wires              : 22 (22)
Info    :  - Faces              : 21 (21)
Info    :  - Edges              : 48 (48)
Info    :  - Vertices           : 28 (28)
Info    :  - Total surface area : 6368.8 (6368.8)
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'


Da: gmsh Per conto di Don Van Kerkhoven
Inviato: venerdì 6 marzo 2020 22:46
A: gmsh at onelab.info
Oggetto: Re: [Gmsh] R: R: Slice 3D to get 2D geometry

Your error report  looks what I get, if the script cannot locate "component8.step" (see below).
 I use Win7-64b-pro and Gmsh 4.5.4.


>>Error   : Could not read file 'D:\upgrades\software\gmsh\GmshMailingListExamples\component8.step'
>>Error   : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 14 : Uninitialized variable 'bbox[0]'
>>Error   : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 15 : Uninitialized variable 'bbox[1]'
>>Error   : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 16 : Uninitialized variable 'bbox[2]'
>>Error   : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 17 : Uninitialized variable 'bbox[3]'
>>Error   : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 18 : Uninitialized variable 'bbox[4]'
>>Error   : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 19 : 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200310/da806b38/attachment.html>


More information about the gmsh mailing list