<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Testo fumetto Carattere";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.TestofumettoCarattere
{mso-style-name:"Testo fumetto Carattere";
mso-style-priority:99;
mso-style-link:"Testo fumetto";
font-family:"Segoe UI",sans-serif;}
span.StileMessaggioDiPostaElettronica20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.BalloonText, li.BalloonText, div.BalloonText
{mso-style-name:"Balloon Text";
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma",sans-serif;}
span.StileMessaggioDiPostaElettronica23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">In my case component8.step is correctly read, see the complete log below. But I get those errors anyway…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Info : Reading 'D:[008]-EsempiGmsh\slicer_surfaces.geo'...<o:p></o:p></p>
<p class="MsoNormal">Info : - Label 'Shapes/Rhino Product' (3D)<o:p></o:p></p>
<p class="MsoNormal">Info : Healing shapes (tolerance: 1e-008)<o:p></o:p></p>
<p class="MsoNormal">Info : - Fixing degenerated edges and faces<o:p></o:p></p>
<p class="MsoNormal">Info : - Sewing faces<o:p></o:p></p>
<p class="MsoNormal">Info : Done healing shapes (0.046875 s):<o:p></o:p></p>
<p class="MsoNormal">Info : - Compounds : 0 (0)<o:p></o:p></p>
<p class="MsoNormal">Info : - Composite solids : 0 (0)<o:p></o:p></p>
<p class="MsoNormal">Info : - Solids : 0 (1)<o:p></o:p></p>
<p class="MsoNormal">Info : - Shells : 1 (1)<o:p></o:p></p>
<p class="MsoNormal">Info : - Wires : 22 (22)<o:p></o:p></p>
<p class="MsoNormal">Info : - Faces : 21 (21)<o:p></o:p></p>
<p class="MsoNormal">Info : - Edges : 48 (48)<o:p></o:p></p>
<p class="MsoNormal">Info : - Vertices : 28 (28)<o:p></o:p></p>
<p class="MsoNormal">Info : - Total surface area : 6368.8 (6368.8)<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 12 : Uninitialized variable 'bbox[0]'<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 13 : Uninitialized variable 'bbox[1]'<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 14 : Uninitialized variable 'bbox[2]'<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 15 : Uninitialized variable 'bbox[3]'<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 16 : Uninitialized variable 'bbox[4]'<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 17 : Uninitialized variable 'bbox[5]'<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Rectangle with zero width or height<o:p></o:p></p>
<p class="MsoNormal">Error : Unknown OpenCASCADE entity of dimension 3 with tag 1<o:p></o:p></p>
<p class="MsoNormal">Error : 'D:[008]-EsempiGmsh\slicer_surfaces.geo', line 30 : Could not apply boolean operator<o:p></o:p></p>
<p class="MsoNormal">Info : Done reading 'D:[008]-EsempiGmsh\slicer_surfaces.geo'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="IT">Da:</span></b><span lang="IT"> gmsh <b>Per conto di
</b>Don Van Kerkhoven<br>
<b>Inviato:</b> venerd́ 6 marzo 2020 22:46<br>
<b>A:</b> gmsh@onelab.info<br>
<b>Oggetto:</b> Re: [Gmsh] R: R: Slice 3D to get 2D geometry<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA">Your error report looks what I get, if the script cannot locate “component8.step” (see below).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> I use Win7-64b-pro and Gmsh 4.5.4. <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : Could not read file 'D:\upgrades\software\gmsh\GmshMailingListExamples\component8.step'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 14 : Uninitialized variable 'bbox[0]'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 15 : Uninitialized variable 'bbox[1]'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 16 : Uninitialized variable 'bbox[2]'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 17 : Uninitialized variable 'bbox[3]'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 18 : Uninitialized variable 'bbox[4]'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : 'D:\upgrades\software\gmsh\GmshMailingListExamples\2020_slicer_surfaces.geo', line 19 : Uninitialized variable 'bbox[5]'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : Rectangle with zero width or height<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : Rectangle with zero width or height<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : Rectangle with zero width or height<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : Rectangle with zero width or height<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">>>Error : Rectangle with zero width or height<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
</div>
</body>
</html>