<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Jon,</p>
<p><br>
</p>
<p>thank you for the command-line example. It would be great if you
could find that file.</p>
<p><br>
</p>
<p>All those that I tried failed. The "Exercise Center" which is
shown as an example
(<a class="moz-txt-link-freetext" href="https://www.esru.strath.ac.uk//Courseware/ESP-r/tour/exchange_with_CAD.html">https://www.esru.strath.ac.uk//Courseware/ESP-r/tour/exchange_with_CAD.html</a>)
appears to be the "Exercise Facility" example from gbxml.org
(<a class="moz-txt-link-freetext" href="https://www.gbxml.org/Sample_GreenBuildingXML_gbXML_Files">https://www.gbxml.org/Sample_GreenBuildingXML_gbXML_Files</a>). I was
trying to import it (with absolute paths as in your example
commandline):</p>
<p><br>
</p>
<p>ecnv -if gbxml -in /Users/lars/esprt/ExerciseFacility.xml -of esp
-out /Users/lars/esprt/test > ecnv.log 2>&1</p>
<p><br>
</p>
<p>This however runs forever giving me thousands of warnings "In
/Users/lars/esprt/ExerciseFacility.xml error reading (xml line)
EOF sensed."</p>
<p><br>
</p>
<p>What I found out is that ecnv's gbxml-reader makes assumptions on
how xml should be formatted. Adding some newlines by
pretty-printing the input with "xmllint -format" makes it read and
convert the geometry of a simply test file (a cube without any
non-geometric data) that I am attaching. However, after being
prompted to save zone constructions, I get a SIGTRAP after several
warnings:</p>
<p><br>
</p>
<p><font face="monospace">WARNING: in BlenderBldg.cfg: *scfdr 0
0 0 0.000 0.000<br>
the cfd start value (0) < normal minimum 1!<br>
<br>
WARNING: in BlenderBldg.cfg: *scfdr 0 0 0 0.000 0.000<br>
the cfd finish value (0) < normal minimum 1!<br>
<br>
WARNING: in BlenderBldg.cfg: *scfdr 0 0 0 0.000 0.000<br>
the cfd start time value (0.00) < normal minimum 1.0000!<br>
<br>
WARNING: in BlenderBldg.cfg: *scfdr 0 0 0 0.000 0.000<br>
the cfd finish time value (0.00) < normal minimum 1.0000!<br>
WARNING in BlenderBldg.cfg: no chars found for cfd res string
in:<br>
*scfdr 0 0 0 0.000 0.000<br>
<br>
Program received signal SIGTRAP: Trace/breakpoint trap.<br>
<br>
Backtrace for this error:</font><br>
</p>
<p><br>
</p>
<p>When I still try to load the converted model in prj, I get
cfd-related warnings (cfs finish / start time / finish time value
(0) < normal minimum; no chars found for cfs res string in
*scfdr 0 0 0.00 0.00) followed by a "<font face="monospace">Program
received signal SIGTRAP: Trace/breakpoint trap.</font>"<br>
</p>
<p><br>
</p>
<p>Best, Lars.<br>
</p>
<div class="moz-cite-prefix"><br>
</div>
<blockquote type="cite"
cite="mid:LO2P265MB5679532D03E1D5EBD15A00DEBA429@LO2P265MB5679.GBRP265.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I had a look and found a session capture related to gbxml. I
have</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
yet to find the original gbxml file but the main command line</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
is:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
jon@mae-esru-jon:/tmp$ ecnv -v -if gbxml -in /tmp/HAUS_PR.gbxml
-of esp -out /tmp/HAUS
<div>Starting ecnv in esp mode with in file /tmp/HAUS_PR.gbxml</div>
and output file /tmp/HAUS.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
The -v tells it to chatter verbosely as it parses the gbxml
file.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
So the gbxml file was, in this case in /tmp and the result would</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
be placed in the folder /tmp/HAUS. I need to search a bit to
see</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
if /tmp/HAUS was already created, and if so what was in it</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
prior to invoking the ecvn utility.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
My recollection was that this session needed very little in the</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
way of cleaning up. It tended to place doors at corners of</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
rooms and the parent surface needed a few tweaks.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I do recall that some gbxml files work better than others. Some</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
CAD tools will happily create a gbxml for a single surface
facade</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
with scores of window inserts and ESP-r can't cope with that.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I will do a bit more searching around for examples. -Jon Hand</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:esp-r-bounces@lists.strath.ac.uk">esp-r-bounces@lists.strath.ac.uk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:esp-r-bounces@lists.strath.ac.uk"><esp-r-bounces@lists.strath.ac.uk></a> on behalf of Lars O.
Grobe <a class="moz-txt-link-rfc2396E" href="mailto:grobe@gmx.net"><grobe@gmx.net></a><br>
<b>Sent:</b> 09 September 2022 18:41<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:esp-r@lists.strath.ac.uk">esp-r@lists.strath.ac.uk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:esp-r@lists.strath.ac.uk"><esp-r@lists.strath.ac.uk></a><br>
<b>Subject:</b> [esp-r] gbxml import</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">Dear all,<br>
<br>
I have been trying to import a gbxml-file without any
success so far. Is<br>
there any documentation, possibly with one of the public
xml examples,<br>
demonstrating the import? This could be either through prj
or ecnv, but<br>
should include information on the starting conditions
(should one first<br>
initialise a model in prj, or rather generate the entire
project with<br>
the import) and paths from which commands are started.<br>
<br>
Best & have a nice week-end,<br>
<br>
Lars.<br>
<br>
<br>
_______________________________________________<br>
esp-r mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:esp-r@lists.strath.ac.uk">esp-r@lists.strath.ac.uk</a><br>
<a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r"
moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a><br>
</div>
</span></font></div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
esp-r mailing list
<a class="moz-txt-link-abbreviated" href="mailto:esp-r@lists.strath.ac.uk">esp-r@lists.strath.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.strath.ac.uk/mailman/listinfo/esp-r">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a></pre>
</blockquote>
</body>
</html>