index.html 127 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>The Vault GUI</title>
  6. <link rel="stylesheet" href="{{ static_url("style.css") }}">
  7. <link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
  8. <!--[if lt IE 9]>
  9. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. </head>
  12. <body>
  13. <div id="kit-logo"><img src="http://katrin.kit.edu/static/kit_logo.svg" height:5%></div>
  14. <div id="competence-logo"><img src="http://katrin.kit.edu/static/CompetenceE-Logo.png" height=100></div>
  15. <div id="ipe-logo"><img src="http://katrin.kit.edu/static/IPE-Logo.png" height=100></div>
  16. <div id="container"></div>
  17. <!--<div id="slider"></div>-->
  18. <div id="slider-tooltip"></div>
  19. <div id="obj-tooltip">Module: </div>
  20. <div id="val-tooltip">Power: </div>
  21. <!--<div id="stat-tooltip">Status: </div>-->
  22. <div class="window-item window-unitem" id="message">
  23. <div class="bar-header">
  24. <div class="bar-title noselect">Message Log</div>
  25. <div class="bar-dropdown noselect">^</div>
  26. <div class="bar-close noselect">&#215;</div>
  27. </div>
  28. <div class="bar-message">
  29. <div class="bar-wrapper" style="height:200px; overflow-y:scroll;">
  30. </div>
  31. </div>
  32. </div>
  33. <div class="window-item window-unitem" id="settings">
  34. <div class="bar-header">
  35. <div class="bar-title noselect">Settings</div>
  36. <div class="bar-dropdown noselect">^</div>
  37. <div class="bar-close noselect">&#215;</div>
  38. </div>
  39. <div class="bar-settings">
  40. <div class="bar-wrapper">
  41. <div class="bar-setup">
  42. <span class="bl bar-hl">Select modes</span>
  43. <span class="br bar-info">
  44. <input type="radio" name="moduleMode" value="0" checked>On/Off<br>
  45. <input type="radio" name="moduleMode" value="1">Gradient
  46. </span>
  47. </div>
  48. <div class="bar-setup">
  49. <span class="bl bar-hl">Show array number</span>
  50. <span class="br bar-info">
  51. <input type="checkbox" id="mylabel">
  52. </span>
  53. </div>
  54. <div class="bar-setup">
  55. <span class="bl bar-hl">Show inverter type</span>
  56. <span class="br bar-info">
  57. <input type="checkbox" id="myType">
  58. </span>
  59. </div>
  60. <div class="bar-setup">
  61. <span class="bl bar-hl"></span>
  62. <span class="br bar-info">
  63. <input type="radio" name="moduleType" value="A">A<br>
  64. <input type="radio" name="moduleType" value="B">B<br>
  65. <input type="radio" name="moduleType" value="C">C<br>
  66. <input type="radio" name="moduleType" value="D">D
  67. </span>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="window-item" id="orientation">
  73. <div class="bar-header">
  74. <div class="bar-title noselect">Orientation</div>
  75. <div class="bar-dropdown noselect">^</div>
  76. <div class="bar-close noselect">&#215;</div>
  77. </div>
  78. <div class="bar-orientation">
  79. <canvas class="bar-wrapper" id="compass" width="200" height="180"></canvas>
  80. </div>
  81. </div>
  82. <div id="window-tab">
  83. <div id="offMessage" class="noselect bar-pil">Message Log</div>
  84. <div id="offSettings" class="noselect bar-pil">Settings</div>
  85. <div id="offOrientation" class="noselect bar-pil">Orientation</div>
  86. <!--<div id="offSettings" class="noselect bar-pil">Settings</div>-->
  87. </div>
  88. <div class="window-cp" id="control-panel">
  89. <div class="bar-header">
  90. <div id="toggleGUI" class="bar-button noselect">Show/Hide GUI</div>
  91. <div id="showTabs" class="bar-button noselect">Windows</div>
  92. <!--<div id="runSimulation" class="bar-button noselect">Run</div>-->
  93. <!---
  94. <div id="testTrigger" class="bar-button noselect">Test Trigger</div>
  95. -->
  96. </div>
  97. </div>
  98. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  99. <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
  100. <script src="{{ static_url("scripts.js") }}"></script>
  101. <script src="{{ static_url("three.min.js") }}"></script>
  102. <script src="{{ static_url("Lut.js") }}"></script>
  103. <script src="{{ static_url("OrbitControls.js") }}"></script>
  104. <script>
  105. // Global variable
  106. var img = null,
  107. needle = null,
  108. ctx = null;
  109. function clearCanvas() {
  110. // clear canvas
  111. ctx.clearRect(0, 0, 200, 200);
  112. }
  113. function draw(degrees) {
  114. //console.log("Draw degree");
  115. //console.log(degrees);
  116. clearCanvas();
  117. // Draw the compass onto the canvas
  118. ctx.drawImage(img, 0, 0);
  119. // Save the current drawing state
  120. ctx.save();
  121. // Now move across and down half the
  122. ctx.translate(100, 100);
  123. // Rotate around this point
  124. ctx.rotate(degrees * (Math.PI / 180));
  125. // Draw the image back and up
  126. ctx.drawImage(needle, -100, -100);
  127. // Restore the previous drawing state
  128. ctx.restore();
  129. // Increment the angle of the needle by 5 degrees
  130. //degrees += 5;
  131. }
  132. function imgLoaded() {
  133. // Image loaded event complete. Start the timer
  134. draw(myvalue);
  135. //setInterval(draw, 100);
  136. }
  137. function init() {
  138. // Grab the compass element
  139. var canvas = document.getElementById('compass');
  140. // Canvas supported?
  141. if (canvas.getContext('2d')) {
  142. ctx = canvas.getContext('2d');
  143. // Load the needle image
  144. needle = new Image();
  145. needle.src = 'http://katrin.kit.edu/static/needle_01.svg';
  146. // Load the compass image
  147. img = new Image();
  148. img.src = 'http://katrin.kit.edu/static/compass_01.svg';
  149. img.onload = imgLoaded;
  150. } else {
  151. alert("Canvas not supported!");
  152. }
  153. }
  154. var myvalue = 0;
  155. init();
  156. </script>
  157. <!--
  158. <script src="https://dl.dropboxusercontent.com/u/3587259/Code/Threejs/CSS3DRenderer.js"></script>
  159. -->
  160. <script>
  161. var camera, scene, renderer;
  162. var container;
  163. var mycontrol;
  164. var enableControls = true;
  165. var enableRotate = false;
  166. var data = [];
  167. var labelFlag;
  168. var raycaster = new THREE.Raycaster();
  169. var mouse = new THREE.Vector2();
  170. $("#mylabel").change(function() {
  171. if(this.checked) {
  172. labelFlag = true;
  173. } else {
  174. labelFlag = false;
  175. }
  176. });
  177. function onMouseMove( event ) {
  178. // calculate mouse position in normalized device coordinates
  179. // (-1 to +1) for both components
  180. mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1;
  181. mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1;
  182. }
  183. init();
  184. animate();
  185. window.addEventListener( 'mousemove', onMouseMove, false );
  186. function createLabel(name) {
  187. var text2 = document.createElement('div');
  188. text2.style.position = 'absolute';
  189. //text2.style.zIndex = 1; // if you still don't see the label, try uncommenting this
  190. text2.style.fontSize = "12px";
  191. text2.style.width = 100;
  192. text2.style.height = 100;
  193. text2.style.padding = "2px";
  194. text2.style.backgroundColor = '#303030';
  195. text2.style.color = '#fff';
  196. text2.innerHTML = name;
  197. //text2.style.top = 200 + 'px';
  198. //text2.style.left = 200 + 'px';
  199. text2.id = "text"+name;
  200. document.body.appendChild(text2);
  201. }
  202. function init() {
  203. setMessage("3D", "Initialization.");
  204. scene = new THREE.Scene();
  205. camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 1, 10000);
  206. camera.position.set(0, 45, 100);
  207. camera.lookAt(scene.position);
  208. container = document.getElementById( 'container' );
  209. document.body.appendChild( container );
  210. renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
  211. //renderer = new THREE.CSS3DRenderer();
  212. renderer.setSize(window.innerWidth, window.innerHeight);
  213. renderer.setClearColor( 0xffffff, 0);
  214. container.appendChild(renderer.domElement);
  215. mycontrol = new THREE.OrbitControls( camera );
  216. var size = 40, step = 1;
  217. var geometry = new THREE.Geometry();
  218. var material = new THREE.LineBasicMaterial({color: 0xe3e3e3, linewidth: 1, fog:true});
  219. for ( var i = - size; i <= size; i += step ) {
  220. geometry.vertices.push(new THREE.Vector3( -size, -0.04, i ));
  221. geometry.vertices.push(new THREE.Vector3( size, -0.04, i ));
  222. geometry.vertices.push(new THREE.Vector3( i, -0.04, -size ));
  223. geometry.vertices.push(new THREE.Vector3( i, -0.04, size ));
  224. }
  225. var line = new THREE.LineSegments( geometry, material );
  226. scene.add(line);
  227. setMessage("3D", "Added grid plane.");
  228. /*
  229. var geometry = new THREE.BoxGeometry( 1, 1, 1 );
  230. var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
  231. var cube = new THREE.Mesh( geometry, material );
  232. */
  233. var light = new THREE.DirectionalLight( 0xffffff );
  234. light.position.set( 0, 1, 1 ).normalize();
  235. scene.add(light);
  236. setMessage("3D", "Added directional light.");
  237. pv001 = new THREE.Mesh(
  238. new THREE.CubeGeometry( 4, 0.1,0.5),
  239. new THREE.MeshPhongMaterial( {
  240. color: 0xD3D3D3,
  241. specular: 0x050505,
  242. shininess: 100
  243. })
  244. );
  245. pv001.position.set(-18, 0.5, 29);
  246. pv001.rotateY( Math.PI / 3 );
  247. pv001.rotateX( Math.PI / 12);
  248. pv001.name = "2A_15_60e_001_02";
  249. scene.add(pv001);
  250. setMessage("3D", "Loaded PV001.");
  251. createLabel("001");
  252. pv002 = new THREE.Mesh(
  253. new THREE.CubeGeometry( 4, 0.1,0.5),
  254. new THREE.MeshPhongMaterial( {
  255. color: 0xD3D3D3,
  256. specular: 0x050505,
  257. shininess: 100
  258. })
  259. );
  260. pv002.position.set(-14, 0.5, 30);
  261. pv002.rotateY( Math.PI / 3 );
  262. pv002.rotateX( Math.PI / 12);
  263. pv002.name = "5A_15_60e_002_02";
  264. scene.add(pv002);
  265. setMessage("3D", "Loaded PV002.");
  266. createLabel("002");
  267. pv003 = new THREE.Mesh(
  268. new THREE.CubeGeometry( 4, 0.1,0.5),
  269. new THREE.MeshPhongMaterial( {
  270. color: 0xD3D3D3,
  271. specular: 0x050505,
  272. shininess: 100
  273. })
  274. );
  275. pv003.position.set(9.5, 0.5, 2);
  276. pv003.rotateY( Math.PI / 3 );
  277. pv003.rotateX( Math.PI / 6);
  278. pv003.name = "6A_30_60e_003_02";
  279. scene.add(pv003);
  280. setMessage("3D", "Loaded PV003.");
  281. createLabel("003");
  282. pv004 = new THREE.Mesh(
  283. new THREE.CubeGeometry( 4, 0.1,0.5),
  284. new THREE.MeshPhongMaterial( {
  285. color: 0xD3D3D3,
  286. specular: 0x050505,
  287. shininess: 100
  288. })
  289. );
  290. pv004.position.set(6, 0.5, 1);
  291. pv004.rotateY( Math.PI / 3 );
  292. pv004.rotateX( Math.PI / 6);
  293. pv004.name = "1A_30_60e_004_02";
  294. scene.add(pv004);
  295. setMessage("3D", "Loaded PV004.");
  296. createLabel("004");
  297. pv005 = new THREE.Mesh(
  298. new THREE.CubeGeometry( 4, 0.1,0.5),
  299. new THREE.MeshPhongMaterial( {
  300. color: 0xD3D3D3,
  301. specular: 0x050505,
  302. shininess: 100
  303. })
  304. );
  305. pv005.position.set(-8, 0.5, -3);
  306. pv005.rotateY( Math.PI / 3 );
  307. pv005.rotateX( Math.PI / 4);
  308. pv005.name = "6A_45_60e_005_02";
  309. scene.add(pv005);
  310. setMessage("3D", "Loaded PV005.");
  311. createLabel("005");
  312. pv006 = new THREE.Mesh(
  313. new THREE.CubeGeometry( 4, 0.1,0.5),
  314. new THREE.MeshPhongMaterial( {
  315. color: 0xD3D3D3,
  316. specular: 0x050505,
  317. shininess: 100
  318. })
  319. );
  320. pv006.position.set(-4.5, 0.5, -2);
  321. pv006.rotateY( Math.PI / 3 );
  322. pv006.rotateX( Math.PI / 4);
  323. pv006.name = "1A_45_60e_006_02";
  324. scene.add(pv006);
  325. setMessage("3D", "Loaded PV006.");
  326. createLabel("006");
  327. pv007 = new THREE.Mesh(
  328. new THREE.CubeGeometry( 4, 0.1,0.5),
  329. new THREE.MeshPhongMaterial( {
  330. color: 0xD3D3D3,
  331. specular: 0x050505,
  332. shininess: 100
  333. })
  334. );
  335. pv007.position.set(-5, 0.5, -16);
  336. pv007.rotateY( Math.PI / 3 );
  337. pv007.rotateX( Math.PI / 3);
  338. pv007.name = "6C_60_60e_007_02";
  339. scene.add(pv007);
  340. setMessage("3D", "Loaded PV007.");
  341. createLabel("007");
  342. pv008 = new THREE.Mesh(
  343. new THREE.CubeGeometry( 4, 0.1,0.5),
  344. new THREE.MeshPhongMaterial( {
  345. color: 0xD3D3D3,
  346. specular: 0x050505,
  347. shininess: 100
  348. })
  349. );
  350. pv008.position.set(-7, 0.5, -9);
  351. pv008.rotateY( Math.PI / 3 );
  352. pv008.rotateX( Math.PI / 3);
  353. pv008.name = "1C_60_60e_008_02";
  354. scene.add(pv008);
  355. setMessage("3D", "Loaded PV008.");
  356. createLabel("008");
  357. pv009 = new THREE.Mesh(
  358. new THREE.CubeGeometry( 4, 0.1,0.5),
  359. new THREE.MeshPhongMaterial( {
  360. color: 0xD3D3D3,
  361. specular: 0x050505,
  362. shininess: 100
  363. })
  364. );
  365. pv009.position.set(13, 0.5, 3);
  366. pv009.rotateY( Math.PI / 4 );
  367. pv009.rotateX( Math.PI / 12);
  368. pv009.name = "2A_15_45e_009_02";
  369. scene.add(pv009);
  370. setMessage("3D", "Loaded PV009.");
  371. createLabel("009");
  372. pv010 = new THREE.Mesh(
  373. new THREE.CubeGeometry( 4, 0.1,0.5),
  374. new THREE.MeshPhongMaterial( {
  375. color: 0xD3D3D3,
  376. specular: 0x050505,
  377. shininess: 100
  378. })
  379. );
  380. pv010.position.set(18, 0.5, 4);
  381. pv010.rotateY( Math.PI / 4 );
  382. pv010.rotateX( Math.PI / 12);
  383. pv010.name = "1A_15_45e_010_02";
  384. scene.add(pv010);
  385. setMessage("3D", "Loaded PV010.");
  386. createLabel("010");
  387. pv011 = new THREE.Mesh(
  388. new THREE.CubeGeometry( 4, 0.1,0.5),
  389. new THREE.MeshPhongMaterial( {
  390. color: 0xD3D3D3,
  391. specular: 0x050505,
  392. shininess: 100
  393. })
  394. );
  395. pv011.position.set(3.5, 0.5, -0.5);
  396. pv011.rotateY( Math.PI / 4 );
  397. pv011.rotateX( Math.PI / 12);
  398. pv011.name = "4A_15_45e_011_02";
  399. scene.add(pv011);
  400. setMessage("3D", "Loaded PV011.");
  401. createLabel("011");
  402. pv012 = new THREE.Mesh(
  403. new THREE.CubeGeometry( 4, 0.1,0.5),
  404. new THREE.MeshPhongMaterial( {
  405. color: 0xD3D3D3,
  406. specular: 0x050505,
  407. shininess: 100
  408. })
  409. );
  410. pv012.position.set(17, 0.5, -1);
  411. pv012.rotateY( Math.PI / 4 );
  412. pv012.rotateX( Math.PI / 6);
  413. pv012.name = "6A_30_45e_012_02";
  414. scene.add(pv012);
  415. setMessage("3D", "Loaded PV012.");
  416. createLabel("012");
  417. pv013 = new THREE.Mesh(
  418. new THREE.CubeGeometry( 4, 0.1,0.5),
  419. new THREE.MeshPhongMaterial( {
  420. color: 0xD3D3D3,
  421. specular: 0x050505,
  422. shininess: 100
  423. })
  424. );
  425. pv013.position.set(-2, 0.5, -1);
  426. pv013.rotateY( Math.PI / 4 );
  427. pv013.rotateX( Math.PI / 6);
  428. pv013.name = "2A_30_45e_013_02";
  429. scene.add(pv013);
  430. setMessage("3D", "Loaded PV013.");
  431. createLabel("013");
  432. pv014 = new THREE.Mesh(
  433. new THREE.CubeGeometry( 4, 0.1,0.5),
  434. new THREE.MeshPhongMaterial( {
  435. color: 0xD3D3D3,
  436. specular: 0x050505,
  437. shininess: 100
  438. })
  439. );
  440. pv014.position.set(9, 0.5, -3);
  441. pv014.rotateY( Math.PI / 4 );
  442. pv014.rotateX( Math.PI / 4);
  443. pv014.name = "2A_45_45e_014_02";
  444. scene.add(pv014);
  445. setMessage("3D", "Loaded PV014.");
  446. createLabel("014");
  447. pv015 = new THREE.Mesh(
  448. new THREE.CubeGeometry( 4, 0.1,0.5),
  449. new THREE.MeshPhongMaterial( {
  450. color: 0xD3D3D3,
  451. specular: 0x050505,
  452. shininess: 100
  453. })
  454. );
  455. pv015.position.set(12.5, 0.5, -2);
  456. pv015.rotateY( Math.PI / 4 );
  457. pv015.rotateX( Math.PI / 4);
  458. pv015.name = "4A_45_45e_015_02";
  459. scene.add(pv015);
  460. setMessage("3D", "Loaded PV015.");
  461. createLabel("015");
  462. pv016 = new THREE.Mesh(
  463. new THREE.CubeGeometry( 4, 0.1,0.5),
  464. new THREE.MeshPhongMaterial( {
  465. color: 0xD3D3D3,
  466. specular: 0x050505,
  467. shininess: 100
  468. })
  469. );
  470. pv016.position.set(-1, 0.5, -22);
  471. pv016.rotateY( Math.PI / 4 );
  472. pv016.rotateX( Math.PI / 3);
  473. pv016.name = "6A_60_45e_016_02";
  474. scene.add(pv016);
  475. setMessage("3D", "Loaded PV016.");
  476. createLabel("016");
  477. pv017 = new THREE.Mesh(
  478. new THREE.CubeGeometry( 4, 0.1,0.5),
  479. new THREE.MeshPhongMaterial( {
  480. color: 0xD3D3D3,
  481. specular: 0x050505,
  482. shininess: 100
  483. })
  484. );
  485. pv017.position.set(-2, 0.5, -26);
  486. pv017.rotateY( Math.PI / 4 );
  487. pv017.rotateX( Math.PI / 3);
  488. pv017.name = "2A_60_45e_017_02";
  489. scene.add(pv017);
  490. setMessage("3D", "Loaded PV017.");
  491. createLabel("017");
  492. pv018 = new THREE.Mesh(
  493. new THREE.CubeGeometry( 4, 0.1,0.5),
  494. new THREE.MeshPhongMaterial( {
  495. color: 0xD3D3D3,
  496. specular: 0x050505,
  497. shininess: 100
  498. })
  499. );
  500. pv018.position.set(-8.5, 0.5, 23);
  501. pv018.rotateY( Math.PI / 6 );
  502. pv018.rotateX( Math.PI / 12);
  503. pv018.name = "3A_15_30e_018_02";
  504. scene.add(pv018);
  505. setMessage("3D", "Loaded PV018.");
  506. createLabel("018");
  507. pv019 = new THREE.Mesh(
  508. new THREE.CubeGeometry( 4, 0.1,0.5),
  509. new THREE.MeshPhongMaterial( {
  510. color: 0xD3D3D3,
  511. specular: 0x050505,
  512. shininess: 100
  513. })
  514. );
  515. pv019.position.set(-10, 0.5, 26.5);
  516. pv019.rotateY( Math.PI / 6 );
  517. pv019.rotateX( Math.PI / 12);
  518. pv019.name = "1A_15_30e_019_02";
  519. scene.add(pv019);
  520. setMessage("3D", "Loaded PV019.");
  521. createLabel("019");
  522. pv020 = new THREE.Mesh(
  523. new THREE.CubeGeometry( 4, 0.1,0.5),
  524. new THREE.MeshPhongMaterial( {
  525. color: 0xD3D3D3,
  526. specular: 0x050505,
  527. shininess: 100
  528. })
  529. );
  530. pv020.position.set(6, 0.5, 14);
  531. pv020.rotateY( Math.PI / 6 );
  532. pv020.rotateX( Math.PI / 12);
  533. pv020.name = "1B_15_30e_020_02";
  534. scene.add(pv020);
  535. setMessage("3D", "Loaded PV020.");
  536. createLabel("020");
  537. pv021 = new THREE.Mesh(
  538. new THREE.CubeGeometry( 4, 0.1,0.5),
  539. new THREE.MeshPhongMaterial( {
  540. color: 0xD3D3D3,
  541. specular: 0x050505,
  542. shininess: 100
  543. })
  544. );
  545. pv021.position.set(12, 0.5, 19);
  546. pv021.rotateY( Math.PI / 6 );
  547. pv021.rotateX( Math.PI / 12);
  548. pv021.name = "1D_15_30e_021_02";
  549. scene.add(pv021);
  550. setMessage("3D", "Loaded PV021.");
  551. createLabel("021");
  552. pv022 = new THREE.Mesh(
  553. new THREE.CubeGeometry( 4, 0.1,0.5),
  554. new THREE.MeshPhongMaterial( {
  555. color: 0xD3D3D3,
  556. specular: 0x050505,
  557. shininess: 100
  558. })
  559. );
  560. pv022.position.set(6, 0.5, 17);
  561. pv022.rotateY( Math.PI / 6 );
  562. pv022.rotateX( Math.PI / 12);
  563. pv022.name = "1C_15_30e_022_02";
  564. scene.add(pv022);
  565. setMessage("3D", "Loaded PV022.");
  566. createLabel("022");
  567. pv023 = new THREE.Mesh(
  568. new THREE.CubeGeometry( 4, 0.1,0.5),
  569. new THREE.MeshPhongMaterial( {
  570. color: 0xD3D3D3,
  571. specular: 0x050505,
  572. shininess: 100
  573. })
  574. );
  575. pv023.position.set(9, 0.5, 18);
  576. pv023.rotateY( Math.PI / 6 );
  577. pv023.rotateX( Math.PI / 12);
  578. pv023.name = "5A_15_30e_023_02";
  579. scene.add(pv023);
  580. setMessage("3D", "Loaded PV023.");
  581. createLabel("023");
  582. pv024 = new THREE.Mesh(
  583. new THREE.CubeGeometry( 4, 0.1,0.5),
  584. new THREE.MeshPhongMaterial( {
  585. color: 0xD3D3D3,
  586. specular: 0x050505,
  587. shininess: 100
  588. })
  589. );
  590. pv024.position.set(-16, 0.5, 24);
  591. pv024.rotateY( Math.PI / 6 );
  592. pv024.rotateX( Math.PI / 6);
  593. pv024.name = "6D_30_30e_024_02";
  594. scene.add(pv024);
  595. setMessage("3D", "Loaded PV024.");
  596. createLabel("024");
  597. pv025 = new THREE.Mesh(
  598. new THREE.CubeGeometry( 4, 0.1,0.5),
  599. new THREE.MeshPhongMaterial( {
  600. color: 0xD3D3D3,
  601. specular: 0x050505,
  602. shininess: 100
  603. })
  604. );
  605. pv025.position.set(-15, 0.5, 26);
  606. pv025.rotateY( Math.PI / 6 );
  607. pv025.rotateX( Math.PI / 6);
  608. pv025.name = "3D_30_30e_025_02";
  609. scene.add(pv025);
  610. setMessage("3D", "Loaded PV025.");
  611. createLabel("025");
  612. pv026 = new THREE.Mesh(
  613. new THREE.CubeGeometry( 4, 0.1,0.5),
  614. new THREE.MeshPhongMaterial( {
  615. color: 0xD3D3D3,
  616. specular: 0x050505,
  617. shininess: 100
  618. })
  619. );
  620. pv026.position.set(1.5, 0.5, -7.5);
  621. pv026.rotateY( Math.PI / 6 );
  622. pv026.rotateX( Math.PI / 4);
  623. pv026.name = "6A_45_30e_026_02";
  624. scene.add(pv026);
  625. setMessage("3D", "Loaded PV026.");
  626. createLabel("026");
  627. pv027 = new THREE.Mesh(
  628. new THREE.CubeGeometry( 4, 0.1,0.5),
  629. new THREE.MeshPhongMaterial( {
  630. color: 0xD3D3D3,
  631. specular: 0x050505,
  632. shininess: 100
  633. })
  634. );
  635. pv027.position.set(-3, 0.5, -8.5);
  636. pv027.rotateY( Math.PI / 6 );
  637. pv027.rotateX( Math.PI / 4);
  638. pv027.name = "3A_45_30e_027_02";
  639. scene.add(pv027);
  640. setMessage("3D", "Loaded PV027.");
  641. createLabel("027");
  642. pv028 = new THREE.Mesh(
  643. new THREE.CubeGeometry( 4, 0.1,0.5),
  644. new THREE.MeshPhongMaterial( {
  645. color: 0xD3D3D3,
  646. specular: 0x050505,
  647. shininess: 100
  648. })
  649. );
  650. pv028.position.set(3, 0.5, -4.5);
  651. pv028.rotateY( Math.PI / 6 );
  652. pv028.rotateX( Math.PI / 4);
  653. pv028.name = "1A_45_30e_028_02";
  654. scene.add(pv028);
  655. setMessage("3D", "Loaded PV028.");
  656. createLabel("028");
  657. pv029 = new THREE.Mesh(
  658. new THREE.CubeGeometry( 4, 0.1,0.5),
  659. new THREE.MeshPhongMaterial( {
  660. color: 0xD3D3D3,
  661. specular: 0x050505,
  662. shininess: 100
  663. })
  664. );
  665. pv029.position.set(3, 0.5, -25);
  666. pv029.rotateY( Math.PI / 6 );
  667. pv029.rotateX( Math.PI / 3);
  668. pv029.name = "6A_60_30e_029_02";
  669. scene.add(pv029);
  670. setMessage("3D", "Loaded PV029.");
  671. createLabel("029");
  672. pv030 = new THREE.Mesh(
  673. new THREE.CubeGeometry( 4, 0.1,0.5),
  674. new THREE.MeshPhongMaterial( {
  675. color: 0xD3D3D3,
  676. specular: 0x050505,
  677. shininess: 100
  678. })
  679. );
  680. pv030.position.set(1, 0.5, -13);
  681. pv030.rotateY( Math.PI / 6 );
  682. pv030.rotateX( Math.PI / 3);
  683. pv030.name = "3A_60_30e_030_02";
  684. scene.add(pv030);
  685. setMessage("3D", "Loaded PV030.");
  686. createLabel("030");
  687. pv031 = new THREE.Mesh(
  688. new THREE.CubeGeometry( 4, 0.1,0.5),
  689. new THREE.MeshPhongMaterial( {
  690. color: 0xD3D3D3,
  691. specular: 0x050505,
  692. shininess: 100
  693. })
  694. );
  695. pv031.position.set(0, 0.5, -16);
  696. pv031.rotateY( Math.PI / 6 );
  697. pv031.rotateX( Math.PI / 3);
  698. pv031.name = "1A_60_30e_031_02";
  699. scene.add(pv031);
  700. setMessage("3D", "Loaded PV031.");
  701. createLabel("031");
  702. pv032 = new THREE.Mesh(
  703. new THREE.CubeGeometry( 4, 0.1,0.5),
  704. new THREE.MeshPhongMaterial( {
  705. color: 0xD3D3D3,
  706. specular: 0x050505,
  707. shininess: 100
  708. })
  709. );
  710. pv032.position.set(7, 0.5, 10.5);
  711. pv032.rotateY( Math.PI / 12 );
  712. pv032.rotateX( Math.PI / 12);
  713. pv032.name = "3A_15_15e_032_02";
  714. scene.add(pv032);
  715. setMessage("3D", "Loaded PV032.");
  716. createLabel("032");
  717. pv033 = new THREE.Mesh(
  718. new THREE.CubeGeometry( 4, 0.1,0.5),
  719. new THREE.MeshPhongMaterial( {
  720. color: 0xD3D3D3,
  721. specular: 0x050505,
  722. shininess: 100
  723. })
  724. );
  725. pv033.position.set(-10, 0.5, 29.5);
  726. pv033.rotateY( Math.PI / 12 );
  727. pv033.rotateX( Math.PI / 12);
  728. pv033.name = "1B_15_15e_033_02";
  729. scene.add(pv033);
  730. setMessage("3D", "Loaded PV033.");
  731. createLabel("033");
  732. pv034 = new THREE.Mesh(
  733. new THREE.CubeGeometry( 4, 0.1,0.5),
  734. new THREE.MeshPhongMaterial( {
  735. color: 0xD3D3D3,
  736. specular: 0x050505,
  737. shininess: 100
  738. })
  739. );
  740. pv034.position.set(-11, 0.5, 31.5);
  741. pv034.rotateY( Math.PI / 12 );
  742. pv034.rotateX( Math.PI / 12);
  743. pv034.name = "4B_15_15e_034_02";
  744. scene.add(pv034);
  745. setMessage("3D", "Loaded PV034.");
  746. createLabel("034");
  747. pv035 = new THREE.Mesh(
  748. new THREE.CubeGeometry( 4, 0.1,0.5),
  749. new THREE.MeshPhongMaterial( {
  750. color: 0xD3D3D3,
  751. specular: 0x050505,
  752. shininess: 100
  753. })
  754. );
  755. pv035.position.set(-13, 0.5, 19);
  756. pv035.rotateY( Math.PI / 12 );
  757. pv035.rotateX( Math.PI / 6);
  758. pv035.name = "3A_30_15e_035_02";
  759. scene.add(pv035);
  760. setMessage("3D", "Loaded PV035.");
  761. createLabel("035");
  762. pv036 = new THREE.Mesh(
  763. new THREE.CubeGeometry( 4, 0.1,0.5),
  764. new THREE.MeshPhongMaterial( {
  765. color: 0xD3D3D3,
  766. specular: 0x050505,
  767. shininess: 100
  768. })
  769. );
  770. pv036.position.set(-13, 0.5, 21);
  771. pv036.rotateY( Math.PI / 12 );
  772. pv036.rotateX( Math.PI / 6);
  773. pv036.name = "1A_30_15e_036_02";
  774. scene.add(pv036);
  775. setMessage("3D", "Loaded PV036.");
  776. createLabel("036");
  777. pv037 = new THREE.Mesh(
  778. new THREE.CubeGeometry( 4, 0.1,0.5),
  779. new THREE.MeshPhongMaterial( {
  780. color: 0xD3D3D3,
  781. specular: 0x050505,
  782. shininess: 100
  783. })
  784. );
  785. pv037.position.set(-7, 0.5, 20);
  786. pv037.rotateY( Math.PI / 12 );
  787. pv037.rotateX( Math.PI / 6);
  788. pv037.name = "5A_30_15e_037_02";
  789. scene.add(pv037);
  790. setMessage("3D", "Loaded PV037.");
  791. createLabel("037");
  792. pv038 = new THREE.Mesh(
  793. new THREE.CubeGeometry( 4, 0.1,0.5),
  794. new THREE.MeshPhongMaterial( {
  795. color: 0xD3D3D3,
  796. specular: 0x050505,
  797. shininess: 100
  798. })
  799. );
  800. pv038.position.set(8, 0.5, -14);
  801. pv038.rotateY( Math.PI / 12 );
  802. pv038.rotateX( Math.PI / 4);
  803. pv038.name = "3A_45_15e_038_02";
  804. scene.add(pv038);
  805. setMessage("3D", "Loaded PV038.");
  806. createLabel("038");
  807. pv039 = new THREE.Mesh(
  808. new THREE.CubeGeometry( 4, 0.1,0.5),
  809. new THREE.MeshPhongMaterial( {
  810. color: 0xD3D3D3,
  811. specular: 0x050505,
  812. shininess: 100
  813. })
  814. );
  815. pv039.position.set(8, 0.5, -10);
  816. pv039.rotateY( Math.PI / 12 );
  817. pv039.rotateX( Math.PI / 4);
  818. pv039.name = "1A_45_15e_039_02";
  819. scene.add(pv039);
  820. setMessage("3D", "Loaded PV039.");
  821. createLabel("039");
  822. pv040 = new THREE.Mesh(
  823. new THREE.CubeGeometry( 4, 0.1,0.5),
  824. new THREE.MeshPhongMaterial( {
  825. color: 0xD3D3D3,
  826. specular: 0x050505,
  827. shininess: 100
  828. })
  829. );
  830. pv040.position.set(9, 0.5, -6.5);
  831. pv040.rotateY( Math.PI / 12 );
  832. pv040.rotateX( Math.PI / 4);
  833. pv040.name = "4A_45_15e_040_02";
  834. scene.add(pv040);
  835. setMessage("3D", "Loaded PV040.");
  836. createLabel("040");
  837. pv041 = new THREE.Mesh(
  838. new THREE.CubeGeometry( 4, 0.1,0.5),
  839. new THREE.MeshPhongMaterial( {
  840. color: 0xD3D3D3,
  841. specular: 0x050505,
  842. shininess: 100
  843. })
  844. );
  845. pv041.position.set(4, 0.5, -20.5);
  846. pv041.rotateY( Math.PI / 12 );
  847. pv041.rotateX( Math.PI / 3);
  848. pv041.name = "6A_60_15e_041_02";
  849. scene.add(pv041);
  850. setMessage("3D", "Loaded PV041.");
  851. createLabel("041");
  852. pv042 = new THREE.Mesh(
  853. new THREE.CubeGeometry( 4, 0.1,0.5),
  854. new THREE.MeshPhongMaterial( {
  855. color: 0xD3D3D3,
  856. specular: 0x050505,
  857. shininess: 100
  858. })
  859. );
  860. pv042.position.set(9, 0.5, -22);
  861. pv042.rotateY( Math.PI / 12 );
  862. pv042.rotateX( Math.PI / 3);
  863. pv042.name = "3A_60_15e_042_02";
  864. scene.add(pv042);
  865. setMessage("3D", "Loaded PV042.");
  866. createLabel("042");
  867. pv043 = new THREE.Mesh(
  868. new THREE.CubeGeometry( 4, 0.1,0.5),
  869. new THREE.MeshPhongMaterial( {
  870. color: 0xD3D3D3,
  871. specular: 0x050505,
  872. shininess: 100
  873. })
  874. );
  875. pv043.position.set(8, 0.5, -17.5);
  876. pv043.rotateY( Math.PI / 12 );
  877. pv043.rotateX( Math.PI / 3);
  878. pv043.name = "1A_60_15e_043_02";
  879. scene.add(pv043);
  880. setMessage("3D", "Loaded PV043.");
  881. createLabel("043");
  882. pv044 = new THREE.Mesh(
  883. new THREE.CubeGeometry( 4, 0.1,0.5),
  884. new THREE.MeshPhongMaterial( {
  885. color: 0xD3D3D3,
  886. specular: 0x050505,
  887. shininess: 100
  888. })
  889. );
  890. pv044.position.set(2, 0.5, 33);
  891. pv044.rotateY( Math.PI );
  892. pv044.rotateX( 11 * Math.PI / 12);
  893. pv044.name = "3B_15_00s_044_02";
  894. scene.add(pv044);
  895. setMessage("3D", "Loaded PV044.");
  896. createLabel("044");
  897. pv045 = new THREE.Mesh(
  898. new THREE.CubeGeometry( 4, 0.1,0.5),
  899. new THREE.MeshPhongMaterial( {
  900. color: 0xD3D3D3,
  901. specular: 0x050505,
  902. shininess: 100
  903. })
  904. );
  905. pv045.position.set(5, 0.5, 34.5);
  906. pv045.rotateY( Math.PI );
  907. pv045.rotateX( 11 * Math.PI / 12);
  908. pv045.name = "4B_15_00s_045_02";
  909. scene.add(pv045);
  910. setMessage("3D", "Loaded PV045.");
  911. createLabel("045");
  912. pv046 = new THREE.Mesh(
  913. new THREE.CubeGeometry( 4, 0.1,0.5),
  914. new THREE.MeshPhongMaterial( {
  915. color: 0xD3D3D3,
  916. specular: 0x050505,
  917. shininess: 100
  918. })
  919. );
  920. pv046.position.set(-1, 0.5, 35);
  921. pv046.rotateY( Math.PI );
  922. pv046.rotateX( 89 * Math.PI / 90);
  923. pv046.name = "6A_02_00s_046_02";
  924. scene.add(pv046);
  925. setMessage("3D", "Loaded PV046.");
  926. createLabel("046");
  927. pv047 = new THREE.Mesh(
  928. new THREE.CubeGeometry( 4, 0.1,0.5),
  929. new THREE.MeshPhongMaterial( {
  930. color: 0xD3D3D3,
  931. specular: 0x050505,
  932. shininess: 100
  933. })
  934. );
  935. pv047.position.set(3, 0.5, 36);
  936. pv047.rotateY( Math.PI );
  937. pv047.rotateX( 89 * Math.PI / 90);
  938. pv047.name = "2A_02_00s_047_02";
  939. scene.add(pv047);
  940. setMessage("3D", "Loaded PV047.");
  941. createLabel("047");
  942. pv048 = new THREE.Mesh(
  943. new THREE.CubeGeometry( 4, 0.1,0.5),
  944. new THREE.MeshPhongMaterial( {
  945. color: 0xD3D3D3,
  946. specular: 0x050505,
  947. shininess: 100
  948. })
  949. );
  950. pv048.position.set(6, 0.5, 37);
  951. pv048.rotateY( Math.PI );
  952. pv048.rotateX( 89 * Math.PI / 90);
  953. pv048.name = "1A_02_00s_048_02";
  954. scene.add(pv048);
  955. setMessage("3D", "Loaded PV048.");
  956. createLabel("048");
  957. pv049 = new THREE.Mesh(
  958. new THREE.CubeGeometry( 4, 0.1,0.5),
  959. new THREE.MeshPhongMaterial( {
  960. color: 0xD3D3D3,
  961. specular: 0x050505,
  962. shininess: 100
  963. })
  964. );
  965. pv049.position.set(-11, 0.5, 14);
  966. pv049.rotateY( Math.PI );
  967. pv049.rotateX( 5 * Math.PI / 6);
  968. pv049.name = "3C_30_00s_049_02";
  969. scene.add(pv049);
  970. setMessage("3D", "Loaded PV049.");
  971. createLabel("049");
  972. pv050 = new THREE.Mesh(
  973. new THREE.CubeGeometry( 4, 0.1,0.5),
  974. new THREE.MeshPhongMaterial( {
  975. color: 0xD3D3D3,
  976. specular: 0x050505,
  977. shininess: 100
  978. })
  979. );
  980. pv050.position.set(-10.5, 0.5, 11);
  981. pv050.rotateY( Math.PI );
  982. pv050.rotateX( 5 * Math.PI / 6);
  983. pv050.name = "1A_30_00s_050_02";
  984. scene.add(pv050);
  985. setMessage("3D", "Loaded PV050.");
  986. createLabel("050");
  987. pv051 = new THREE.Mesh(
  988. new THREE.CubeGeometry( 4, 0.1,0.5),
  989. new THREE.MeshPhongMaterial( {
  990. color: 0xD3D3D3,
  991. specular: 0x050505,
  992. shininess: 100
  993. })
  994. );
  995. pv051.position.set(8, 0.5, 7.5);
  996. pv051.rotateY( Math.PI );
  997. pv051.rotateX( 5 * Math.PI / 6);
  998. pv051.name = "1B_30_00s_051_02";
  999. scene.add(pv051);
  1000. setMessage("3D", "Loaded PV051.");
  1001. createLabel("051");
  1002. pv052 = new THREE.Mesh(
  1003. new THREE.CubeGeometry( 4, 0.1,0.5),
  1004. new THREE.MeshPhongMaterial( {
  1005. color: 0xD3D3D3,
  1006. specular: 0x050505,
  1007. shininess: 100
  1008. })
  1009. );
  1010. pv052.position.set(-10, 0.5, 8);
  1011. pv052.rotateY( Math.PI );
  1012. pv052.rotateX( 5 * Math.PI / 6);
  1013. pv052.name = "1D_30_00s_052_02";
  1014. scene.add(pv052);
  1015. setMessage("3D", "Loaded PV052.");
  1016. createLabel("052");
  1017. pv053 = new THREE.Mesh(
  1018. new THREE.CubeGeometry( 4, 0.1,0.5),
  1019. new THREE.MeshPhongMaterial( {
  1020. color: 0xD3D3D3,
  1021. specular: 0x050505,
  1022. shininess: 100
  1023. })
  1024. );
  1025. pv053.position.set(3, 0.5, 25);
  1026. pv053.rotateY( Math.PI );
  1027. pv053.rotateX( 5 * Math.PI / 6);
  1028. pv053.name = "1C_30_00s_053_02";
  1029. scene.add(pv053);
  1030. setMessage("3D", "Loaded PV053.");
  1031. createLabel("053");
  1032. pv054 = new THREE.Mesh(
  1033. new THREE.CubeGeometry( 4, 0.1,0.5),
  1034. new THREE.MeshPhongMaterial( {
  1035. color: 0xD3D3D3,
  1036. specular: 0x050505,
  1037. shininess: 100
  1038. })
  1039. );
  1040. pv054.position.set(2.5, 0.5, 28);
  1041. pv054.rotateY( Math.PI );
  1042. pv054.rotateX( 5 * Math.PI / 6);
  1043. pv054.name = "4D_30_00s_054_02";
  1044. scene.add(pv054);
  1045. setMessage("3D", "Loaded PV054.");
  1046. createLabel("054");
  1047. pv055 = new THREE.Mesh(
  1048. new THREE.CubeGeometry( 4, 0.1,0.5),
  1049. new THREE.MeshPhongMaterial( {
  1050. color: 0xD3D3D3,
  1051. specular: 0x050505,
  1052. shininess: 100
  1053. })
  1054. );
  1055. pv055.position.set(15, 0.5, -7);
  1056. pv055.rotateY( Math.PI );
  1057. pv055.rotateX( 3 * Math.PI / 4);
  1058. pv055.name = "3A_45_00s_055_02";
  1059. scene.add(pv055);
  1060. setMessage("3D", "Loaded PV055.");
  1061. createLabel("055");
  1062. pv056 = new THREE.Mesh(
  1063. new THREE.CubeGeometry( 4, 0.1,0.5),
  1064. new THREE.MeshPhongMaterial( {
  1065. color: 0xD3D3D3,
  1066. specular: 0x050505,
  1067. shininess: 100
  1068. })
  1069. );
  1070. pv056.position.set(15, 0.5, -11);
  1071. pv056.rotateY( Math.PI );
  1072. pv056.rotateX( 3 * Math.PI / 4);
  1073. pv056.name = "4A_45_00s_056_02";
  1074. scene.add(pv056);
  1075. setMessage("3D", "Loaded PV056.");
  1076. createLabel("056");
  1077. pv057 = new THREE.Mesh(
  1078. new THREE.CubeGeometry( 4, 0.1,0.5),
  1079. new THREE.MeshPhongMaterial( {
  1080. color: 0xD3D3D3,
  1081. specular: 0x050505,
  1082. shininess: 100
  1083. })
  1084. );
  1085. pv057.position.set(9, 0.5, -27.5);
  1086. pv057.rotateY( Math.PI );
  1087. pv057.rotateX( 2 * Math.PI / 3);
  1088. pv057.name = "6A_60_00s_057_02";
  1089. scene.add(pv057);
  1090. setMessage("3D", "Loaded PV057.");
  1091. createLabel("057");
  1092. pv058 = new THREE.Mesh(
  1093. new THREE.CubeGeometry( 4, 0.1,0.5),
  1094. new THREE.MeshPhongMaterial( {
  1095. color: 0xD3D3D3,
  1096. specular: 0x050505,
  1097. shininess: 100
  1098. })
  1099. );
  1100. pv058.position.set(0, 0.5, -30);
  1101. pv058.rotateY( Math.PI );
  1102. pv058.rotateX( 2 * Math.PI / 3);
  1103. pv058.name = "3A_60_00s_058_02";
  1104. scene.add(pv058);
  1105. setMessage("3D", "Loaded PV058.");
  1106. createLabel("058");
  1107. pv059 = new THREE.Mesh(
  1108. new THREE.CubeGeometry( 4, 0.1,0.5),
  1109. new THREE.MeshPhongMaterial( {
  1110. color: 0xD3D3D3,
  1111. specular: 0x050505,
  1112. shininess: 100
  1113. })
  1114. );
  1115. pv059.position.set(8, 0.5, 25.5);
  1116. pv059.rotateY( 11 * Math.PI / 12 );
  1117. pv059.rotateX( 11 * Math.PI / 12);
  1118. pv059.name = "3B_15_15w_059_02";
  1119. scene.add(pv059);
  1120. setMessage("3D", "Loaded PV059.");
  1121. createLabel("059");
  1122. pv060 = new THREE.Mesh(
  1123. new THREE.CubeGeometry( 4, 0.1,0.5),
  1124. new THREE.MeshPhongMaterial( {
  1125. color: 0xD3D3D3,
  1126. specular: 0x050505,
  1127. shininess: 100
  1128. })
  1129. );
  1130. pv060.position.set(2.5, 0.5, 31);
  1131. pv060.rotateY( 11 * Math.PI / 12 );
  1132. pv060.rotateX( 11 * Math.PI / 12);
  1133. pv060.name = "1B_15_15w_060_02";
  1134. scene.add(pv060);
  1135. setMessage("3D", "Loaded PV060.");
  1136. createLabel("060");
  1137. pv061 = new THREE.Mesh(
  1138. new THREE.CubeGeometry( 4, 0.1,0.5),
  1139. new THREE.MeshPhongMaterial( {
  1140. color: 0xD3D3D3,
  1141. specular: 0x050505,
  1142. shininess: 100
  1143. })
  1144. );
  1145. pv061.position.set(9.5, 0.5, 35.5);
  1146. pv061.rotateY( 11 * Math.PI / 12 );
  1147. pv061.rotateX( 11 * Math.PI / 12);
  1148. pv061.name = "4B_15_15w_061_02";
  1149. scene.add(pv061);
  1150. setMessage("3D", "Loaded PV061.");
  1151. createLabel("061");
  1152. pv062 = new THREE.Mesh(
  1153. new THREE.CubeGeometry( 4, 0.1,0.5),
  1154. new THREE.MeshPhongMaterial( {
  1155. color: 0xD3D3D3,
  1156. specular: 0x050505,
  1157. shininess: 100
  1158. })
  1159. );
  1160. pv062.position.set(8, 0.5, 22.15);
  1161. pv062.rotateY( 11 * Math.PI / 12 );
  1162. pv062.rotateX( 5 * Math.PI / 6);
  1163. pv062.name = "3A_30_15w_062_02";
  1164. scene.add(pv062);
  1165. setMessage("3D", "Loaded PV062.");
  1166. createLabel("062");
  1167. pv063 = new THREE.Mesh(
  1168. new THREE.CubeGeometry( 4, 0.1,0.5),
  1169. new THREE.MeshPhongMaterial( {
  1170. color: 0xD3D3D3,
  1171. specular: 0x050505,
  1172. shininess: 100
  1173. })
  1174. );
  1175. pv063.position.set(12.5, 0.5, 23.25);
  1176. pv063.rotateY( 11 * Math.PI / 12 );
  1177. pv063.rotateX( 5 * Math.PI / 6);
  1178. pv063.name = "1A_30_15w_063_02";
  1179. scene.add(pv063);
  1180. setMessage("3D", "Loaded PV063.");
  1181. createLabel("063");
  1182. pv064 = new THREE.Mesh(
  1183. new THREE.CubeGeometry( 4, 0.1,0.5),
  1184. new THREE.MeshPhongMaterial( {
  1185. color: 0xD3D3D3,
  1186. specular: 0x050505,
  1187. shininess: 100
  1188. })
  1189. );
  1190. pv064.position.set(3.5, 0.5, 21);
  1191. pv064.rotateY( 11 * Math.PI / 12 );
  1192. pv064.rotateX( 5 * Math.PI / 6);
  1193. pv064.name = "5A_30_15w_064_02";
  1194. scene.add(pv064);
  1195. setMessage("3D", "Loaded PV064.");
  1196. createLabel("064");
  1197. pv065 = new THREE.Mesh(
  1198. new THREE.CubeGeometry( 4, 0.1,0.5),
  1199. new THREE.MeshPhongMaterial( {
  1200. color: 0xD3D3D3,
  1201. specular: 0x050505,
  1202. shininess: 100
  1203. })
  1204. );
  1205. pv065.position.set(16, 0.5, -19);
  1206. pv065.rotateY( 11 * Math.PI / 12 );
  1207. pv065.rotateX( 3 * Math.PI / 4);
  1208. pv065.name = "3A_45_15w_065_02";
  1209. scene.add(pv065);
  1210. setMessage("3D", "Loaded PV065.");
  1211. createLabel("065");
  1212. pv066 = new THREE.Mesh(
  1213. new THREE.CubeGeometry( 4, 0.1,0.5),
  1214. new THREE.MeshPhongMaterial( {
  1215. color: 0xD3D3D3,
  1216. specular: 0x050505,
  1217. shininess: 100
  1218. })
  1219. );
  1220. pv066.position.set(17, 0.5, -22);
  1221. pv066.rotateY( 11 * Math.PI / 12 );
  1222. pv066.rotateX( 3 * Math.PI / 4);
  1223. pv066.name = "1A_45_15w_066_02";
  1224. scene.add(pv066);
  1225. setMessage("3D", "Loaded PV066.");
  1226. createLabel("066");
  1227. pv067 = new THREE.Mesh(
  1228. new THREE.CubeGeometry( 4, 0.1,0.5),
  1229. new THREE.MeshPhongMaterial( {
  1230. color: 0xD3D3D3,
  1231. specular: 0x050505,
  1232. shininess: 100
  1233. })
  1234. );
  1235. pv067.position.set(15, 0.5, -15);
  1236. pv067.rotateY( 11 * Math.PI / 12 );
  1237. pv067.rotateX( 3 * Math.PI / 4);
  1238. pv067.name = "4A_45_15w_067_02";
  1239. scene.add(pv067);
  1240. setMessage("3D", "Loaded PV067.");
  1241. createLabel("067");
  1242. pv068 = new THREE.Mesh(
  1243. new THREE.CubeGeometry( 4, 0.1,0.5),
  1244. new THREE.MeshPhongMaterial( {
  1245. color: 0xD3D3D3,
  1246. specular: 0x050505,
  1247. shininess: 100
  1248. })
  1249. );
  1250. pv068.position.set(15, 0.5, -27);
  1251. pv068.rotateY( 11 * Math.PI / 12 );
  1252. pv068.rotateX( 2 * Math.PI / 3);
  1253. pv068.name = "6A_60_15w_068_02";
  1254. scene.add(pv068);
  1255. setMessage("3D", "Loaded PV068.");
  1256. createLabel("068");
  1257. pv069 = new THREE.Mesh(
  1258. new THREE.CubeGeometry( 4, 0.1,0.5),
  1259. new THREE.MeshPhongMaterial( {
  1260. color: 0xD3D3D3,
  1261. specular: 0x050505,
  1262. shininess: 100
  1263. })
  1264. );
  1265. pv069.position.set(20, 0.5, -25.75);
  1266. pv069.rotateY( 11 * Math.PI / 12 );
  1267. pv069.rotateX( 2 * Math.PI / 3);
  1268. pv069.name = "3A_60_15w_069_02";
  1269. scene.add(pv069);
  1270. setMessage("3D", "Loaded PV069.");
  1271. createLabel("069");
  1272. pv070 = new THREE.Mesh(
  1273. new THREE.CubeGeometry( 4, 0.1,0.5),
  1274. new THREE.MeshPhongMaterial( {
  1275. color: 0xD3D3D3,
  1276. specular: 0x050505,
  1277. shininess: 100
  1278. })
  1279. );
  1280. pv070.position.set(25, 0.5, -24.5);
  1281. pv070.rotateY( 11 * Math.PI / 12 );
  1282. pv070.rotateX( 2 * Math.PI / 3);
  1283. pv070.name = "1A_60_15w_070_02";
  1284. scene.add(pv070);
  1285. setMessage("3D", "Loaded PV070.");
  1286. createLabel("070");
  1287. pv071 = new THREE.Mesh(
  1288. new THREE.CubeGeometry( 4, 0.1,0.5),
  1289. new THREE.MeshPhongMaterial( {
  1290. color: 0xD3D3D3,
  1291. specular: 0x050505,
  1292. shininess: 100
  1293. })
  1294. );
  1295. pv071.position.set(17, 0.5, 25);
  1296. pv071.rotateY( 11 * Math.PI / 6 );
  1297. pv071.rotateX( Math.PI / 12);
  1298. pv071.name = "3A_15_30w_071_02";
  1299. scene.add(pv071);
  1300. setMessage("3D", "Loaded PV071.");
  1301. createLabel("071");
  1302. pv072 = new THREE.Mesh(
  1303. new THREE.CubeGeometry( 4, 0.1,0.5),
  1304. new THREE.MeshPhongMaterial( {
  1305. color: 0xD3D3D3,
  1306. specular: 0x050505,
  1307. shininess: 100
  1308. })
  1309. );
  1310. pv072.position.set(6.75, 0.5, 32.5);
  1311. pv072.rotateY( 11 * Math.PI / 6 );
  1312. pv072.rotateX( Math.PI / 12);
  1313. pv072.name = "1A_15_30w_072_02";
  1314. scene.add(pv072);
  1315. setMessage("3D", "Loaded PV072.");
  1316. createLabel("072");
  1317. pv073 = new THREE.Mesh(
  1318. new THREE.CubeGeometry( 4, 0.1,0.5),
  1319. new THREE.MeshPhongMaterial( {
  1320. color: 0xD3D3D3,
  1321. specular: 0x050505,
  1322. shininess: 100
  1323. })
  1324. );
  1325. pv073.position.set(10.5, 0.5, 38.25);
  1326. pv073.rotateY( 11 * Math.PI / 6 );
  1327. pv073.rotateX( Math.PI / 12);
  1328. pv073.name = "1B_15_30w_073_02";
  1329. scene.add(pv073);
  1330. setMessage("3D", "Loaded PV073.");
  1331. createLabel("073");
  1332. pv074 = new THREE.Mesh(
  1333. new THREE.CubeGeometry( 4, 0.1,0.5),
  1334. new THREE.MeshPhongMaterial( {
  1335. color: 0xD3D3D3,
  1336. specular: 0x050505,
  1337. shininess: 100
  1338. })
  1339. );
  1340. pv074.position.set(12.5, 0.5, 27.5);
  1341. pv074.rotateY( 11 * Math.PI / 6 );
  1342. pv074.rotateX( Math.PI / 12);
  1343. pv074.name = "1D_15_30w_074_02";
  1344. scene.add(pv074);
  1345. setMessage("3D", "Loaded PV074.");
  1346. createLabel("074");
  1347. pv075 = new THREE.Mesh(
  1348. new THREE.CubeGeometry( 4, 0.1,0.5),
  1349. new THREE.MeshPhongMaterial( {
  1350. color: 0xD3D3D3,
  1351. specular: 0x050505,
  1352. shininess: 100
  1353. })
  1354. );
  1355. pv075.position.set(7.5, 0.5, 29.5);
  1356. pv075.rotateY( 11 * Math.PI / 6 );
  1357. pv075.rotateX( Math.PI / 12);
  1358. pv075.name = "1C_15_30w_075_02";
  1359. scene.add(pv075);
  1360. createLabel("075");
  1361. pv076 = new THREE.Mesh(
  1362. new THREE.CubeGeometry( 4, 0.1,0.5),
  1363. new THREE.MeshPhongMaterial( {
  1364. color: 0xD3D3D3,
  1365. specular: 0x050505,
  1366. shininess: 100
  1367. })
  1368. );
  1369. pv076.position.set(11, 0.5, 33.5);
  1370. pv076.rotateY( 11 * Math.PI / 6 );
  1371. pv076.rotateX( Math.PI / 12);
  1372. pv076.name = "5D_15_30w_076_02";
  1373. scene.add(pv076);
  1374. setMessage("3D", "Loaded PV076.");
  1375. createLabel("076");
  1376. pv077 = new THREE.Mesh(
  1377. new THREE.CubeGeometry( 4, 0.1,0.5),
  1378. new THREE.MeshPhongMaterial( {
  1379. color: 0xD3D3D3,
  1380. specular: 0x050505,
  1381. shininess: 100
  1382. })
  1383. );
  1384. pv077.position.set(13, 0.5, 12);
  1385. pv077.rotateY( 11 * Math.PI / 6 );
  1386. pv077.rotateX( Math.PI / 6);
  1387. pv077.name = "6D_30_30w_077_02";
  1388. scene.add(pv077);
  1389. setMessage("3D", "Loaded PV077.");
  1390. createLabel("077");
  1391. pv078 = new THREE.Mesh(
  1392. new THREE.CubeGeometry( 4, 0.1,0.5),
  1393. new THREE.MeshPhongMaterial( {
  1394. color: 0xD3D3D3,
  1395. specular: 0x050505,
  1396. shininess: 100
  1397. })
  1398. );
  1399. pv078.position.set(12, 0.5, 15);
  1400. pv078.rotateY( 11 * Math.PI / 6 );
  1401. pv078.rotateX( Math.PI / 6);
  1402. pv078.name = "3D_30_30w_078_02";
  1403. scene.add(pv078);
  1404. setMessage("3D", "Loaded PV078.");
  1405. createLabel("078");
  1406. pv079 = new THREE.Mesh(
  1407. new THREE.CubeGeometry( 4, 0.1,0.5),
  1408. new THREE.MeshPhongMaterial( {
  1409. color: 0xD3D3D3,
  1410. specular: 0x050505,
  1411. shininess: 100
  1412. })
  1413. );
  1414. pv079.position.set(14, 0.5, 9);
  1415. pv079.rotateY( 11 * Math.PI / 6 );
  1416. pv079.rotateX( Math.PI / 6);
  1417. pv079.name = "1D_30_30w_079_02";
  1418. scene.add(pv079);
  1419. setMessage("3D", "Loaded PV079.");
  1420. createLabel("079");
  1421. pv080 = new THREE.Mesh(
  1422. new THREE.CubeGeometry( 4, 0.1,0.5),
  1423. new THREE.MeshPhongMaterial( {
  1424. color: 0xD3D3D3,
  1425. specular: 0x050505,
  1426. shininess: 100
  1427. })
  1428. );
  1429. pv080.position.set(20, 0.5, -4);
  1430. pv080.rotateY( 11 * Math.PI / 6 );
  1431. pv080.rotateX( Math.PI / 4);
  1432. pv080.name = "3A_45_30w_080_02";
  1433. scene.add(pv080);
  1434. setMessage("3D", "Loaded PV080.");
  1435. createLabel("080");
  1436. pv081 = new THREE.Mesh(
  1437. new THREE.CubeGeometry( 4, 0.1,0.5),
  1438. new THREE.MeshPhongMaterial( {
  1439. color: 0xD3D3D3,
  1440. specular: 0x050505,
  1441. shininess: 100
  1442. })
  1443. );
  1444. pv081.position.set(21, 0.5, -7);
  1445. pv081.rotateY( 11 * Math.PI / 6 );
  1446. pv081.rotateX( Math.PI / 4);
  1447. pv081.name = "1A_45_30w_081_02";
  1448. scene.add(pv081);
  1449. setMessage("3D", "Loaded PV081.");
  1450. createLabel("081");
  1451. pv082 = new THREE.Mesh(
  1452. new THREE.CubeGeometry( 4, 0.1,0.5),
  1453. new THREE.MeshPhongMaterial( {
  1454. color: 0xD3D3D3,
  1455. specular: 0x050505,
  1456. shininess: 100
  1457. })
  1458. );
  1459. pv082.position.set(21.5, 0.5, -11);
  1460. pv082.rotateY( 11 * Math.PI / 6 );
  1461. pv082.rotateX( Math.PI / 4);
  1462. pv082.name = "5A_45_30w_082_02";
  1463. scene.add(pv082);
  1464. setMessage("3D", "Loaded PV082.");
  1465. createLabel("082");
  1466. pv083 = new THREE.Mesh(
  1467. new THREE.CubeGeometry( 4, 0.1,0.5),
  1468. new THREE.MeshPhongMaterial( {
  1469. color: 0xD3D3D3,
  1470. specular: 0x050505,
  1471. shininess: 100
  1472. })
  1473. );
  1474. pv083.position.set(24, 0.5, -21);
  1475. pv083.rotateY( 11 * Math.PI / 6 );
  1476. pv083.rotateX( Math.PI / 3);
  1477. pv083.name = "6A_60_30w_083_02";
  1478. scene.add(pv083);
  1479. setMessage("3D", "Loaded PV083.");
  1480. createLabel("083");
  1481. pv084 = new THREE.Mesh(
  1482. new THREE.CubeGeometry( 4, 0.1,0.5),
  1483. new THREE.MeshPhongMaterial( {
  1484. color: 0xD3D3D3,
  1485. specular: 0x050505,
  1486. shininess: 100
  1487. })
  1488. );
  1489. pv084.position.set(23, 0.5, -18);
  1490. pv084.rotateY( 11 * Math.PI / 6 );
  1491. pv084.rotateX( Math.PI / 3);
  1492. pv084.name = "3A_60_30w_084_02";
  1493. scene.add(pv084);
  1494. setMessage("3D", "Loaded PV084.");
  1495. createLabel("084");
  1496. pv085 = new THREE.Mesh(
  1497. new THREE.CubeGeometry( 4, 0.1,0.5),
  1498. new THREE.MeshPhongMaterial( {
  1499. color: 0xD3D3D3,
  1500. specular: 0x050505,
  1501. shininess: 100
  1502. })
  1503. );
  1504. pv085.position.set(23, 0.5, -14);
  1505. pv085.rotateY( 11 * Math.PI / 6 );
  1506. pv085.rotateX( Math.PI / 3);
  1507. pv085.name = "1A_60_30w_085_02";
  1508. scene.add(pv085);
  1509. setMessage("3D", "Loaded PV085.");
  1510. createLabel("085");
  1511. pv086 = new THREE.Mesh(
  1512. new THREE.CubeGeometry( 4, 0.1,0.5),
  1513. new THREE.MeshPhongMaterial( {
  1514. color: 0xD3D3D3,
  1515. specular: 0x050505,
  1516. shininess: 100
  1517. })
  1518. );
  1519. pv086.position.set(12, 0.5, 30.5);
  1520. pv086.rotateY( 7 * Math.PI / 4 );
  1521. pv086.rotateX( Math.PI / 12);
  1522. pv086.name = "2A_15_45w_086_02";
  1523. scene.add(pv086);
  1524. setMessage("3D", "Loaded PV086.");
  1525. createLabel("086");
  1526. pv087 = new THREE.Mesh(
  1527. new THREE.CubeGeometry( 4, 0.1,0.5),
  1528. new THREE.MeshPhongMaterial( {
  1529. color: 0xD3D3D3,
  1530. specular: 0x050505,
  1531. shininess: 100
  1532. })
  1533. );
  1534. pv087.position.set(16, 0.5, 30.5);
  1535. pv087.rotateY( 7 * Math.PI / 4 );
  1536. pv087.rotateX( Math.PI / 12);
  1537. pv087.name = "1A_15_45w_087_02";
  1538. scene.add(pv087);
  1539. setMessage("3D", "Loaded PV087.");
  1540. createLabel("087");
  1541. pv088 = new THREE.Mesh(
  1542. new THREE.CubeGeometry( 4, 0.1,0.5),
  1543. new THREE.MeshPhongMaterial( {
  1544. color: 0xD3D3D3,
  1545. specular: 0x050505,
  1546. shininess: 100
  1547. })
  1548. );
  1549. pv088.position.set(17, 0.5, 27.5);
  1550. pv088.rotateY( 7 * Math.PI / 4 );
  1551. pv088.rotateX( Math.PI / 12);
  1552. pv088.name = "4A_15_45w_088_02";
  1553. scene.add(pv088);
  1554. setMessage("3D", "Loaded PV088.");
  1555. createLabel("088");
  1556. pv089 = new THREE.Mesh(
  1557. new THREE.CubeGeometry( 4, 0.1,0.5),
  1558. new THREE.MeshPhongMaterial( {
  1559. color: 0xD3D3D3,
  1560. specular: 0x050505,
  1561. shininess: 100
  1562. })
  1563. );
  1564. pv089.position.set(20, 0.5, 11);
  1565. pv089.rotateY( 7 * Math.PI / 4 );
  1566. pv089.rotateX( Math.PI / 6);
  1567. pv089.name = "6A_30_45w_089_02";
  1568. scene.add(pv089);
  1569. setMessage("3D", "Loaded PV089.");
  1570. createLabel("089");
  1571. pv090 = new THREE.Mesh(
  1572. new THREE.CubeGeometry( 4, 0.1,0.5),
  1573. new THREE.MeshPhongMaterial( {
  1574. color: 0xD3D3D3,
  1575. specular: 0x050505,
  1576. shininess: 100
  1577. })
  1578. );
  1579. pv090.position.set(19, 0.5, 14);
  1580. pv090.rotateY( 7 * Math.PI / 4 );
  1581. pv090.rotateX( Math.PI / 6);
  1582. pv090.name = "2A_30_45w_090_02";
  1583. scene.add(pv090);
  1584. setMessage("3D", "Loaded PV090.");
  1585. createLabel("090");
  1586. pv091 = new THREE.Mesh(
  1587. new THREE.CubeGeometry( 4, 0.1,0.5),
  1588. new THREE.MeshPhongMaterial( {
  1589. color: 0xD3D3D3,
  1590. specular: 0x050505,
  1591. shininess: 100
  1592. })
  1593. );
  1594. pv091.position.set(29, 0.5, -14);
  1595. pv091.rotateY( 7 * Math.PI / 4 );
  1596. pv091.rotateX( Math.PI / 4);
  1597. pv091.name = "2C_45_45w_091_02";
  1598. scene.add(pv091);
  1599. setMessage("3D", "Loaded PV091.");
  1600. createLabel("091");
  1601. pv092 = new THREE.Mesh(
  1602. new THREE.CubeGeometry( 4, 0.1,0.5),
  1603. new THREE.MeshPhongMaterial( {
  1604. color: 0xD3D3D3,
  1605. specular: 0x050505,
  1606. shininess: 100
  1607. })
  1608. );
  1609. pv092.position.set(23, 0.5, 7);
  1610. pv092.rotateY( 7 * Math.PI / 4 );
  1611. pv092.rotateX( Math.PI / 4);
  1612. pv092.name = "4C_45_45w_092_02";
  1613. scene.add(pv092);
  1614. setMessage("3D", "Loaded PV092.");
  1615. createLabel("092");
  1616. pv093 = new THREE.Mesh(
  1617. new THREE.CubeGeometry( 4, 0.1,0.5),
  1618. new THREE.MeshPhongMaterial( {
  1619. color: 0xD3D3D3,
  1620. specular: 0x050505,
  1621. shininess: 100
  1622. })
  1623. );
  1624. pv093.position.set(30, 0.5, -18);
  1625. pv093.rotateY( 7 * Math.PI / 4 );
  1626. pv093.rotateX( Math.PI / 3);
  1627. pv093.name = "6A_60_45w_093_02";
  1628. scene.add(pv093);
  1629. setMessage("3D", "Loaded PV093.");
  1630. createLabel("093");
  1631. pv094 = new THREE.Mesh(
  1632. new THREE.CubeGeometry( 4, 0.1,0.5),
  1633. new THREE.MeshPhongMaterial( {
  1634. color: 0xD3D3D3,
  1635. specular: 0x050505,
  1636. shininess: 100
  1637. })
  1638. );
  1639. pv094.position.set(30, 0.5, -22);
  1640. pv094.rotateY( 7 * Math.PI / 4 );
  1641. pv094.rotateX( Math.PI / 3);
  1642. pv094.name = "2A_60_45w_094_02";
  1643. scene.add(pv094);
  1644. setMessage("3D", "Loaded PV094.");
  1645. createLabel("094");
  1646. pv095 = new THREE.Mesh(
  1647. new THREE.CubeGeometry( 4, 0.1,0.5),
  1648. new THREE.MeshPhongMaterial( {
  1649. color: 0xD3D3D3,
  1650. specular: 0x050505,
  1651. shininess: 100
  1652. })
  1653. );
  1654. pv095.position.set(15, 0.5, 34);
  1655. pv095.rotateY( 5 * Math.PI / 3);
  1656. pv095.rotateX( Math.PI / 12);
  1657. pv095.name = "6A_15_60w_095_02";
  1658. scene.add(pv095);
  1659. setMessage("3D", "Loaded PV095.");
  1660. createLabel("095");
  1661. pv096 = new THREE.Mesh(
  1662. new THREE.CubeGeometry( 4, 0.1,0.5),
  1663. new THREE.MeshPhongMaterial( {
  1664. color: 0xD3D3D3,
  1665. specular: 0x050505,
  1666. shininess: 100
  1667. })
  1668. );
  1669. pv096.position.set(14, 0.5, 37);
  1670. pv096.rotateY( 5 * Math.PI / 3);
  1671. pv096.rotateX( Math.PI / 12);
  1672. pv096.name = "2A_15_60w_096_02";
  1673. scene.add(pv096);
  1674. setMessage("3D", "Loaded PV096.");
  1675. createLabel("096");
  1676. pv097 = new THREE.Mesh(
  1677. new THREE.CubeGeometry( 4, 0.1,0.5),
  1678. new THREE.MeshPhongMaterial( {
  1679. color: 0xD3D3D3,
  1680. specular: 0x050505,
  1681. shininess: 100
  1682. })
  1683. );
  1684. pv097.position.set(16, 0.5, 20);
  1685. pv097.rotateY( 5 * Math.PI / 3);
  1686. pv097.rotateX( Math.PI / 6);
  1687. pv097.name = "6A_30_60w_097_02";
  1688. scene.add(pv097);
  1689. setMessage("3D", "Loaded PV097.");
  1690. createLabel("097");
  1691. pv098 = new THREE.Mesh(
  1692. new THREE.CubeGeometry( 4, 0.1,0.5),
  1693. new THREE.MeshPhongMaterial( {
  1694. color: 0xD3D3D3,
  1695. specular: 0x050505,
  1696. shininess: 100
  1697. })
  1698. );
  1699. pv098.position.set(17, 0.5, 17);
  1700. pv098.rotateY( 5 * Math.PI / 3);
  1701. pv098.rotateX( Math.PI / 6);
  1702. pv098.name = "1A_30_60w_098_02";
  1703. scene.add(pv098);
  1704. setMessage("3D", "Loaded PV098.");
  1705. createLabel("098");
  1706. pv099 = new THREE.Mesh(
  1707. new THREE.CubeGeometry( 4, 0.1,0.5),
  1708. new THREE.MeshPhongMaterial( {
  1709. color: 0xD3D3D3,
  1710. specular: 0x050505,
  1711. shininess: 100
  1712. })
  1713. );
  1714. pv099.position.set(25, 0.5, -1);
  1715. pv099.rotateY( 5 * Math.PI / 3);
  1716. pv099.rotateX( Math.PI / 4);
  1717. pv099.name = "6A_45_60w_099_02";
  1718. scene.add(pv099);
  1719. setMessage("3D", "Loaded PV099.");
  1720. createLabel("099");
  1721. pv100 = new THREE.Mesh(
  1722. new THREE.CubeGeometry( 4, 0.1,0.5),
  1723. new THREE.MeshPhongMaterial( {
  1724. color: 0xD3D3D3,
  1725. specular: 0x050505,
  1726. shininess: 100
  1727. })
  1728. );
  1729. pv100.position.set(22, 0.5, 2);
  1730. pv100.rotateY( 5 * Math.PI / 3);
  1731. pv100.rotateX( Math.PI / 4);
  1732. pv100.name = "1A_45_60w_100_02";
  1733. scene.add(pv100);
  1734. setMessage("3D", "Loaded PV100.");
  1735. createLabel("100");
  1736. pv101 = new THREE.Mesh(
  1737. new THREE.CubeGeometry( 4, 0.1,0.5),
  1738. new THREE.MeshPhongMaterial( {
  1739. color: 0xD3D3D3,
  1740. specular: 0x050505,
  1741. shininess: 100
  1742. })
  1743. );
  1744. pv101.position.set(28, 0.5, -10);
  1745. pv101.rotateY( 5 * Math.PI / 3);
  1746. pv101.rotateX( Math.PI / 3);
  1747. pv101.name = "2C_60_60w_101_02";
  1748. scene.add(pv101);
  1749. setMessage("3D", "Loaded PV101.");
  1750. createLabel("101");
  1751. pv102 = new THREE.Mesh(
  1752. new THREE.CubeGeometry( 4, 0.1,0.5),
  1753. new THREE.MeshPhongMaterial( {
  1754. color: 0xD3D3D3,
  1755. specular: 0x050505,
  1756. shininess: 100
  1757. })
  1758. );
  1759. pv102.position.set(26, 0.5, -6);
  1760. pv102.rotateY( 5 * Math.PI / 3);
  1761. pv102.rotateX( Math.PI / 3);
  1762. pv102.name = "1C_60_60w_102_02";
  1763. scene.add(pv102);
  1764. setMessage("3D", "Loaded PV102.");
  1765. createLabel("102");
  1766. /* --------------------------------------------------- */
  1767. pv001a = new THREE.Mesh(
  1768. new THREE.CubeGeometry( 4, 0.1,0.5),
  1769. new THREE.MeshPhongMaterial( {
  1770. color: 0xD3D3D3,
  1771. specular: 0x050505,
  1772. shininess: 100
  1773. })
  1774. );
  1775. pv001a.position.set(-18.418, 0.6, 28.758);
  1776. pv001a.rotateY( Math.PI / 3 );
  1777. pv001a.rotateX( Math.PI / 12);
  1778. pv001a.name = "2A_15_60e_001_01";
  1779. scene.add(pv001a);
  1780. pv002a = new THREE.Mesh(
  1781. new THREE.CubeGeometry( 4, 0.1,0.5),
  1782. new THREE.MeshPhongMaterial( {
  1783. color: 0xD3D3D3,
  1784. specular: 0x050505,
  1785. shininess: 100
  1786. })
  1787. );
  1788. pv002a.position.set(-14.418, 0.6, 29.758);
  1789. pv002a.rotateY( Math.PI / 3 );
  1790. pv002a.rotateX( Math.PI / 12);
  1791. pv002a.name = "5A_15_60e_002_01";
  1792. scene.add(pv002a);
  1793. pv003a = new THREE.Mesh(
  1794. new THREE.CubeGeometry( 4, 0.1,0.5),
  1795. new THREE.MeshPhongMaterial( {
  1796. color: 0xD3D3D3,
  1797. specular: 0x050505,
  1798. shininess: 100
  1799. })
  1800. );
  1801. //pv003.position.set(9.5, 0.5, 2);
  1802. pv003a.position.set(9.125, 0.7, 1.783);
  1803. pv003a.rotateY( Math.PI / 3 );
  1804. pv003a.rotateX( Math.PI / 6);
  1805. pv003a.name = "6A_30_60e_003_01";
  1806. scene.add(pv003a);
  1807. pv004a = new THREE.Mesh(
  1808. new THREE.CubeGeometry( 4, 0.1,0.5),
  1809. new THREE.MeshPhongMaterial( {
  1810. color: 0xD3D3D3,
  1811. specular: 0x050505,
  1812. shininess: 100
  1813. })
  1814. );
  1815. //pv004.position.set(6, 0.5, 1);
  1816. pv004a.position.set(5.625, 0.7, 0.783);
  1817. pv004a.rotateY( Math.PI / 3 );
  1818. pv004a.rotateX( Math.PI / 6);
  1819. pv004a.name = "1A_30_60e_004_01";
  1820. scene.add(pv004a);
  1821. pv005a = new THREE.Mesh(
  1822. new THREE.CubeGeometry(4, 0.1, 0.5),
  1823. new THREE.MeshPhongMaterial( {
  1824. color: 0xD3D3D3,
  1825. specular: 0x050505,
  1826. shininess: 100
  1827. })
  1828. );
  1829. //pv005a.position.set(-8, 0.5, -3);
  1830. pv005a.position.set(-8.375, 0.8, -3.216);
  1831. pv005a.rotateY( Math.PI / 3 );
  1832. pv005a.rotateX( Math.PI / 4);
  1833. pv005a.name = "6A_45_60e_005_01";
  1834. scene.add(pv005a);
  1835. pv006a = new THREE.Mesh(
  1836. new THREE.CubeGeometry( 4, 0.1,0.5),
  1837. new THREE.MeshPhongMaterial( {
  1838. color: 0xD3D3D3,
  1839. specular: 0x050505,
  1840. shininess: 100
  1841. })
  1842. );
  1843. //pv006a.position.set(-4.5, 0.5, -2);
  1844. pv006a.position.set(-4.806, 0.8, -2.177);
  1845. pv006a.rotateY( Math.PI / 3 );
  1846. pv006a.rotateX( Math.PI / 4);
  1847. pv006a.name = "1A_45_60e_006_01";
  1848. scene.add(pv006a);
  1849. pv007a = new THREE.Mesh(
  1850. new THREE.CubeGeometry( 4, 0.1,0.5),
  1851. new THREE.MeshPhongMaterial( {
  1852. color: 0xD3D3D3,
  1853. specular: 0x050505,
  1854. shininess: 100
  1855. })
  1856. );
  1857. //pv007a.position.set(-5, 0.5, -16);
  1858. pv007a.position.set(-5.216, 0.9, -16.125);
  1859. pv007a.rotateY( Math.PI / 3 );
  1860. pv007a.rotateX( Math.PI / 3);
  1861. pv007a.name = "6C_60_60e_007_01";
  1862. scene.add(pv007a);
  1863. pv008a = new THREE.Mesh(
  1864. new THREE.CubeGeometry( 4, 0.1,0.5),
  1865. new THREE.MeshPhongMaterial( {
  1866. color: 0xD3D3D3,
  1867. specular: 0x050505,
  1868. shininess: 100
  1869. })
  1870. );
  1871. //pv008a.position.set(-7, 0.5, -9);
  1872. pv008a.position.set(-7.216, 0.9, -9.125);
  1873. pv008a.rotateY( Math.PI / 3 );
  1874. pv008a.rotateX( Math.PI / 3);
  1875. pv008a.name = "1C_60_60e_008_01";
  1876. scene.add(pv008a);
  1877. pv009a = new THREE.Mesh(
  1878. new THREE.CubeGeometry( 4, 0.1,0.5),
  1879. new THREE.MeshPhongMaterial( {
  1880. color: 0xD3D3D3,
  1881. specular: 0x050505,
  1882. shininess: 100
  1883. })
  1884. );
  1885. //pv009a.position.set(13, 0.5, 3);
  1886. pv009a.position.set(12.658, 0.6, 2.658);
  1887. pv009a.rotateY( Math.PI / 4 );
  1888. pv009a.rotateX( Math.PI / 12);
  1889. pv009a.name = "2A_15_45e_009_01";
  1890. scene.add(pv009a);
  1891. pv010a = new THREE.Mesh(
  1892. new THREE.CubeGeometry( 4, 0.1,0.5),
  1893. new THREE.MeshPhongMaterial( {
  1894. color: 0xD3D3D3,
  1895. specular: 0x050505,
  1896. shininess: 100
  1897. })
  1898. );
  1899. pv010a.position.set(17.658, 0.6, 3.658);
  1900. pv010a.rotateY( Math.PI / 4 );
  1901. pv010a.rotateX( Math.PI / 12);
  1902. pv010a.name = "1A_15_45e_010_01";
  1903. scene.add(pv010a);
  1904. pv011a = new THREE.Mesh(
  1905. new THREE.CubeGeometry( 4, 0.1,0.5),
  1906. new THREE.MeshPhongMaterial( {
  1907. color: 0xD3D3D3,
  1908. specular: 0x050505,
  1909. shininess: 100
  1910. })
  1911. );
  1912. //pv011a.position.set(3.5, 0.5, -0.5);
  1913. pv011a.position.set(3.158, 0.6, -0.841);
  1914. pv011a.rotateY( Math.PI / 4 );
  1915. pv011a.rotateX( Math.PI / 12);
  1916. pv011a.name = "4A_15_45e_011_01";
  1917. scene.add(pv011a);
  1918. pv012a = new THREE.Mesh(
  1919. new THREE.CubeGeometry( 4, 0.1,0.5),
  1920. new THREE.MeshPhongMaterial( {
  1921. color: 0xD3D3D3,
  1922. specular: 0x050505,
  1923. shininess: 100
  1924. })
  1925. );
  1926. //pv012a.position.set(17, 0.5, -1);
  1927. pv012a.position.set(16.693, 0.7, -1.306);
  1928. pv012a.rotateY( Math.PI / 4 );
  1929. pv012a.rotateX( Math.PI / 6);
  1930. pv012a.name = "6A_30_45e_012_01";
  1931. scene.add(pv012a);
  1932. pv013a = new THREE.Mesh(
  1933. new THREE.CubeGeometry( 4, 0.1,0.5),
  1934. new THREE.MeshPhongMaterial( {
  1935. color: 0xD3D3D3,
  1936. specular: 0x050505,
  1937. shininess: 100
  1938. })
  1939. );
  1940. //pv013a.position.set(-2, 0.5, -1);
  1941. pv013a.position.set(-2.306, 0.7, -1.306);
  1942. pv013a.rotateY( Math.PI / 4 );
  1943. pv013a.rotateX( Math.PI / 6);
  1944. pv013a.name = "2A_30_45e_013_01";
  1945. scene.add(pv013a);
  1946. pv014a = new THREE.Mesh(
  1947. new THREE.CubeGeometry( 4, 0.1,0.5),
  1948. new THREE.MeshPhongMaterial( {
  1949. color: 0xD3D3D3,
  1950. specular: 0x050505,
  1951. shininess: 100
  1952. })
  1953. );
  1954. //pv014a.position.set(9, 0.5, -3);
  1955. pv014a.position.set(8.75, 0.8, -3.25);
  1956. pv014a.rotateY( Math.PI / 4 );
  1957. pv014a.rotateX( Math.PI / 4);
  1958. pv014a.name = "2A_45_45e_014_01";
  1959. scene.add(pv014a);
  1960. pv015a = new THREE.Mesh(
  1961. new THREE.CubeGeometry(4, 0.1,0.5),
  1962. new THREE.MeshPhongMaterial({
  1963. color: 0xD3D3D3,
  1964. specular: 0x050505,
  1965. shininess: 100
  1966. })
  1967. );
  1968. //pv015a.position.set(12.5, 0.5, -2);
  1969. pv015a.position.set(12.25, 0.8, -2.25);
  1970. pv015a.rotateY( Math.PI / 4 );
  1971. pv015a.rotateX( Math.PI / 4);
  1972. pv015a.name = "4A_45_45e_015_01";
  1973. scene.add(pv015a);
  1974. pv016a = new THREE.Mesh(
  1975. new THREE.CubeGeometry( 4, 0.1,0.5),
  1976. new THREE.MeshPhongMaterial( {
  1977. color: 0xD3D3D3,
  1978. specular: 0x050505,
  1979. shininess: 100
  1980. })
  1981. );
  1982. //pv016a.position.set(-1, 0.5, -22);
  1983. pv016a.position.set(-1.176, 0.9, -22.176);
  1984. pv016a.rotateY( Math.PI / 4 );
  1985. pv016a.rotateX( Math.PI / 3);
  1986. pv016a.name = "6A_60_45e_016_01";
  1987. scene.add(pv016a);
  1988. pv017a = new THREE.Mesh(
  1989. new THREE.CubeGeometry( 4, 0.1,0.5),
  1990. new THREE.MeshPhongMaterial( {
  1991. color: 0xD3D3D3,
  1992. specular: 0x050505,
  1993. shininess: 100
  1994. })
  1995. );
  1996. pv017a.position.set(-2.176, 0.9, -26.176);
  1997. pv017a.rotateY( Math.PI / 4 );
  1998. pv017a.rotateX( Math.PI / 3);
  1999. pv017a.name = "2A_60_45e_017_01";
  2000. scene.add(pv017a);
  2001. pv018a = new THREE.Mesh(
  2002. new THREE.CubeGeometry( 4, 0.1,0.5),
  2003. new THREE.MeshPhongMaterial( {
  2004. color: 0xD3D3D3,
  2005. specular: 0x050505,
  2006. shininess: 100
  2007. })
  2008. );
  2009. //pv018a.position.set(-8.5, 0.5, 23);
  2010. pv018a.position.set(-8.741, 0.6, 22.581);
  2011. pv018a.rotateY( Math.PI / 6 );
  2012. pv018a.rotateX( Math.PI / 12);
  2013. pv018a.name = "3A_15_30e_018_01";
  2014. scene.add(pv018a);
  2015. pv019a = new THREE.Mesh(
  2016. new THREE.CubeGeometry( 4, 0.1,0.5),
  2017. new THREE.MeshPhongMaterial( {
  2018. color: 0xD3D3D3,
  2019. specular: 0x050505,
  2020. shininess: 100
  2021. })
  2022. );
  2023. //pv019a.position.set(-10, 0.5, 26.5);
  2024. pv019a.position.set(-10.241, 0.6, 26.082);
  2025. pv019a.rotateY( Math.PI / 6 );
  2026. pv019a.rotateX( Math.PI / 12);
  2027. pv019a.name = "1A_15_30e_019_01";
  2028. scene.add(pv019a);
  2029. pv020a = new THREE.Mesh(
  2030. new THREE.CubeGeometry( 4, 0.1,0.5),
  2031. new THREE.MeshPhongMaterial( {
  2032. color: 0xD3D3D3,
  2033. specular: 0x050505,
  2034. shininess: 100
  2035. })
  2036. );
  2037. //pv020a.position.set(6, 0.5, 14);
  2038. pv020a.position.set(5.758, 0.6, 13.582);
  2039. pv020a.rotateY( Math.PI / 6 );
  2040. pv020a.rotateX( Math.PI / 12);
  2041. pv020a.name = "1B_15_30e_020_01";
  2042. scene.add(pv020a);
  2043. pv021a = new THREE.Mesh(
  2044. new THREE.CubeGeometry( 4, 0.1,0.5),
  2045. new THREE.MeshPhongMaterial( {
  2046. color: 0xD3D3D3,
  2047. specular: 0x050505,
  2048. shininess: 100
  2049. })
  2050. );
  2051. //pv021a.position.set(12, 0.5, 19);
  2052. pv021a.position.set(11.785, 0.6, 18.582);
  2053. pv021a.rotateY( Math.PI / 6 );
  2054. pv021a.rotateX( Math.PI / 12);
  2055. pv021a.name = "1D_15_30e_021_01";
  2056. scene.add(pv021a);
  2057. pv022a = new THREE.Mesh(
  2058. new THREE.CubeGeometry( 4, 0.1,0.5),
  2059. new THREE.MeshPhongMaterial( {
  2060. color: 0xD3D3D3,
  2061. specular: 0x050505,
  2062. shininess: 100
  2063. })
  2064. );
  2065. //pv022a.position.set(6, 0.5, 17);
  2066. pv022a.position.set(5.758, 0.6, 16.582);
  2067. pv022a.rotateY( Math.PI / 6 );
  2068. pv022a.rotateX( Math.PI / 12);
  2069. pv022a.name = "1C_15_30e_022_01";
  2070. scene.add(pv022a);
  2071. pv023a = new THREE.Mesh(
  2072. new THREE.CubeGeometry( 4, 0.1,0.5),
  2073. new THREE.MeshPhongMaterial( {
  2074. color: 0xD3D3D3,
  2075. specular: 0x050505,
  2076. shininess: 100
  2077. })
  2078. );
  2079. //pv023a.position.set(9, 0.5, 18);
  2080. pv023a.position.set(8.758, 0.6, 17.582);
  2081. pv023a.rotateY( Math.PI / 6 );
  2082. pv023a.rotateX( Math.PI / 12);
  2083. pv023a.name = "5A_15_30e_023_01";
  2084. scene.add(pv023a);
  2085. pv024a = new THREE.Mesh(
  2086. new THREE.CubeGeometry( 4, 0.1,0.5),
  2087. new THREE.MeshPhongMaterial( {
  2088. color: 0xD3D3D3,
  2089. specular: 0x050505,
  2090. shininess: 100
  2091. })
  2092. );
  2093. //pv024a.position.set(-16, 0.5, 24);
  2094. pv024a.position.set(-16.216, 0.7, 23.625);
  2095. pv024a.rotateY( Math.PI / 6 );
  2096. pv024a.rotateX( Math.PI / 6);
  2097. pv024a.name = "6D_30_30e_024_01";
  2098. scene.add(pv024a);
  2099. pv025a = new THREE.Mesh(
  2100. new THREE.CubeGeometry( 4, 0.1,0.5),
  2101. new THREE.MeshPhongMaterial( {
  2102. color: 0xD3D3D3,
  2103. specular: 0x050505,
  2104. shininess: 100
  2105. })
  2106. );
  2107. //pv025a.position.set(-15, 0.5, 26);
  2108. pv025a.position.set(-15.216, 0.7, 25.625);
  2109. pv025a.rotateY( Math.PI / 6 );
  2110. pv025a.rotateX( Math.PI / 6);
  2111. pv025a.name = "3D_30_30e_025_01";
  2112. scene.add(pv025a);
  2113. pv026a = new THREE.Mesh(
  2114. new THREE.CubeGeometry( 4, 0.1,0.5),
  2115. new THREE.MeshPhongMaterial( {
  2116. color: 0xD3D3D3,
  2117. specular: 0x050505,
  2118. shininess: 100
  2119. })
  2120. );
  2121. //pv026a.position.set(1.5, 0.5, -7.5);
  2122. pv026a.position.set(1.323, 0.8, -7.806);
  2123. pv026a.rotateY( Math.PI / 6 );
  2124. pv026a.rotateX( Math.PI / 4);
  2125. pv026a.name = "6A_45_30e_026_01";
  2126. scene.add(pv026a);
  2127. pv027a = new THREE.Mesh(
  2128. new THREE.CubeGeometry( 4, 0.1,0.5),
  2129. new THREE.MeshPhongMaterial( {
  2130. color: 0xD3D3D3,
  2131. specular: 0x050505,
  2132. shininess: 100
  2133. })
  2134. );
  2135. //pv027a.position.set(-3, 0.5, -8.5);
  2136. pv027a.position.set(-3.177, 0.8, -8.806);
  2137. pv027a.rotateY( Math.PI / 6 );
  2138. pv027a.rotateX( Math.PI / 4);
  2139. pv027a.name = "3A_45_30e_027_01";
  2140. scene.add(pv027a);
  2141. pv028a = new THREE.Mesh(
  2142. new THREE.CubeGeometry( 4, 0.1,0.5),
  2143. new THREE.MeshPhongMaterial( {
  2144. color: 0xD3D3D3,
  2145. specular: 0x050505,
  2146. shininess: 100
  2147. })
  2148. );
  2149. //pv028a.position.set(3, 0.5, -4.5);
  2150. pv028a.position.set(2.823, 0.8, -4.806);
  2151. pv028a.rotateY( Math.PI / 6 );
  2152. pv028a.rotateX( Math.PI / 4);
  2153. pv028a.name = "1A_45_30e_028_01";
  2154. scene.add(pv028a);
  2155. pv029a = new THREE.Mesh(
  2156. new THREE.CubeGeometry( 4, 0.1,0.5),
  2157. new THREE.MeshPhongMaterial( {
  2158. color: 0xD3D3D3,
  2159. specular: 0x050505,
  2160. shininess: 100
  2161. })
  2162. );
  2163. //pv029a.position.set(3, 0.5, -25);
  2164. pv029a.position.set(2.875, 0.9, -25.216);
  2165. pv029a.rotateY( Math.PI / 6 );
  2166. pv029a.rotateX( Math.PI / 3);
  2167. pv029a.name = "6A_60_30e_029_01";
  2168. scene.add(pv029a);
  2169. pv030a = new THREE.Mesh(
  2170. new THREE.CubeGeometry( 4, 0.1,0.5),
  2171. new THREE.MeshPhongMaterial( {
  2172. color: 0xD3D3D3,
  2173. specular: 0x050505,
  2174. shininess: 100
  2175. })
  2176. );
  2177. //pv030a.position.set(1, 0.5, -13);
  2178. pv030a.position.set(0.875, 0.9, -13.216);
  2179. pv030a.rotateY( Math.PI / 6 );
  2180. pv030a.rotateX( Math.PI / 3);
  2181. pv030a.name = "3A_60_30e_030_01";
  2182. scene.add(pv030a);
  2183. pv031a = new THREE.Mesh(
  2184. new THREE.CubeGeometry( 4, 0.1,0.5),
  2185. new THREE.MeshPhongMaterial( {
  2186. color: 0xD3D3D3,
  2187. specular: 0x050505,
  2188. shininess: 100
  2189. })
  2190. );
  2191. //pv031a.position.set(0, 0.5, -16);
  2192. pv031a.position.set(-0.125, 0.9, -16.216);
  2193. pv031a.rotateY( Math.PI / 6 );
  2194. pv031a.rotateX( Math.PI / 3);
  2195. pv031a.name = "1A_60_30e_031_01";
  2196. scene.add(pv031a);
  2197. pv032a = new THREE.Mesh(
  2198. new THREE.CubeGeometry( 4, 0.1,0.5),
  2199. new THREE.MeshPhongMaterial( {
  2200. color: 0xD3D3D3,
  2201. specular: 0x050505,
  2202. shininess: 100
  2203. })
  2204. );
  2205. //pv032a.position.set(7, 0.5, 10.5);
  2206. pv032a.position.set(6.875, 0.6, 10.033);
  2207. pv032a.rotateY( Math.PI / 12 );
  2208. pv032a.rotateX( Math.PI / 12);
  2209. pv032a.name = "3A_15_15e_032_01";
  2210. scene.add(pv032a);
  2211. pv033a = new THREE.Mesh(
  2212. new THREE.CubeGeometry( 4, 0.1,0.5),
  2213. new THREE.MeshPhongMaterial( {
  2214. color: 0xD3D3D3,
  2215. specular: 0x050505,
  2216. shininess: 100
  2217. })
  2218. );
  2219. //pv033a.position.set(-10, 0.5, 29.5);
  2220. pv033a.position.set(-10.125, 0.6, 29.033);
  2221. pv033a.rotateY( Math.PI / 12 );
  2222. pv033a.rotateX( Math.PI / 12);
  2223. pv033a.name = "1B_15_15e_033_01";
  2224. scene.add(pv033a);
  2225. pv034a = new THREE.Mesh(
  2226. new THREE.CubeGeometry( 4, 0.1,0.5),
  2227. new THREE.MeshPhongMaterial( {
  2228. color: 0xD3D3D3,
  2229. specular: 0x050505,
  2230. shininess: 100
  2231. })
  2232. );
  2233. //pv034a.position.set(-11, 0.5, 31.5);
  2234. pv034a.position.set(-11.125, 0.6, 31.033);
  2235. pv034a.rotateY( Math.PI / 12 );
  2236. pv034a.rotateX( Math.PI / 12);
  2237. pv034a.name = "4B_15_15e_034_01";
  2238. scene.add(pv034a);
  2239. pv035a = new THREE.Mesh(
  2240. new THREE.CubeGeometry( 4, 0.1,0.5),
  2241. new THREE.MeshPhongMaterial( {
  2242. color: 0xD3D3D3,
  2243. specular: 0x050505,
  2244. shininess: 100
  2245. })
  2246. );
  2247. //pv035a.position.set(-13, 0.5, 19);
  2248. pv035a.position.set(-13.112, 0.7, 18.582);
  2249. pv035a.rotateY( Math.PI / 12 );
  2250. pv035a.rotateX( Math.PI / 6);
  2251. pv035a.name = "3A_30_15e_035_01";
  2252. scene.add(pv035a);
  2253. pv036a = new THREE.Mesh(
  2254. new THREE.CubeGeometry( 4, 0.1,0.5),
  2255. new THREE.MeshPhongMaterial( {
  2256. color: 0xD3D3D3,
  2257. specular: 0x050505,
  2258. shininess: 100
  2259. })
  2260. );
  2261. pv036a.position.set(-13.112, 0.7, 20.582);
  2262. pv036a.rotateY( Math.PI / 12 );
  2263. pv036a.rotateX( Math.PI / 6);
  2264. pv036a.name = "1A_30_15e_036_01";
  2265. scene.add(pv036a);
  2266. pv037a = new THREE.Mesh(
  2267. new THREE.CubeGeometry( 4, 0.1,0.5),
  2268. new THREE.MeshPhongMaterial( {
  2269. color: 0xD3D3D3,
  2270. specular: 0x050505,
  2271. shininess: 100
  2272. })
  2273. );
  2274. pv037a.position.set(-7.112, 0.7, 19.582);
  2275. pv037a.rotateY( Math.PI / 12 );
  2276. pv037a.rotateX( Math.PI / 6);
  2277. pv037a.name = "5A_30_15e_037_01";
  2278. scene.add(pv037a);
  2279. pv038a = new THREE.Mesh(
  2280. new THREE.CubeGeometry( 4, 0.1,0.5),
  2281. new THREE.MeshPhongMaterial( {
  2282. color: 0xD3D3D3,
  2283. specular: 0x050505,
  2284. shininess: 100
  2285. })
  2286. );
  2287. pv038a.position.set(7.908, 0.8, -14.342);
  2288. pv038a.rotateY( Math.PI / 12 );
  2289. pv038a.rotateX( Math.PI / 4);
  2290. pv038a.name = "3A_45_15e_038_01";
  2291. scene.add(pv038a);
  2292. pv039a = new THREE.Mesh(
  2293. new THREE.CubeGeometry( 4, 0.1,0.5),
  2294. new THREE.MeshPhongMaterial( {
  2295. color: 0xD3D3D3,
  2296. specular: 0x050505,
  2297. shininess: 100
  2298. })
  2299. );
  2300. pv039a.position.set(7.908, 0.8, -10.342);
  2301. pv039a.rotateY( Math.PI / 12 );
  2302. pv039a.rotateX( Math.PI / 4);
  2303. pv039a.name = "1A_45_15e_039_01";
  2304. scene.add(pv039a);
  2305. pv040a = new THREE.Mesh(
  2306. new THREE.CubeGeometry( 4, 0.1,0.5),
  2307. new THREE.MeshPhongMaterial( {
  2308. color: 0xD3D3D3,
  2309. specular: 0x050505,
  2310. shininess: 100
  2311. })
  2312. );
  2313. pv040a.position.set(8.908, 0.8, -6.842);
  2314. pv040a.rotateY( Math.PI / 12 );
  2315. pv040a.rotateX( Math.PI / 4);
  2316. pv040a.name = "4A_45_15e_040_01";
  2317. scene.add(pv040a);
  2318. pv041a = new THREE.Mesh(
  2319. new THREE.CubeGeometry( 4, 0.1,0.5),
  2320. new THREE.MeshPhongMaterial( {
  2321. color: 0xD3D3D3,
  2322. specular: 0x050505,
  2323. shininess: 100
  2324. })
  2325. );
  2326. pv041a.position.set(3.935, 0.9, -20.741);
  2327. pv041a.rotateY( Math.PI / 12 );
  2328. pv041a.rotateX( Math.PI / 3);
  2329. pv041a.name = "6A_60_15e_041_01";
  2330. scene.add(pv041a);
  2331. pv042a = new THREE.Mesh(
  2332. new THREE.CubeGeometry( 4, 0.1,0.5),
  2333. new THREE.MeshPhongMaterial( {
  2334. color: 0xD3D3D3,
  2335. specular: 0x050505,
  2336. shininess: 100
  2337. })
  2338. );
  2339. pv042a.position.set(8.935, 0.9, -22.241);
  2340. pv042a.rotateY( Math.PI / 12 );
  2341. pv042a.rotateX( Math.PI / 3);
  2342. pv042a.name = "3A_60_15e_042_01";
  2343. scene.add(pv042a);
  2344. pv043a = new THREE.Mesh(
  2345. new THREE.CubeGeometry( 4, 0.1,0.5),
  2346. new THREE.MeshPhongMaterial( {
  2347. color: 0xD3D3D3,
  2348. specular: 0x050505,
  2349. shininess: 100
  2350. })
  2351. );
  2352. pv043a.position.set(7.935, 0.9, -17.741);
  2353. pv043a.rotateY( Math.PI / 12 );
  2354. pv043a.rotateX( Math.PI / 3);
  2355. pv043a.name = "1A_60_15e_043_01";
  2356. scene.add(pv043a);
  2357. pv044a = new THREE.Mesh(
  2358. new THREE.CubeGeometry( 4, 0.1,0.5),
  2359. new THREE.MeshPhongMaterial( {
  2360. color: 0xD3D3D3,
  2361. specular: 0x050505,
  2362. shininess: 100
  2363. })
  2364. );
  2365. pv044a.position.set(2.000, 0.6, 32.517);
  2366. pv044a.rotateY( Math.PI );
  2367. pv044a.rotateX( 11 * Math.PI / 12);
  2368. pv044a.name = "3B_15_00s_044_01";
  2369. scene.add(pv044a);
  2370. pv045a = new THREE.Mesh(
  2371. new THREE.CubeGeometry( 4, 0.1,0.5),
  2372. new THREE.MeshPhongMaterial( {
  2373. color: 0xD3D3D3,
  2374. specular: 0x050505,
  2375. shininess: 100
  2376. })
  2377. );
  2378. pv045a.position.set(5.000, 0.6, 34.017);
  2379. pv045a.rotateY( Math.PI );
  2380. pv045a.rotateX( 11 * Math.PI / 12);
  2381. pv045a.name = "4B_15_00s_045_01";
  2382. scene.add(pv045a);
  2383. pv046a = new THREE.Mesh(
  2384. new THREE.CubeGeometry( 4, 0.1,0.5),
  2385. new THREE.MeshPhongMaterial( {
  2386. color: 0xD3D3D3,
  2387. specular: 0x050505,
  2388. shininess: 100
  2389. })
  2390. );
  2391. pv046a.position.set(-1.000, 0.5, 34.500);
  2392. pv046a.rotateY( Math.PI );
  2393. pv046a.rotateX( 89 * Math.PI / 90);
  2394. pv046a.name = "6A_02_00s_046_01";
  2395. scene.add(pv046a);
  2396. pv047a = new THREE.Mesh(
  2397. new THREE.CubeGeometry( 4, 0.1,0.5),
  2398. new THREE.MeshPhongMaterial( {
  2399. color: 0xD3D3D3,
  2400. specular: 0x050505,
  2401. shininess: 100
  2402. })
  2403. );
  2404. pv047a.position.set(3.000, 0.5, 35.500);
  2405. pv047a.rotateY( Math.PI );
  2406. pv047a.rotateX( 89 * Math.PI / 90);
  2407. pv047a.name = "2A_02_00s_047_01";
  2408. scene.add(pv047a);
  2409. pv048a = new THREE.Mesh(
  2410. new THREE.CubeGeometry( 4, 0.1,0.5),
  2411. new THREE.MeshPhongMaterial( {
  2412. color: 0xD3D3D3,
  2413. specular: 0x050505,
  2414. shininess: 100
  2415. })
  2416. );
  2417. pv048a.position.set(6.000, 0.5, 36.500);
  2418. pv048a.rotateY( Math.PI );
  2419. pv048a.rotateX( 89 * Math.PI / 90);
  2420. pv048a.name = "1A_02_00s_048_01";
  2421. scene.add(pv048a);
  2422. pv049a = new THREE.Mesh(
  2423. new THREE.CubeGeometry( 4, 0.1,0.5),
  2424. new THREE.MeshPhongMaterial( {
  2425. color: 0xD3D3D3,
  2426. specular: 0x050505,
  2427. shininess: 100
  2428. })
  2429. );
  2430. pv049a.position.set(-11.000, 0.7, 13.567);
  2431. pv049a.rotateY( Math.PI );
  2432. pv049a.rotateX( 5 * Math.PI / 6);
  2433. pv049a.name = "3C_30_00s_049_01";
  2434. scene.add(pv049a);
  2435. pv050a = new THREE.Mesh(
  2436. new THREE.CubeGeometry( 4, 0.1,0.5),
  2437. new THREE.MeshPhongMaterial( {
  2438. color: 0xD3D3D3,
  2439. specular: 0x050505,
  2440. shininess: 100
  2441. })
  2442. );
  2443. pv050a.position.set(-10.500, 0.7, 10.567);
  2444. pv050a.rotateY( Math.PI );
  2445. pv050a.rotateX( 5 * Math.PI / 6);
  2446. pv050a.name = "1A_30_00s_050_01";
  2447. scene.add(pv050a);
  2448. pv051a = new THREE.Mesh(
  2449. new THREE.CubeGeometry( 4, 0.1,0.5),
  2450. new THREE.MeshPhongMaterial( {
  2451. color: 0xD3D3D3,
  2452. specular: 0x050505,
  2453. shininess: 100
  2454. })
  2455. );
  2456. pv051a.position.set(8.000, 0.7, 7.067);
  2457. pv051a.rotateY( Math.PI );
  2458. pv051a.rotateX( 5 * Math.PI / 6);
  2459. pv051a.name = "1B_30_00s_051_01";
  2460. scene.add(pv051a);
  2461. pv052a = new THREE.Mesh(
  2462. new THREE.CubeGeometry( 4, 0.1,0.5),
  2463. new THREE.MeshPhongMaterial( {
  2464. color: 0xD3D3D3,
  2465. specular: 0x050505,
  2466. shininess: 100
  2467. })
  2468. );
  2469. pv052a.position.set(-10.000, 0.7, 7.567);
  2470. pv052a.rotateY( Math.PI );
  2471. pv052a.rotateX( 5 * Math.PI / 6);
  2472. pv052a.name = "1D_30_00s_052_01";
  2473. scene.add(pv052a);
  2474. pv053a = new THREE.Mesh(
  2475. new THREE.CubeGeometry( 4, 0.1,0.5),
  2476. new THREE.MeshPhongMaterial( {
  2477. color: 0xD3D3D3,
  2478. specular: 0x050505,
  2479. shininess: 100
  2480. })
  2481. );
  2482. pv053a.position.set(3.000, 0.7, 24.567);
  2483. pv053a.rotateY( Math.PI );
  2484. pv053a.rotateX( 5 * Math.PI / 6);
  2485. pv053a.name = "1C_30_00s_053_01";
  2486. scene.add(pv053a);
  2487. pv054a = new THREE.Mesh(
  2488. new THREE.CubeGeometry( 4, 0.1,0.5),
  2489. new THREE.MeshPhongMaterial( {
  2490. color: 0xD3D3D3,
  2491. specular: 0x050505,
  2492. shininess: 100
  2493. })
  2494. );
  2495. pv054a.position.set(2.500, 0.7, 27.567);
  2496. pv054a.rotateY( Math.PI );
  2497. pv054a.rotateX( 5 * Math.PI / 6);
  2498. pv054a.name = "4D_30_00s_054_01";
  2499. scene.add(pv054a);
  2500. pv055a = new THREE.Mesh(
  2501. new THREE.CubeGeometry( 4, 0.1,0.5),
  2502. new THREE.MeshPhongMaterial( {
  2503. color: 0xD3D3D3,
  2504. specular: 0x050505,
  2505. shininess: 100
  2506. })
  2507. );
  2508. pv055a.position.set(15.000, 0.8, -7.354);
  2509. pv055a.rotateY( Math.PI );
  2510. pv055a.rotateX( 3 * Math.PI / 4);
  2511. pv055a.name = "3A_45_00s_055_01";
  2512. scene.add(pv055a);
  2513. pv056a = new THREE.Mesh(
  2514. new THREE.CubeGeometry( 4, 0.1,0.5),
  2515. new THREE.MeshPhongMaterial( {
  2516. color: 0xD3D3D3,
  2517. specular: 0x050505,
  2518. shininess: 100
  2519. })
  2520. );
  2521. pv056a.position.set(15.000, 0.8, -11.354);
  2522. pv056a.rotateY( Math.PI );
  2523. pv056a.rotateX( 3 * Math.PI / 4);
  2524. pv056a.name = "4A_45_00s_056_01";
  2525. scene.add(pv056a);
  2526. pv057a = new THREE.Mesh(
  2527. new THREE.CubeGeometry( 4, 0.1,0.5),
  2528. new THREE.MeshPhongMaterial( {
  2529. color: 0xD3D3D3,
  2530. specular: 0x050505,
  2531. shininess: 100
  2532. })
  2533. );
  2534. pv057a.position.set(9.000, 0.9, -27.750);
  2535. pv057a.rotateY( Math.PI );
  2536. pv057a.rotateX( 2 * Math.PI / 3);
  2537. pv057a.name = "6A_60_00s_057_01";
  2538. scene.add(pv057a);
  2539. pv058a = new THREE.Mesh(
  2540. new THREE.CubeGeometry( 4, 0.1,0.5),
  2541. new THREE.MeshPhongMaterial( {
  2542. color: 0xD3D3D3,
  2543. specular: 0x050505,
  2544. shininess: 100
  2545. })
  2546. );
  2547. pv058a.position.set(0.000, 0.9, -30.250);
  2548. pv058a.rotateY( Math.PI );
  2549. pv058a.rotateX( 2 * Math.PI / 3);
  2550. pv058a.name = "3A_60_00s_058_01";
  2551. scene.add(pv058a);
  2552. pv059a = new THREE.Mesh(
  2553. new THREE.CubeGeometry( 4, 0.1,0.5),
  2554. new THREE.MeshPhongMaterial( {
  2555. color: 0xD3D3D3,
  2556. specular: 0x050505,
  2557. shininess: 100
  2558. })
  2559. );
  2560. pv059a.position.set(8.125, 0.6, 25.033);
  2561. pv059a.rotateY( 11 * Math.PI / 12 );
  2562. pv059a.rotateX( 11 * Math.PI / 12);
  2563. pv059a.name = "3B_15_15w_059_01";
  2564. scene.add(pv059a);
  2565. pv060a = new THREE.Mesh(
  2566. new THREE.CubeGeometry( 4, 0.1,0.5),
  2567. new THREE.MeshPhongMaterial( {
  2568. color: 0xD3D3D3,
  2569. specular: 0x050505,
  2570. shininess: 100
  2571. })
  2572. );
  2573. pv060a.position.set(2.625, 0.6, 30.533);
  2574. pv060a.rotateY( 11 * Math.PI / 12 );
  2575. pv060a.rotateX( 11 * Math.PI / 12);
  2576. pv060a.name = "1B_15_15w_060_01";
  2577. scene.add(pv060a);
  2578. pv061a = new THREE.Mesh(
  2579. new THREE.CubeGeometry( 4, 0.1,0.5),
  2580. new THREE.MeshPhongMaterial( {
  2581. color: 0xD3D3D3,
  2582. specular: 0x050505,
  2583. shininess: 100
  2584. })
  2585. );
  2586. pv061a.position.set(9.625, 0.6, 35.033);
  2587. pv061a.rotateY( 11 * Math.PI / 12 );
  2588. pv061a.rotateX( 11 * Math.PI / 12);
  2589. pv061a.name = "4B_15_15w_061_01";
  2590. scene.add(pv061a);
  2591. pv062a = new THREE.Mesh(
  2592. new THREE.CubeGeometry( 4, 0.1,0.5),
  2593. new THREE.MeshPhongMaterial( {
  2594. color: 0xD3D3D3,
  2595. specular: 0x050505,
  2596. shininess: 100
  2597. })
  2598. );
  2599. pv062a.position.set(8.112, 0.7, 21.732);
  2600. pv062a.rotateY( 11 * Math.PI / 12 );
  2601. pv062a.rotateX( 5 * Math.PI / 6);
  2602. pv062a.name = "3A_30_15w_062_01";
  2603. scene.add(pv062a);
  2604. pv063a = new THREE.Mesh(
  2605. new THREE.CubeGeometry( 4, 0.1,0.5),
  2606. new THREE.MeshPhongMaterial( {
  2607. color: 0xD3D3D3,
  2608. specular: 0x050505,
  2609. shininess: 100
  2610. })
  2611. );
  2612. pv063a.position.set(12.612, 0.7, 22.832);
  2613. pv063a.rotateY( 11 * Math.PI / 12 );
  2614. pv063a.rotateX( 5 * Math.PI / 6);
  2615. pv063a.name = "1A_30_15w_063_01";
  2616. scene.add(pv063a);
  2617. pv064a = new THREE.Mesh(
  2618. new THREE.CubeGeometry( 4, 0.1,0.5),
  2619. new THREE.MeshPhongMaterial( {
  2620. color: 0xD3D3D3,
  2621. specular: 0x050505,
  2622. shininess: 100
  2623. })
  2624. );
  2625. pv064a.position.set(3.612, 0.7, 20.582);
  2626. pv064a.rotateY( 11 * Math.PI / 12 );
  2627. pv064a.rotateX( 5 * Math.PI / 6);
  2628. pv064a.name = "5A_30_15w_064_01";
  2629. scene.add(pv064a);
  2630. pv065a = new THREE.Mesh(
  2631. new THREE.CubeGeometry( 4, 0.1,0.5),
  2632. new THREE.MeshPhongMaterial( {
  2633. color: 0xD3D3D3,
  2634. specular: 0x050505,
  2635. shininess: 100
  2636. })
  2637. );
  2638. pv065a.position.set(16.092, 0.8, -19.342);
  2639. pv065a.rotateY( 11 * Math.PI / 12 );
  2640. pv065a.rotateX( 3 * Math.PI / 4);
  2641. pv065a.name = "3A_45_15w_065_01";
  2642. scene.add(pv065a);
  2643. pv066a = new THREE.Mesh(
  2644. new THREE.CubeGeometry( 4, 0.1,0.5),
  2645. new THREE.MeshPhongMaterial( {
  2646. color: 0xD3D3D3,
  2647. specular: 0x050505,
  2648. shininess: 100
  2649. })
  2650. );
  2651. pv066a.position.set(17.092, 0.8, -22.342);
  2652. pv066a.rotateY( 11 * Math.PI / 12 );
  2653. pv066a.rotateX( 3 * Math.PI / 4);
  2654. pv066a.name = "1A_45_15w_066_01";
  2655. scene.add(pv066a);
  2656. pv067a = new THREE.Mesh(
  2657. new THREE.CubeGeometry( 4, 0.1,0.5),
  2658. new THREE.MeshPhongMaterial( {
  2659. color: 0xD3D3D3,
  2660. specular: 0x050505,
  2661. shininess: 100
  2662. })
  2663. );
  2664. pv067a.position.set(15.092, 0.8, -15.342);
  2665. pv067a.rotateY( 11 * Math.PI / 12 );
  2666. pv067a.rotateX( 3 * Math.PI / 4);
  2667. pv067a.name = "4A_45_15w_067_01";
  2668. scene.add(pv067a);
  2669. pv068a = new THREE.Mesh(
  2670. new THREE.CubeGeometry( 4, 0.1,0.5),
  2671. new THREE.MeshPhongMaterial( {
  2672. color: 0xD3D3D3,
  2673. specular: 0x050505,
  2674. shininess: 100
  2675. })
  2676. );
  2677. pv068a.position.set(15.065, 0.9, -27.241);
  2678. pv068a.rotateY( 11 * Math.PI / 12 );
  2679. pv068a.rotateX( 2 * Math.PI / 3);
  2680. pv068a.name = "6A_60_15w_068_01";
  2681. scene.add(pv068a);
  2682. pv069a = new THREE.Mesh(
  2683. new THREE.CubeGeometry( 4, 0.1,0.5),
  2684. new THREE.MeshPhongMaterial( {
  2685. color: 0xD3D3D3,
  2686. specular: 0x050505,
  2687. shininess: 100
  2688. })
  2689. );
  2690. pv069a.position.set(20.065, 0.9, -25.991);
  2691. pv069a.rotateY( 11 * Math.PI / 12 );
  2692. pv069a.rotateX( 2 * Math.PI / 3);
  2693. pv069a.name = "3A_60_15w_069_01";
  2694. scene.add(pv069a);
  2695. pv070a = new THREE.Mesh(
  2696. new THREE.CubeGeometry( 4, 0.1,0.5),
  2697. new THREE.MeshPhongMaterial( {
  2698. color: 0xD3D3D3,
  2699. specular: 0x050505,
  2700. shininess: 100
  2701. })
  2702. );
  2703. pv070a.position.set(25.065, 0.9, -24.741);
  2704. pv070a.rotateY( 11 * Math.PI / 12 );
  2705. pv070a.rotateX( 2 * Math.PI / 3);
  2706. pv070a.name = "1A_60_15w_070_01";
  2707. scene.add(pv070a);
  2708. pv071a = new THREE.Mesh(
  2709. new THREE.CubeGeometry( 4, 0.1,0.5),
  2710. new THREE.MeshPhongMaterial( {
  2711. color: 0xD3D3D3,
  2712. specular: 0x050505,
  2713. shininess: 100
  2714. })
  2715. );
  2716. pv071a.position.set(17.241, 0.6, 24.582);
  2717. pv071a.rotateY( 11 * Math.PI / 6 );
  2718. pv071a.rotateX( Math.PI / 12);
  2719. pv071a.name = "3A_15_30w_071_01";
  2720. scene.add(pv071a);
  2721. pv072a = new THREE.Mesh(
  2722. new THREE.CubeGeometry( 4, 0.1,0.5),
  2723. new THREE.MeshPhongMaterial( {
  2724. color: 0xD3D3D3,
  2725. specular: 0x050505,
  2726. shininess: 100
  2727. })
  2728. );
  2729. pv072a.position.set(6.991, 0.6, 32.082);
  2730. pv072a.rotateY( 11 * Math.PI / 6 );
  2731. pv072a.rotateX( Math.PI / 12);
  2732. pv072a.name = "1A_15_30w_072_01";
  2733. scene.add(pv072a);
  2734. pv073a = new THREE.Mesh(
  2735. new THREE.CubeGeometry( 4, 0.1,0.5),
  2736. new THREE.MeshPhongMaterial( {
  2737. color: 0xD3D3D3,
  2738. specular: 0x050505,
  2739. shininess: 100
  2740. })
  2741. );
  2742. pv073a.position.set(10.741, 0.6, 37.832);
  2743. pv073a.rotateY( 11 * Math.PI / 6 );
  2744. pv073a.rotateX( Math.PI / 12);
  2745. pv073a.name = "1B_15_30w_073_01";
  2746. scene.add(pv073a);
  2747. pv074a = new THREE.Mesh(
  2748. new THREE.CubeGeometry( 4, 0.1,0.5),
  2749. new THREE.MeshPhongMaterial( {
  2750. color: 0xD3D3D3,
  2751. specular: 0x050505,
  2752. shininess: 100
  2753. })
  2754. );
  2755. pv074a.position.set(12.741, 0.6, 27.082);
  2756. pv074a.rotateY( 11 * Math.PI / 6 );
  2757. pv074a.rotateX( Math.PI / 12);
  2758. pv074a.name = "1D_15_30w_074_01";
  2759. scene.add(pv074a);
  2760. pv075a = new THREE.Mesh(
  2761. new THREE.CubeGeometry( 4, 0.1,0.5),
  2762. new THREE.MeshPhongMaterial( {
  2763. color: 0xD3D3D3,
  2764. specular: 0x050505,
  2765. shininess: 100
  2766. })
  2767. );
  2768. pv075a.position.set(7.741, 0.6, 29.082);
  2769. pv075a.rotateY( 11 * Math.PI / 6 );
  2770. pv075a.rotateX( Math.PI / 12);
  2771. pv075a.name = "1C_15_30w_075_01";
  2772. scene.add(pv075a);
  2773. pv076a = new THREE.Mesh(
  2774. new THREE.CubeGeometry( 4, 0.1,0.5),
  2775. new THREE.MeshPhongMaterial( {
  2776. color: 0xD3D3D3,
  2777. specular: 0x050505,
  2778. shininess: 100
  2779. })
  2780. );
  2781. pv076a.position.set(11.241, 0.6, 33.082);
  2782. pv076a.rotateY( 11 * Math.PI / 6 );
  2783. pv076a.rotateX( Math.PI / 12);
  2784. pv076a.name = "5D_15_30w_076_01";
  2785. scene.add(pv076a);
  2786. pv077a = new THREE.Mesh(
  2787. new THREE.CubeGeometry( 4, 0.1,0.5),
  2788. new THREE.MeshPhongMaterial( {
  2789. color: 0xD3D3D3,
  2790. specular: 0x050505,
  2791. shininess: 100
  2792. })
  2793. );
  2794. pv077a.position.set(13.217, 0.7, 11.625);
  2795. pv077a.rotateY( 11 * Math.PI / 6 );
  2796. pv077a.rotateX( Math.PI / 6);
  2797. pv077a.name = "6D_30_30w_077_01";
  2798. scene.add(pv077a);
  2799. pv078a = new THREE.Mesh(
  2800. new THREE.CubeGeometry( 4, 0.1,0.5),
  2801. new THREE.MeshPhongMaterial( {
  2802. color: 0xD3D3D3,
  2803. specular: 0x050505,
  2804. shininess: 100
  2805. })
  2806. );
  2807. pv078a.position.set(12.217, 0.7, 14.625);
  2808. pv078a.rotateY( 11 * Math.PI / 6 );
  2809. pv078a.rotateX( Math.PI / 6);
  2810. pv078a.name = "3D_30_30w_078_01";
  2811. scene.add(pv078a);
  2812. pv079a = new THREE.Mesh(
  2813. new THREE.CubeGeometry( 4, 0.1,0.5),
  2814. new THREE.MeshPhongMaterial( {
  2815. color: 0xD3D3D3,
  2816. specular: 0x050505,
  2817. shininess: 100
  2818. })
  2819. );
  2820. pv079a.position.set(14.217, 0.7, 8.625);
  2821. pv079a.rotateY( 11 * Math.PI / 6 );
  2822. pv079a.rotateX( Math.PI / 6);
  2823. pv079a.name = "1D_30_30w_079_01";
  2824. scene.add(pv079a);
  2825. pv080a = new THREE.Mesh(
  2826. new THREE.CubeGeometry( 4, 0.1,0.5),
  2827. new THREE.MeshPhongMaterial( {
  2828. color: 0xD3D3D3,
  2829. specular: 0x050505,
  2830. shininess: 100
  2831. })
  2832. );
  2833. pv080a.position.set(20.177, 0.8, -4.306);
  2834. pv080a.rotateY( 11 * Math.PI / 6 );
  2835. pv080a.rotateX( Math.PI / 4);
  2836. pv080a.name = "3A_45_30w_080_01";
  2837. scene.add(pv080a);
  2838. pv081a = new THREE.Mesh(
  2839. new THREE.CubeGeometry( 4, 0.1,0.5),
  2840. new THREE.MeshPhongMaterial( {
  2841. color: 0xD3D3D3,
  2842. specular: 0x050505,
  2843. shininess: 100
  2844. })
  2845. );
  2846. pv081a.position.set(21.177, 0.8, -7.306);
  2847. pv081a.rotateY( 11 * Math.PI / 6 );
  2848. pv081a.rotateX( Math.PI / 4);
  2849. pv081a.name = "1A_45_30w_081_01";
  2850. scene.add(pv081a);
  2851. pv082a = new THREE.Mesh(
  2852. new THREE.CubeGeometry( 4, 0.1,0.5),
  2853. new THREE.MeshPhongMaterial( {
  2854. color: 0xD3D3D3,
  2855. specular: 0x050505,
  2856. shininess: 100
  2857. })
  2858. );
  2859. pv082a.position.set(21.677, 0.8, -11.306);
  2860. pv082a.rotateY( 11 * Math.PI / 6 );
  2861. pv082a.rotateX( Math.PI / 4);
  2862. pv082a.name = "5A_45_30w_082_01";
  2863. scene.add(pv082a);
  2864. pv083a = new THREE.Mesh(
  2865. new THREE.CubeGeometry( 4, 0.1,0.5),
  2866. new THREE.MeshPhongMaterial( {
  2867. color: 0xD3D3D3,
  2868. specular: 0x050505,
  2869. shininess: 100
  2870. })
  2871. );
  2872. pv083a.position.set(24.125, 0.9, -21.217);
  2873. pv083a.rotateY( 11 * Math.PI / 6 );
  2874. pv083a.rotateX( Math.PI / 3);
  2875. pv083a.name = "6A_60_30w_083_01";
  2876. scene.add(pv083a);
  2877. pv084a = new THREE.Mesh(
  2878. new THREE.CubeGeometry( 4, 0.1,0.5),
  2879. new THREE.MeshPhongMaterial( {
  2880. color: 0xD3D3D3,
  2881. specular: 0x050505,
  2882. shininess: 100
  2883. })
  2884. );
  2885. pv084a.position.set(23.125, 0.9, -18.217);
  2886. pv084a.rotateY( 11 * Math.PI / 6 );
  2887. pv084a.rotateX( Math.PI / 3);
  2888. pv084a.name = "3A_60_30w_084_01";
  2889. scene.add(pv084a);
  2890. pv085a = new THREE.Mesh(
  2891. new THREE.CubeGeometry( 4, 0.1,0.5),
  2892. new THREE.MeshPhongMaterial( {
  2893. color: 0xD3D3D3,
  2894. specular: 0x050505,
  2895. shininess: 100
  2896. })
  2897. );
  2898. pv085a.position.set(23.125, 0.9, -14.217);
  2899. pv085a.rotateY( 11 * Math.PI / 6 );
  2900. pv085a.rotateX( Math.PI / 3);
  2901. pv085a.name = "1A_60_30w_085_01";
  2902. scene.add(pv085a);
  2903. pv086a = new THREE.Mesh(
  2904. new THREE.CubeGeometry( 4, 0.1,0.5),
  2905. new THREE.MeshPhongMaterial( {
  2906. color: 0xD3D3D3,
  2907. specular: 0x050505,
  2908. shininess: 100
  2909. })
  2910. );
  2911. pv086a.position.set(12.342, 0.6, 30.158);
  2912. pv086a.rotateY( 7 * Math.PI / 4 );
  2913. pv086a.rotateX( Math.PI / 12);
  2914. pv086a.name = "2A_15_45w_086_01";
  2915. scene.add(pv086a);
  2916. pv087a = new THREE.Mesh(
  2917. new THREE.CubeGeometry( 4, 0.1,0.5),
  2918. new THREE.MeshPhongMaterial( {
  2919. color: 0xD3D3D3,
  2920. specular: 0x050505,
  2921. shininess: 100
  2922. })
  2923. );
  2924. pv087a.position.set(16.342, 0.6, 30.158);
  2925. pv087a.rotateY( 7 * Math.PI / 4 );
  2926. pv087a.rotateX( Math.PI / 12);
  2927. pv087a.name = "1A_15_45w_087_01";
  2928. scene.add(pv087a);
  2929. pv088a = new THREE.Mesh(
  2930. new THREE.CubeGeometry( 4, 0.1,0.5),
  2931. new THREE.MeshPhongMaterial( {
  2932. color: 0xD3D3D3,
  2933. specular: 0x050505,
  2934. shininess: 100
  2935. })
  2936. );
  2937. pv088a.position.set(17.342, 0.6, 27.158);
  2938. pv088a.rotateY( 7 * Math.PI / 4 );
  2939. pv088a.rotateX( Math.PI / 12);
  2940. pv088a.name = "4A_15_45w_088_01";
  2941. scene.add(pv088a);
  2942. pv089a = new THREE.Mesh(
  2943. new THREE.CubeGeometry( 4, 0.1,0.5),
  2944. new THREE.MeshPhongMaterial( {
  2945. color: 0xD3D3D3,
  2946. specular: 0x050505,
  2947. shininess: 100
  2948. })
  2949. );
  2950. pv089a.position.set(20.306, 0.7, 10.694);
  2951. pv089a.rotateY( 7 * Math.PI / 4 );
  2952. pv089a.rotateX( Math.PI / 6);
  2953. pv089a.name = "6A_30_45w_089_01";
  2954. scene.add(pv089a);
  2955. pv090a = new THREE.Mesh(
  2956. new THREE.CubeGeometry( 4, 0.1,0.5),
  2957. new THREE.MeshPhongMaterial( {
  2958. color: 0xD3D3D3,
  2959. specular: 0x050505,
  2960. shininess: 100
  2961. })
  2962. );
  2963. pv090a.position.set(19.306, 0.7, 13.694);
  2964. pv090a.rotateY( 7 * Math.PI / 4 );
  2965. pv090a.rotateX( Math.PI / 6);
  2966. pv090a.name = "2A_30_45w_090_01";
  2967. scene.add(pv090a);
  2968. pv091a = new THREE.Mesh(
  2969. new THREE.CubeGeometry( 4, 0.1,0.5),
  2970. new THREE.MeshPhongMaterial( {
  2971. color: 0xD3D3D3,
  2972. specular: 0x050505,
  2973. shininess: 100
  2974. })
  2975. );
  2976. pv091a.position.set(29.250, 0.8, -14.250);
  2977. pv091a.rotateY( 7 * Math.PI / 4 );
  2978. pv091a.rotateX( Math.PI / 4);
  2979. pv091a.name = "2C_45_45w_091_01";
  2980. scene.add(pv091a);
  2981. pv092a = new THREE.Mesh(
  2982. new THREE.CubeGeometry( 4, 0.1,0.5),
  2983. new THREE.MeshPhongMaterial( {
  2984. color: 0xD3D3D3,
  2985. specular: 0x050505,
  2986. shininess: 100
  2987. })
  2988. );
  2989. pv092a.position.set(23.250, 0.8, 6.750);
  2990. pv092a.rotateY( 7 * Math.PI / 4 );
  2991. pv092a.rotateX( Math.PI / 4);
  2992. pv092a.name = "4C_45_45w_092_01";
  2993. scene.add(pv092a);
  2994. pv093a = new THREE.Mesh(
  2995. new THREE.CubeGeometry( 4, 0.1,0.5),
  2996. new THREE.MeshPhongMaterial( {
  2997. color: 0xD3D3D3,
  2998. specular: 0x050505,
  2999. shininess: 100
  3000. })
  3001. );
  3002. pv093a.position.set(30.177, 0.9, -18.177);
  3003. pv093a.rotateY( 7 * Math.PI / 4 );
  3004. pv093a.rotateX( Math.PI / 3);
  3005. pv093a.name = "6A_60_45w_093_01";
  3006. scene.add(pv093a);
  3007. pv094a = new THREE.Mesh(
  3008. new THREE.CubeGeometry( 4, 0.1,0.5),
  3009. new THREE.MeshPhongMaterial( {
  3010. color: 0xD3D3D3,
  3011. specular: 0x050505,
  3012. shininess: 100
  3013. })
  3014. );
  3015. pv094a.position.set(30.177, 0.9, -22.177);
  3016. pv094a.rotateY( 7 * Math.PI / 4 );
  3017. pv094a.rotateX( Math.PI / 3);
  3018. pv094a.name = "2A_60_45w_094_01";
  3019. scene.add(pv094a);
  3020. pv095a = new THREE.Mesh(
  3021. new THREE.CubeGeometry( 4, 0.1,0.5),
  3022. new THREE.MeshPhongMaterial( {
  3023. color: 0xD3D3D3,
  3024. specular: 0x050505,
  3025. shininess: 100
  3026. })
  3027. );
  3028. pv095a.position.set(15.418, 0.6, 33.759);
  3029. pv095a.rotateY( 5 * Math.PI / 3);
  3030. pv095a.rotateX( Math.PI / 12);
  3031. pv095a.name = "6A_15_60w_095_01";
  3032. scene.add(pv095a);
  3033. pv096a = new THREE.Mesh(
  3034. new THREE.CubeGeometry( 4, 0.1,0.5),
  3035. new THREE.MeshPhongMaterial( {
  3036. color: 0xD3D3D3,
  3037. specular: 0x050505,
  3038. shininess: 100
  3039. })
  3040. );
  3041. pv096a.position.set(14.418, 0.6, 36.759);
  3042. pv096a.rotateY( 5 * Math.PI / 3);
  3043. pv096a.rotateX( Math.PI / 12);
  3044. pv096a.name = "2A_15_60w_096_01";
  3045. scene.add(pv096a);
  3046. pv097a = new THREE.Mesh(
  3047. new THREE.CubeGeometry( 4, 0.1,0.5),
  3048. new THREE.MeshPhongMaterial( {
  3049. color: 0xD3D3D3,
  3050. specular: 0x050505,
  3051. shininess: 100
  3052. })
  3053. );
  3054. pv097a.position.set(16.375, 0.7, 19.783);
  3055. pv097a.rotateY( 5 * Math.PI / 3);
  3056. pv097a.rotateX( Math.PI / 6);
  3057. pv097a.name = "6A_30_60w_097_01";
  3058. scene.add(pv097a);
  3059. pv098a = new THREE.Mesh(
  3060. new THREE.CubeGeometry( 4, 0.1,0.5),
  3061. new THREE.MeshPhongMaterial( {
  3062. color: 0xD3D3D3,
  3063. specular: 0x050505,
  3064. shininess: 100
  3065. })
  3066. );
  3067. pv098a.position.set(17.375, 0.7, 16.783);
  3068. pv098a.rotateY( 5 * Math.PI / 3);
  3069. pv098a.rotateX( Math.PI / 6);
  3070. pv098a.name = "1A_30_60w_098_01";
  3071. scene.add(pv098a);
  3072. pv099a = new THREE.Mesh(
  3073. new THREE.CubeGeometry( 4, 0.1,0.5),
  3074. new THREE.MeshPhongMaterial( {
  3075. color: 0xD3D3D3,
  3076. specular: 0x050505,
  3077. shininess: 100
  3078. })
  3079. );
  3080. pv099a.position.set(25.306, 0.8, -1.177);
  3081. pv099a.rotateY( 5 * Math.PI / 3);
  3082. pv099a.rotateX( Math.PI / 4);
  3083. pv099a.name = "6A_45_60w_099_01";
  3084. scene.add(pv099a);
  3085. pv100a = new THREE.Mesh(
  3086. new THREE.CubeGeometry( 4, 0.1,0.5),
  3087. new THREE.MeshPhongMaterial( {
  3088. color: 0xD3D3D3,
  3089. specular: 0x050505,
  3090. shininess: 100
  3091. })
  3092. );
  3093. pv100a.position.set(22.306, 0.8, 1.823);
  3094. pv100a.rotateY( 5 * Math.PI / 3);
  3095. pv100a.rotateX( Math.PI / 4);
  3096. pv100a.name = "1A_45_60w_100_01";
  3097. scene.add(pv100a);
  3098. pv101a = new THREE.Mesh(
  3099. new THREE.CubeGeometry( 4, 0.1,0.5),
  3100. new THREE.MeshPhongMaterial( {
  3101. color: 0xD3D3D3,
  3102. specular: 0x050505,
  3103. shininess: 100
  3104. })
  3105. );
  3106. pv101a.position.set(28.217, 0.9, -10.125);
  3107. pv101a.rotateY( 5 * Math.PI / 3);
  3108. pv101a.rotateX( Math.PI / 3);
  3109. pv101a.name = "2C_60_60w_101_01";
  3110. scene.add(pv101a);
  3111. pv102a = new THREE.Mesh(
  3112. new THREE.CubeGeometry( 4, 0.1,0.5),
  3113. new THREE.MeshPhongMaterial( {
  3114. color: 0xD3D3D3,
  3115. specular: 0x050505,
  3116. shininess: 100
  3117. })
  3118. );
  3119. pv102a.position.set(26.216, 0.9, -6.125);
  3120. pv102a.rotateY( 5 * Math.PI / 3);
  3121. pv102a.rotateX( Math.PI / 3);
  3122. pv102a.name = "1C_60_60w_102_01";
  3123. scene.add(pv102a);
  3124. //scene.fog = new THREE.FogExp2( 0x000000, 0.0128 );
  3125. //renderer.setClearColor( scene.fog.color, 1 );
  3126. lut = new THREE.Lut( 'rainbow', 512 );
  3127. lut.setMax( 2000 );
  3128. lut.setMin( 0 );
  3129. legend = lut.setLegendOn();
  3130. legend.name = "legend";
  3131. createLabel("legend_title");
  3132. createLabel("legend_low");
  3133. createLabel("legend_mid");
  3134. createLabel("legend_high");
  3135. $("#textlegend_title").css("fontSize", "16px");
  3136. $("#textlegend_title").text("Power (kW/kWp)");
  3137. $("#textlegend_title").css("color", "black");
  3138. $("#textlegend_title").css("background-color", "transparent");
  3139. $("#textlegend_title").css("font-family", "Source Code Pro");
  3140. //font-family: 'Source Code Pro';
  3141. $("#textlegend_mid").css("fontSize", "14px");
  3142. $("#textlegend_mid").css("color", "black");
  3143. $("#textlegend_mid").css("background-color", "transparent");
  3144. $("#textlegend_mid").text("0.5");
  3145. $("#textlegend_mid").css("font-family", "Source Code Pro");
  3146. $("#textlegend_low").css("fontSize", "14px");
  3147. $("#textlegend_low").css("color", "black");
  3148. $("#textlegend_low").css("background-color", "transparent");
  3149. $("#textlegend_low").text("0.0");
  3150. $("#textlegend_low").css("font-family", "Source Code Pro");
  3151. $("#textlegend_high").css("fontSize", "14px");
  3152. $("#textlegend_high").css("color", "black");
  3153. $("#textlegend_high").css("background-color", "transparent");
  3154. $("#textlegend_high").text("1.0");
  3155. $("#textlegend_high").css("font-family", "Source Code Pro");
  3156. scene.add ( legend );
  3157. render();
  3158. }
  3159. function animate() {
  3160. requestAnimationFrame(animate);
  3161. if (enableControls){
  3162. mycontrol.enabled = true;
  3163. } else {
  3164. mycontrol.enabled = false;
  3165. }
  3166. if (enableRotate) {
  3167. mycontrol.rotate = true;
  3168. } else {
  3169. mycontrol.rotate = false;
  3170. }
  3171. mycontrol.update();
  3172. render();
  3173. }
  3174. var vector;
  3175. var legend;
  3176. var width, height;
  3177. var widthHalf, heightHalf;
  3178. var pos_title, pos_high, pos_low, pos_mid;
  3179. function render() {
  3180. //console.log(camera.position);
  3181. // if camera.position.y more than 90 then show module number
  3182. scene.traverse( function( node ) {
  3183. if (node.name != "") {
  3184. //console.log(node.name);
  3185. if (node.name == "legend") {
  3186. legend = scene.getObjectByName( "legend" );
  3187. width = window.innerWidth;
  3188. height = window.innerHeight;
  3189. widthHalf = width / 2.0;
  3190. heightHalf = height / 2.0;
  3191. pos_title = legend.position.clone();
  3192. pos_title.y = pos_title.y + 9;
  3193. pos_title.x = pos_title.x - 1;
  3194. pos_title.project(camera);
  3195. pos_title.x = ( pos_title.x * widthHalf ) + widthHalf;
  3196. pos_title.y = - ( pos_title.y * heightHalf ) + heightHalf;
  3197. $("#textlegend_title").show();
  3198. $("#textlegend_title").css("top", (pos_title.y) + 'px');
  3199. $("#textlegend_title").css("left", (pos_title.x) + 'px');
  3200. pos_mid = legend.position.clone();
  3201. pos_mid.y = pos_mid.y + 0;
  3202. pos_mid.x = pos_mid.x + 2;
  3203. pos_mid.project(camera);
  3204. pos_mid.x = ( pos_mid.x * widthHalf ) + widthHalf;
  3205. pos_mid.y = - ( pos_mid.y * heightHalf ) + heightHalf;
  3206. $("#textlegend_mid").show();
  3207. $("#textlegend_mid").css("top", (pos_mid.y) + 'px');
  3208. $("#textlegend_mid").css("left", (pos_mid.x) + 'px');
  3209. pos_low = legend.position.clone();
  3210. pos_low.y = pos_low.y - 5;
  3211. pos_low.x = pos_low.x + 2;
  3212. pos_low.project(camera);
  3213. pos_low.x = ( pos_low.x * widthHalf ) + widthHalf;
  3214. pos_low.y = - ( pos_low.y * heightHalf ) + heightHalf;
  3215. $("#textlegend_low").show();
  3216. $("#textlegend_low").css("top", (pos_low.y) + 'px');
  3217. $("#textlegend_low").css("left", (pos_low.x) + 'px');
  3218. pos_high = legend.position.clone();
  3219. pos_high.y = pos_high.y + 6;
  3220. pos_high.x = pos_high.x + 2;
  3221. pos_high.project(camera);
  3222. pos_high.x = ( pos_high.x * widthHalf ) + widthHalf;
  3223. pos_high.y = - ( pos_high.y * heightHalf ) + heightHalf;
  3224. $("#textlegend_high").show();
  3225. $("#textlegend_high").css("top", (pos_high.y) + 'px');
  3226. $("#textlegend_high").css("left", (pos_high.x) + 'px');
  3227. }
  3228. var _id = node.name;
  3229. _id = _id.split("_")[3];
  3230. //console.log(_id2[3]);
  3231. _id = "#text" + _id;
  3232. if (camera.position.y > 0 && labelFlag == true) {
  3233. //console.log(scene.children);
  3234. var obj1 = scene.getObjectByName( node.name );
  3235. var width = window.innerWidth, height = window.innerHeight;
  3236. var widthHalf = width / 2, heightHalf = height / 2;
  3237. var pos = obj1.position.clone();
  3238. pos.project(camera);
  3239. pos.x = ( pos.x * widthHalf ) + widthHalf;
  3240. pos.y = - ( pos.y * heightHalf ) + heightHalf;
  3241. $(_id).show();
  3242. $(_id).css("top", pos.y + 'px');
  3243. $(_id).css("left", (pos.x-10) + 'px');
  3244. //console.log(pos);
  3245. } else {
  3246. $(_id).hide();
  3247. }
  3248. }
  3249. });
  3250. var mode = $('input[type=radio][name=moduleMode]:checked').val();
  3251. if (mode == "0") {
  3252. $("#textlegend_title").hide();
  3253. $("#textlegend_high").hide();
  3254. $("#textlegend_mid").hide();
  3255. $("#textlegend_low").hide();
  3256. legend_object = scene.getObjectByName( "legend" );
  3257. if (legend_object) {
  3258. scene.remove(legend_object);
  3259. }
  3260. } else if (mode == "1") {
  3261. $("#textlegend_title").show();
  3262. $("#textlegend_high").show();
  3263. $("#textlegend_mid").show();
  3264. $("#textlegend_low").show();
  3265. legend_object = scene.getObjectByName( "legend", true );
  3266. if (!legend_object) {
  3267. lut = new THREE.Lut( 'rainbow', 512 );
  3268. lut.setMax( 2000 );
  3269. lut.setMin( 0 );
  3270. legend = lut.setLegendOn();
  3271. legend.name = "legend";
  3272. scene.add(legend);
  3273. }
  3274. }
  3275. // update the picking ray with the camera and mouse position
  3276. raycaster.setFromCamera( mouse, camera );
  3277. // calculate objects intersecting the picking ray
  3278. var intersects = raycaster.intersectObjects( scene.children );
  3279. //console.log("Check intersection");
  3280. //console.log(intersects);
  3281. for ( var i = 0; i < intersects.length; i++ ) {
  3282. if (intersects[ i ].object.name != "" && intersects[ i ].object.name != "legend") {
  3283. $("#obj-tooltip").text("Array: " + intersects[ i ].object.name);
  3284. $("#val-tooltip").text("Power: " + parseFloat(data[ intersects[ i ].object.name ]).toFixed(3) + " kW");
  3285. }
  3286. }
  3287. renderer.render(scene, camera);
  3288. vector = camera.getWorldDirection();
  3289. theta = Math.atan2(vector.x,vector.z);
  3290. theta = theta + 3.142; // add/minux pi to inverse
  3291. var degree = theta * (180/3.142);
  3292. //console.log(degree);
  3293. draw(degree);
  3294. }
  3295. $("#message").mousedown(function() {
  3296. enableControls = false;
  3297. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3298. //render();
  3299. });
  3300. $("#orientation").mousedown(function() {
  3301. enableControls = false;
  3302. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3303. //render();
  3304. });
  3305. $("#settings").mousedown(function() {
  3306. enableControls = false;
  3307. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3308. //render();
  3309. });
  3310. $("#slider").mousedown(function() {
  3311. enableControls = false;
  3312. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3313. //render();
  3314. });
  3315. $("#container").mousedown(function() {
  3316. enableControls = true;
  3317. enableRotate = true;
  3318. animate();
  3319. setMessage("GUI", "Selected main scene.");
  3320. });
  3321. $("#container").mouseup(function() {
  3322. enableRotate = false;
  3323. //animate();
  3324. setMessage("GUI", "Selected main scene.");
  3325. });
  3326. </script>
  3327. <script>
  3328. jQuery(window).load(function () {
  3329. var typeFlag = false;
  3330. var typeValue = "A";
  3331. $('input[type=radio][name=moduleType]').change(function() {
  3332. typeValue = this.value;
  3333. for (var prop in data) {
  3334. value = data[prop];
  3335. if (prop != "time") {
  3336. current_type = prop.split("_")[0][1];
  3337. current_array = parseInt(prop.split("_")[3]) - 1;
  3338. if (current_type != typeValue) {
  3339. colour = "0xaaaaaa";
  3340. } else {
  3341. // Type D need to half them
  3342. if (current_type == "D") {
  3343. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3344. } else {
  3345. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3346. }
  3347. //pNorm = value / parseFloat(powerPeak[current_array]);
  3348. if (pNorm > 1.0) {
  3349. pNorm = 1.0;
  3350. }
  3351. if (pNorm < 0.0) {
  3352. pNorm = 0.0;
  3353. }
  3354. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3355. //pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3356. //if (pNorm > 0.5) {
  3357. // pNorm = 0.5;
  3358. //}
  3359. //if (pNorm < 0.0) {
  3360. // pNorm = 0.0;
  3361. //}
  3362. colour = "0x" + colour.substring(1);
  3363. }
  3364. object = scene.getObjectByName( prop, true );
  3365. if (object) {
  3366. object.material.color.setHex( colour );
  3367. }
  3368. }
  3369. }
  3370. });
  3371. $('input[type=radio][name=moduleMode]').change(function() {
  3372. //var myVar = setInterval(myTimer, 10000);
  3373. //clearInterval(myVar);
  3374. modeValue = this.value;
  3375. //console.log(modeValue);
  3376. for (var prop in data) {
  3377. value = data[prop];
  3378. if (prop != "time") {
  3379. if (modeValue == "0") {
  3380. //console.log("setting mode 0")
  3381. if (value <= 0) {
  3382. colour = "0xff0000";
  3383. } else {
  3384. //colour = "0x242b72";
  3385. colour = "0x00ff00";
  3386. }
  3387. //console.log("setting mode 0", colour);
  3388. } else if (modeValue == "1") {
  3389. //console.log("inside mode 1");
  3390. current_type = prop.split("_")[0][1];
  3391. current_array = parseInt(prop.split("_")[3]) - 1;
  3392. if (typeof current_type != "undefined") {
  3393. // Type D need to half them
  3394. if (current_type == "D") {
  3395. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3396. } else {
  3397. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3398. }
  3399. //pNorm = value / parseFloat(powerPeak[current_array]);
  3400. if (pNorm > 1.0) {
  3401. pNorm = 1.0;
  3402. }
  3403. if (pNorm < 0.0) {
  3404. pNorm = 0.0;
  3405. }
  3406. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3407. colour = "0x" + colour.substring(1);
  3408. if (typeFlag == true && current_type != typeValue) {
  3409. colour = "0xaaaaaa";
  3410. }
  3411. }
  3412. }
  3413. object = scene.getObjectByName( prop, true );
  3414. //object.material.color.setHex( colour );
  3415. if (object) {
  3416. //console.log("SETTING COLOUR");
  3417. object.material.color.setHex( colour );
  3418. }
  3419. //animate();
  3420. }
  3421. }
  3422. });
  3423. $("#myType").change(function() {
  3424. if(this.checked) {
  3425. typeFlag = true;
  3426. var radios = $('input:radio[name=moduleType]');
  3427. if(radios.is(':checked') === false) {
  3428. radios.filter('[value=A]').prop('checked', true);
  3429. }
  3430. typeValue = "A";
  3431. for (var prop in data) {
  3432. value = data[prop];
  3433. if (prop != "time") {
  3434. current_type = prop.split("_")[0][1];
  3435. current_array = parseInt(prop.split("_")[3]) - 1;
  3436. if (current_type != typeValue) {
  3437. colour = "0xaaaaaa";
  3438. } else {
  3439. // Type D need to half them
  3440. if (current_type == "D") {
  3441. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3442. } else {
  3443. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3444. }
  3445. //pNorm = value / parseFloat(powerPeak[current_array]);
  3446. if (pNorm > 1.0) {
  3447. pNorm = 1.0;
  3448. }
  3449. if (pNorm < 0.0) {
  3450. pNorm = 0.0;
  3451. }
  3452. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3453. colour = "0x" + colour.substring(1);
  3454. }
  3455. object = scene.getObjectByName( prop, true );
  3456. if (object) {
  3457. object.material.color.setHex( colour );
  3458. }
  3459. }
  3460. }
  3461. //updateColour("A");
  3462. } else {
  3463. typeFlag = false;
  3464. var radios = $('input:radio[name=moduleType]');
  3465. if(radios.is(':checked') === true) {
  3466. radios.filter('[value=A]').prop('checked', false);
  3467. radios.filter('[value=B]').prop('checked', false);
  3468. radios.filter('[value=C]').prop('checked', false);
  3469. radios.filter('[value=D]').prop('checked', false);
  3470. }
  3471. for (var prop in data) {
  3472. value = data[prop];
  3473. if (prop != "time") {
  3474. current_type = prop.split("_")[0][1];
  3475. current_array = parseInt(prop.split("_")[3]) - 1;
  3476. if (current_type == "D") {
  3477. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3478. } else {
  3479. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3480. }
  3481. //pNorm = value / parseFloat(powerPeak[current_array]);
  3482. if (pNorm > 1.0) {
  3483. pNorm = 1.0;
  3484. }
  3485. if (pNorm < 0.0) {
  3486. pNorm = 0.0;
  3487. }
  3488. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3489. colour = "0x" + colour.substring(1);
  3490. object = scene.getObjectByName( prop, true );
  3491. if (object) {
  3492. object.material.color.setHex( colour );
  3493. }
  3494. }
  3495. }
  3496. }
  3497. });
  3498. myTimer();
  3499. var myVar = setInterval(myTimer, 1000);
  3500. //clearInterval(refreshIntervalId);
  3501. var powerPeak = [
  3502. 10.00,
  3503. 8.64,
  3504. 9.69,
  3505. 10.00,
  3506. 9.69,
  3507. 10.00,
  3508. 9.69,
  3509. 10.00,
  3510. 10.00,
  3511. 10.00,
  3512. 9.00,
  3513. 9.69,
  3514. 10.00,
  3515. 10.00,
  3516. 9.50,
  3517. 9.69,
  3518. 10.00,
  3519. 10.00,
  3520. 10.00,
  3521. 10.00,
  3522. 10.00,
  3523. 10.00,
  3524. 8.64,
  3525. 9.69,
  3526. 10.00,
  3527. 9.69,
  3528. 10.00,
  3529. 10.00,
  3530. 9.69,
  3531. 10.00,
  3532. 10.00,
  3533. 10.00,
  3534. 10.00,
  3535. 9.00,
  3536. 10.00,
  3537. 10.00,
  3538. 8.64,
  3539. 10.00,
  3540. 10.00,
  3541. 9.00,
  3542. 9.69,
  3543. 10.00,
  3544. 10.00,
  3545. 10.00,
  3546. 9.00,
  3547. 9.69,
  3548. 10.00,
  3549. 10.00,
  3550. 10.00,
  3551. 10.00,
  3552. 10.00,
  3553. 10.00,
  3554. 10.00,
  3555. 9.00,
  3556. 10.00,
  3557. 9.00,
  3558. 9.69,
  3559. 10.00,
  3560. 10.00,
  3561. 10.00,
  3562. 9.00,
  3563. 10.00,
  3564. 10.00,
  3565. 8.64,
  3566. 10.00,
  3567. 10.00,
  3568. 9.00,
  3569. 9.69,
  3570. 10.00,
  3571. 10.00,
  3572. 10.00,
  3573. 10.00,
  3574. 10.00,
  3575. 10.00,
  3576. 10.00,
  3577. 8.64,
  3578. 9.69,
  3579. 10.00,
  3580. 10.00,
  3581. 10.00,
  3582. 10.00,
  3583. 8.64,
  3584. 9.69,
  3585. 10.00,
  3586. 10.00,
  3587. 10.00,
  3588. 10.00,
  3589. 9.00,
  3590. 9.69,
  3591. 10.00,
  3592. 10.00,
  3593. 9.50,
  3594. 9.69,
  3595. 10.00,
  3596. 9.69,
  3597. 10.00,
  3598. 9.69,
  3599. 10.00,
  3600. 9.69,
  3601. 10.00,
  3602. 10.00,
  3603. 10.00
  3604. ];
  3605. var mycm = {
  3606. jet: ['#000080',
  3607. '#00008d',
  3608. '#00009f',
  3609. '#0000ad',
  3610. '#0000bf',
  3611. '#0000d1',
  3612. '#0000df',
  3613. '#0000f1',
  3614. '#0000ff',
  3615. '#0000ff',
  3616. '#0010ff',
  3617. '#001cff',
  3618. '#002cff',
  3619. '#0038ff',
  3620. '#0048ff',
  3621. '#0058ff',
  3622. '#0064ff',
  3623. '#0074ff',
  3624. '#0080ff',
  3625. '#0090ff',
  3626. '#00a0ff',
  3627. '#00acff',
  3628. '#00bcff',
  3629. '#00c8ff',
  3630. '#00d8ff',
  3631. '#02e8f4',
  3632. '#0cf4eb',
  3633. '#19ffde',
  3634. '#23ffd4',
  3635. '#30ffc7',
  3636. '#3cffba',
  3637. '#46ffb1',
  3638. '#53ffa4',
  3639. '#5dff9a',
  3640. '#6aff8d',
  3641. '#77ff80',
  3642. '#80ff77',
  3643. '#8dff6a',
  3644. '#9aff5d',
  3645. '#a4ff53',
  3646. '#b1ff46',
  3647. '#baff3c',
  3648. '#c7ff30',
  3649. '#d4ff23',
  3650. '#deff19',
  3651. '#ebff0c',
  3652. '#f4f802',
  3653. '#ffea00',
  3654. '#ffdb00',
  3655. '#ffd000',
  3656. '#ffc100',
  3657. '#ffb600',
  3658. '#ffa700',
  3659. '#ff9800',
  3660. '#ff8d00',
  3661. '#ff7e00',
  3662. '#ff7300',
  3663. '#ff6400',
  3664. '#ff5500',
  3665. '#ff4a00',
  3666. '#ff3b00',
  3667. '#ff3000',
  3668. '#ff2200',
  3669. '#ff1300',
  3670. '#f10800',
  3671. '#df0000',
  3672. '#d10000',
  3673. '#bf0000',
  3674. '#ad0000',
  3675. '#9f0000',
  3676. '#8d0000',
  3677. '#800000']
  3678. }
  3679. var min_pac = 0;
  3680. var max_pac = 10.0;
  3681. function myTimer() {
  3682. var dataToSend = {};
  3683. var object;
  3684. var colour;
  3685. var value;
  3686. $.ajax({
  3687. url: '/getdata/',
  3688. type: 'GET',
  3689. data: dataToSend,
  3690. success: function (response) {
  3691. //var objresponse = JSON.parse(response);
  3692. console.log(response);
  3693. data = response;
  3694. var obj = response;
  3695. for (var prop in obj) {
  3696. value = obj[prop];
  3697. if (prop == "time") {
  3698. $("#slider-tooltip").text(value);
  3699. } else {
  3700. var mode = $('input[type=radio][name=moduleMode]:checked').val();
  3701. current_type = prop.split("_")[0][1];
  3702. current_array = parseInt(prop.split("_")[3]) - 1;
  3703. if (mode == "0") {
  3704. legend_object = scene.getObjectByName( "legend", true );
  3705. if (legend_object) {
  3706. scene.remove(legend_object);
  3707. }
  3708. //animate();
  3709. if (value <= 0) {
  3710. colour = "0xff0000";
  3711. } else {
  3712. //colour = "0x242b72";
  3713. colour = "0x00ff00";
  3714. }
  3715. } else if (mode == "1") {
  3716. legend_object = scene.getObjectByName( "legend", true );
  3717. if (!legend_object) {
  3718. lut = new THREE.Lut( 'rainbow', 512 );
  3719. lut.setMax( 2000 );
  3720. lut.setMin( 0 );
  3721. legend = lut.setLegendOn();
  3722. legend.name = "legend";
  3723. scene.add(legend);
  3724. }
  3725. // Type D need to half them
  3726. if (current_type == "D") {
  3727. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3728. } else {
  3729. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3730. }
  3731. //pNorm = value / parseFloat(powerPeak[current_array]);
  3732. if (pNorm > 1.0) {
  3733. pNorm = 1.0;
  3734. }
  3735. if (pNorm < 0.0) {
  3736. pNorm = 0.0;
  3737. }
  3738. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3739. colour = "0x" + colour.substring(1);
  3740. if (typeFlag == true && current_type != typeValue) {
  3741. colour = "0xaaaaaa";
  3742. }
  3743. }
  3744. object = scene.getObjectByName( prop, true );
  3745. if (object) {
  3746. object.material.color.setHex( colour );
  3747. }
  3748. }
  3749. }
  3750. },
  3751. error: function () {
  3752. console.log("Error.")
  3753. }
  3754. });
  3755. }
  3756. });
  3757. </script>
  3758. </body>
  3759. </html>