<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
There are so many limitations to DXF. How about using</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
gbXML as an import format? Some CAD tools will</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
create a gbXML file that reads in fairly cleanly into</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
ESP-r.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Regards, Jon Hand</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
(jon.in.glasgow@googlemail.com)</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> esp-r-bounces@lists.strath.ac.uk <esp-r-bounces@lists.strath.ac.uk> on behalf of Nico Espinosa <nico_espinosa19@hotmail.com><br>
<b>Sent:</b> 04 September 2023 19:25<br>
<b>To:</b> esp-r@lists.strath.ac.uk <esp-r@lists.strath.ac.uk><br>
<b>Subject:</b> [esp-r] import .dxf with ESP-r V13.3.15 of 14 October 2022</font>
<div> </div>
</div>
<div>
<p>Dear all,</p>
<p>I am currently trying to set up a project retrofit for an old stone house in France. I used to use Esp-r back in the 2014 for a passive house project.<br>
</p>
<p>I am trying to set up the following workflow : sketchup 2017 -> export .dxf file -> import geometry in Esp-r.<br>
</p>
<p>To start smoothly here bellow what I started to do:<br>
</p>
<p>I tried to import a geometry from a simple .DXF file that was sent some years ago in this same mail list (the Exo1.DXF) with the current version of ESP-r in linux (at least the sources available in Github) buit from source (I am using Debian 12).<br>
</p>
<p><br>
</p>
<p>I followed Jon Hand's 2018 mailing list message recommendations at that time ie<br>
</p>
<p>I have started a project from scratch building it with :</p>
<p>$prj <br>
</p>
<p>and saved it as test_exo1 (root folder).<br>
</p>
<p>Then save and closed the project.</p>
<p>After that I lauched again Esp-r, use the import .dxf file utility but this raised that terminal message :<br>
</p>
<p><font size="2">$prj -file test_exo1.cfg<br>
Will attempt to update configuration<br>
Starting ecnv in esp mode with in file ../Exo1.DXF<br>
and output file test_exo1.cfg.<br>
<br>
Welcome to the Data conversion utility of ESP-r V13.3.15 of 14 October 2022.<br>
The esp-r configuration file will be: test_exo1.cfg<br>
Scanning the problem before updating.<br>
At line 5341 of file esru_misc.F<br>
Fortran runtime error: End of record<br>
<br>
Error termination. Backtrace:<br>
#0 0x7f158d2218c2 in ???<br>
#1 0x7f158d2223b9 in ???<br>
#2 0x7f158d222f0f in ???<br>
#3 0x7f158d4671c0 in ???<br>
#4 0x7f158d47391c in ???<br>
#5 0x7f158d46a76c in ???<br>
#6 0x7f158d46a9b5 in ???<br>
#7 0x5623080cb96e in align_comment_<br>
at /home/nespinosa/Src/ESP-rSource/src/cnv/esru_misc.F:5341<br>
#8 0x562308091a5e in emkcfg_<br>
at /home/nespinosa/Src/ESP-rSource/src/cnv/emkcfg.F:591<br>
#9 0x562307f6659b in ecnv<br>
at /home/nespinosa/Src/ESP-rSource/src/cnv/ecnv.F:353<br>
#10 0x562307f68701 in main<br>
at /home/nespinosa/Src/ESP-rSource/src/cnv/ecnv.F:24</font></p>
<p>What I found is that when I launch the import .dxf, the *indx parameters in the .cfg file passes from 0 to 1.</p>
<p>Then esp-r further complains about the .cfg file (at least the last line of the file) being incorrect.<br>
</p>
<p>Attached again the Exo1.DXF file that was sent in 2018 and that I am using for debugging that .dxf importing step.<br>
</p>
<p>Thank you very much for your help.</p>
<p>Rgds,</p>
<p>Nicolas<br>
</p>
<p><br>
</p>
<p> <br>
</p>
</div>
</body>
</html>