<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Interesting question. First - there only seem to be 4 verticies</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
in the description. Should there not be more points? And</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
the mass seems to be low.</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">
Can you supply a sketch of what the predefined person</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
should look like?</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">
What do you intend it to be used for? A visual study or</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
to represent the mass of a person (or both)?</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">
If you created a thermal zone that only included the various entities</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
associate with the 'person' and sent it I could test creating a </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
predefined entity to see <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background: var(--neutralPrimarySurface); color: rgb(0, 0, 0);">if there are errors.</span></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">
Also if you attached the predefined database it would be</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
helpful for others to look at.</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">
Regards, Jon Hand</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 Clodoaldo Carvalho Filho <clodoaldo@ufc.br><br>
<b>Sent:</b> 02 May 2023 17:25<br>
<b>To:</b> esp-r@lists.strath.ac.uk <esp-r@lists.strath.ac.uk><br>
<b>Subject:</b> [esp-r] Issue on creating new predefined entities in esp-r</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear all<br>
<br>
I am trying to create a predefined entity "standing_man" and save it in predefined.db1 for later use.<br>
<br>
So I inserted a new category named "people" after the existing category "lighting":<br>
<br>
*Category,people,People (visual+mass)<br>
<br>
and put the following code at the end of predefined.db1 just before "*End_category" line<br>
<br>
*item,standing_man,standing man 720x160x1760mm (+y) # tag name menu entry<br>
*incat,people<br>
*includes,visual,mass<br>
*sourced,Dimensions for a typical adult man.<br>
*origin,0.0,0.0,0.0<br>
*bounding_box,0.720,0.160,1.76<br>
*Text<br>
Adult standing man facing north (+y).<br>
*End_text<br>
# <br>
*vertex,0.160,0.160,0.800 # 1<br>
*vertex,0.160,0.160,1.560 # 2<br>
*vertex,0.560,0.160,1.560 # 3<br>
*vertex,0.560,0.160,0.800 # 4<br>
# <br>
*mass,seat,door,OPAQUE,4,1,2,3,4 # 1<br>
*mass,seat_,door,OPAQUE,4,2,1,4,3 # 2<br>
# <br>
*vis,0.260,0.000,1.560,0.200,0.160,0.200,0.000,1.00,head,steel_pl_3mm # visual 1<br>
*vis,0.160,0.000,0.800,0.400,0.160,0.760,0.000,1.00,trunk,steel_pl_3mm # visual 2<br>
*vis,0.560,0.000,0.800,0.160,0.160,0.760,0.000,1.00,r_arm,steel_pl_3mm # visual 3<br>
*vis,0.000,0.000,0.800,0.160,0.160,0.760,0.000,1.00,l_arm,steel_pl_3mm # visual 4<br>
*vis,0.400,0.000,0.000,0.160,0.160,0.800,0.000,1.00,r_leg,door # visual 5<br>
*vis,0.160,0.000,0.000,0.160,0.160,0.800,0.000,1.00,l_leg,door # visual 6<br>
#<br>
*end_item<br>
<br>
Note that materials still have to be changed to match the real entity.<br>
<br>
The problem I am facing is that ESP-r changes "a Office furniture (visual+mass)" in the "Predefined categories" menu to "a standing_manture (visual+mass)", looking as if it had merged the name of new item with the description of first category "Office furniture
(visual+mass)". Furthermore, clicking in "a standing_manture (visual+mass)", ESP-r changes "a standard swivel office chair" in the "Available predefined object" menu to "a people vel office chair" (the blank spaces seem to be the complement of "people"
to 12 char length string). By the way, the problem spreads to the subsequent categories and items as new items are created in the database.<br>
<br>
What am I missing? Any help will be appreciated.<br>
<br>
Best regards.<br clear="all">
<div>
<div dir="ltr" class="x_gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div>
<div>
<div>
<div><br>
</div>
<div>Clodoaldo.</div>
<div><b><br>
</b></div>
<div><b>Prof. Clodoaldo de O. Carvalho Filho, Dr.</b><br>
</div>
<span>Universidade Federal do Ceará</span><br>
Depto. de Engenharia Mecânica<br>
</div>
Lab. de Eficiência Energética no Conforto Ambiental - Coordenador<br>
</div>
ASHRAE Fortaleza Student Branch - Advisor<br>
</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>