<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello ,<div><br></div><div>I am developing a small fem analysis program in which i am using gmsh as mesh framework.</div><div>I am trying to add vectors which is supposed to represent nodal load( force , pressure ) values.</div><div><br></div><div>i used following two function without success.</div><div><br></div><pre style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="line" id="LC234" style="padding-left: 10px; ">  <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">void</span> <span class="nf" style="color: rgb(153, 0, 0); font-weight: bold; ">drawArrow3d</span><span class="p">(</span><span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">x</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">y</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">z</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">dx</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">dy</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">dz</span><span class="p">,</span></div><div class="line" id="LC235" style="padding-left: 10px; ">                   <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">length</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">int</span> <span class="n" style="color: rgb(51, 51, 51); ">light</span><span class="p">);</span></div><div class="line" id="LC235" style="padding-left: 10px; "><span class="p"><br></span></div></pre><div><pre style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="line" id="LC236" style="padding-left: 10px; ">  <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">void</span> <span class="nf" style="color: rgb(153, 0, 0); font-weight: bold; ">drawVector</span><span class="p">(</span><span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">int</span> <span class="n" style="color: rgb(51, 51, 51); ">Type</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">int</span> <span class="n" style="color: rgb(51, 51, 51); ">Fill</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">x</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">y</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">z</span><span class="p">,</span></div><div class="line" id="LC237" style="padding-left: 10px; ">                  <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">dx</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">dy</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">double</span> <span class="n" style="color: rgb(51, 51, 51); ">dz</span><span class="p">,</span> <span class="kt" style="color: rgb(68, 85, 136); font-weight: bold; ">int</span> <span class="n" style="color: rgb(51, 51, 51); ">light</span><span class="p">);</span></div><div class="line" id="LC237" style="padding-left: 10px; "><span class="p"><br></span></div></pre><div><br></div></div><div> how can i add 3d arrows to represent loads?</div><div><br></div><div>Thanks in advance.</div><div><br></div></body></html>