index.html 127 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089
  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=100></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 module 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 module 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_mid").css("fontSize", "16px");
  3138. $("#textlegend_mid").css("color", "black");
  3139. $("#textlegend_mid").css("background-color", "transparent");
  3140. $("#textlegend_mid").text("0.5");
  3141. $("#textlegend_low").css("fontSize", "16px");
  3142. $("#textlegend_low").css("color", "black");
  3143. $("#textlegend_low").css("background-color", "transparent");
  3144. $("#textlegend_low").text("0.0");
  3145. $("#textlegend_high").css("fontSize", "16px");
  3146. $("#textlegend_high").css("color", "black");
  3147. $("#textlegend_high").css("background-color", "transparent");
  3148. $("#textlegend_high").text("1.0");
  3149. scene.add ( legend );
  3150. render();
  3151. }
  3152. function animate() {
  3153. requestAnimationFrame(animate);
  3154. if (enableControls){
  3155. mycontrol.enabled = true;
  3156. } else {
  3157. mycontrol.enabled = false;
  3158. }
  3159. if (enableRotate) {
  3160. mycontrol.rotate = true;
  3161. } else {
  3162. mycontrol.rotate = false;
  3163. }
  3164. mycontrol.update();
  3165. render();
  3166. }
  3167. var vector;
  3168. var legend;
  3169. var width, height;
  3170. var widthHalf, heightHalf;
  3171. var pos_title, pos_high, pos_low, pos_mid;
  3172. function render() {
  3173. //console.log(camera.position);
  3174. // if camera.position.y more than 90 then show module number
  3175. scene.traverse( function( node ) {
  3176. if (node.name != "") {
  3177. //console.log(node.name);
  3178. if (node.name == "legend") {
  3179. legend = scene.getObjectByName( "legend" );
  3180. width = window.innerWidth;
  3181. height = window.innerHeight;
  3182. widthHalf = width / 2.0;
  3183. heightHalf = height / 2.0;
  3184. pos_title = legend.position.clone();
  3185. pos_title.y = pos_title.y + 9;
  3186. pos_title.x = pos_title.x - 1;
  3187. pos_title.project(camera);
  3188. pos_title.x = ( pos_title.x * widthHalf ) + widthHalf;
  3189. pos_title.y = - ( pos_title.y * heightHalf ) + heightHalf;
  3190. $("#textlegend_title").show();
  3191. $("#textlegend_title").css("top", (pos_title.y) + 'px');
  3192. $("#textlegend_title").css("left", (pos_title.x) + 'px');
  3193. pos_mid = legend.position.clone();
  3194. pos_mid.y = pos_mid.y + 0;
  3195. pos_mid.x = pos_mid.x + 2;
  3196. pos_mid.project(camera);
  3197. pos_mid.x = ( pos_mid.x * widthHalf ) + widthHalf;
  3198. pos_mid.y = - ( pos_mid.y * heightHalf ) + heightHalf;
  3199. $("#textlegend_mid").show();
  3200. $("#textlegend_mid").css("top", (pos_mid.y) + 'px');
  3201. $("#textlegend_mid").css("left", (pos_mid.x) + 'px');
  3202. pos_low = legend.position.clone();
  3203. pos_low.y = pos_low.y - 5;
  3204. pos_low.x = pos_low.x + 2;
  3205. pos_low.project(camera);
  3206. pos_low.x = ( pos_low.x * widthHalf ) + widthHalf;
  3207. pos_low.y = - ( pos_low.y * heightHalf ) + heightHalf;
  3208. $("#textlegend_low").show();
  3209. $("#textlegend_low").css("top", (pos_low.y) + 'px');
  3210. $("#textlegend_low").css("left", (pos_low.x) + 'px');
  3211. pos_high = legend.position.clone();
  3212. pos_high.y = pos_high.y + 6;
  3213. pos_high.x = pos_high.x + 2;
  3214. pos_high.project(camera);
  3215. pos_high.x = ( pos_high.x * widthHalf ) + widthHalf;
  3216. pos_high.y = - ( pos_high.y * heightHalf ) + heightHalf;
  3217. $("#textlegend_high").show();
  3218. $("#textlegend_high").css("top", (pos_high.y) + 'px');
  3219. $("#textlegend_high").css("left", (pos_high.x) + 'px');
  3220. }
  3221. var _id = node.name;
  3222. _id = _id.split("_")[3];
  3223. //console.log(_id2[3]);
  3224. _id = "#text" + _id;
  3225. if (camera.position.y > 0 && labelFlag == true) {
  3226. //console.log(scene.children);
  3227. var obj1 = scene.getObjectByName( node.name );
  3228. var width = window.innerWidth, height = window.innerHeight;
  3229. var widthHalf = width / 2, heightHalf = height / 2;
  3230. var pos = obj1.position.clone();
  3231. pos.project(camera);
  3232. pos.x = ( pos.x * widthHalf ) + widthHalf;
  3233. pos.y = - ( pos.y * heightHalf ) + heightHalf;
  3234. $(_id).show();
  3235. $(_id).css("top", pos.y + 'px');
  3236. $(_id).css("left", (pos.x-10) + 'px');
  3237. //console.log(pos);
  3238. } else {
  3239. $(_id).hide();
  3240. }
  3241. }
  3242. });
  3243. var mode = $('input[type=radio][name=moduleMode]:checked').val();
  3244. if (mode == "0") {
  3245. $("#textlegend_title").hide();
  3246. $("#textlegend_high").hide();
  3247. $("#textlegend_mid").hide();
  3248. $("#textlegend_low").hide();
  3249. legend_object = scene.getObjectByName( "legend" );
  3250. if (legend_object) {
  3251. scene.remove(legend_object);
  3252. }
  3253. } else if (mode == "1") {
  3254. $("#textlegend_title").show();
  3255. $("#textlegend_high").show();
  3256. $("#textlegend_mid").show();
  3257. $("#textlegend_low").show();
  3258. legend_object = scene.getObjectByName( "legend", true );
  3259. if (!legend_object) {
  3260. lut = new THREE.Lut( 'rainbow', 512 );
  3261. lut.setMax( 2000 );
  3262. lut.setMin( 0 );
  3263. legend = lut.setLegendOn();
  3264. legend.name = "legend";
  3265. scene.add(legend);
  3266. }
  3267. }
  3268. // update the picking ray with the camera and mouse position
  3269. raycaster.setFromCamera( mouse, camera );
  3270. // calculate objects intersecting the picking ray
  3271. var intersects = raycaster.intersectObjects( scene.children );
  3272. //console.log("Check intersection");
  3273. //console.log(intersects);
  3274. for ( var i = 0; i < intersects.length; i++ ) {
  3275. if (intersects[ i ].object.name != "" && intersects[ i ].object.name != "legend") {
  3276. $("#obj-tooltip").text("Array: " + intersects[ i ].object.name);
  3277. $("#val-tooltip").text("Power: " + parseFloat(data[ intersects[ i ].object.name ]).toFixed(3) + " kW");
  3278. }
  3279. }
  3280. renderer.render(scene, camera);
  3281. vector = camera.getWorldDirection();
  3282. theta = Math.atan2(vector.x,vector.z);
  3283. theta = theta + 3.142; // add/minux pi to inverse
  3284. var degree = theta * (180/3.142);
  3285. //console.log(degree);
  3286. draw(degree);
  3287. }
  3288. $("#message").mousedown(function() {
  3289. enableControls = false;
  3290. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3291. //render();
  3292. });
  3293. $("#orientation").mousedown(function() {
  3294. enableControls = false;
  3295. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3296. //render();
  3297. });
  3298. $("#settings").mousedown(function() {
  3299. enableControls = false;
  3300. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3301. //render();
  3302. });
  3303. $("#slider").mousedown(function() {
  3304. enableControls = false;
  3305. setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
  3306. //render();
  3307. });
  3308. $("#container").mousedown(function() {
  3309. enableControls = true;
  3310. enableRotate = true;
  3311. animate();
  3312. setMessage("GUI", "Selected main scene.");
  3313. });
  3314. $("#container").mouseup(function() {
  3315. enableRotate = false;
  3316. //animate();
  3317. setMessage("GUI", "Selected main scene.");
  3318. });
  3319. </script>
  3320. <script>
  3321. jQuery(window).load(function () {
  3322. var typeFlag = false;
  3323. var typeValue = "A";
  3324. $('input[type=radio][name=moduleType]').change(function() {
  3325. typeValue = this.value;
  3326. for (var prop in data) {
  3327. value = data[prop];
  3328. if (prop != "time") {
  3329. current_type = prop.split("_")[0][1];
  3330. current_array = parseInt(prop.split("_")[3]) - 1;
  3331. if (current_type != typeValue) {
  3332. colour = "0xaaaaaa";
  3333. } else {
  3334. // Type D need to half them
  3335. if (current_type == "D") {
  3336. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3337. } else {
  3338. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3339. }
  3340. //pNorm = value / parseFloat(powerPeak[current_array]);
  3341. if (pNorm > 1.0) {
  3342. pNorm = 1.0;
  3343. }
  3344. if (pNorm < 0.0) {
  3345. pNorm = 0.0;
  3346. }
  3347. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3348. //pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3349. //if (pNorm > 0.5) {
  3350. // pNorm = 0.5;
  3351. //}
  3352. //if (pNorm < 0.0) {
  3353. // pNorm = 0.0;
  3354. //}
  3355. colour = "0x" + colour.substring(1);
  3356. }
  3357. object = scene.getObjectByName( prop, true );
  3358. if (object) {
  3359. object.material.color.setHex( colour );
  3360. }
  3361. }
  3362. }
  3363. });
  3364. $('input[type=radio][name=moduleMode]').change(function() {
  3365. //var myVar = setInterval(myTimer, 10000);
  3366. //clearInterval(myVar);
  3367. modeValue = this.value;
  3368. //console.log(modeValue);
  3369. for (var prop in data) {
  3370. value = data[prop];
  3371. if (prop != "time") {
  3372. if (modeValue == "0") {
  3373. //console.log("setting mode 0")
  3374. if (value <= 0) {
  3375. colour = "0xff0000";
  3376. } else {
  3377. //colour = "0x242b72";
  3378. colour = "0x00ff00";
  3379. }
  3380. //console.log("setting mode 0", colour);
  3381. } else if (modeValue == "1") {
  3382. //console.log("inside mode 1");
  3383. current_type = prop.split("_")[0][1];
  3384. current_array = parseInt(prop.split("_")[3]) - 1;
  3385. if (typeof current_type != "undefined") {
  3386. // Type D need to half them
  3387. if (current_type == "D") {
  3388. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3389. } else {
  3390. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3391. }
  3392. //pNorm = value / parseFloat(powerPeak[current_array]);
  3393. if (pNorm > 1.0) {
  3394. pNorm = 1.0;
  3395. }
  3396. if (pNorm < 0.0) {
  3397. pNorm = 0.0;
  3398. }
  3399. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3400. colour = "0x" + colour.substring(1);
  3401. if (typeFlag == true && current_type != typeValue) {
  3402. colour = "0xaaaaaa";
  3403. }
  3404. }
  3405. }
  3406. object = scene.getObjectByName( prop, true );
  3407. //object.material.color.setHex( colour );
  3408. if (object) {
  3409. //console.log("SETTING COLOUR");
  3410. object.material.color.setHex( colour );
  3411. }
  3412. //animate();
  3413. }
  3414. }
  3415. });
  3416. $("#myType").change(function() {
  3417. if(this.checked) {
  3418. typeFlag = true;
  3419. var radios = $('input:radio[name=moduleType]');
  3420. if(radios.is(':checked') === false) {
  3421. radios.filter('[value=A]').prop('checked', true);
  3422. }
  3423. typeValue = "A";
  3424. for (var prop in data) {
  3425. value = data[prop];
  3426. if (prop != "time") {
  3427. current_type = prop.split("_")[0][1];
  3428. current_array = parseInt(prop.split("_")[3]) - 1;
  3429. if (current_type != typeValue) {
  3430. colour = "0xaaaaaa";
  3431. } else {
  3432. // Type D need to half them
  3433. if (current_type == "D") {
  3434. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3435. } else {
  3436. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3437. }
  3438. //pNorm = value / parseFloat(powerPeak[current_array]);
  3439. if (pNorm > 1.0) {
  3440. pNorm = 1.0;
  3441. }
  3442. if (pNorm < 0.0) {
  3443. pNorm = 0.0;
  3444. }
  3445. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3446. colour = "0x" + colour.substring(1);
  3447. }
  3448. object = scene.getObjectByName( prop, true );
  3449. if (object) {
  3450. object.material.color.setHex( colour );
  3451. }
  3452. }
  3453. }
  3454. //updateColour("A");
  3455. } else {
  3456. typeFlag = false;
  3457. var radios = $('input:radio[name=moduleType]');
  3458. if(radios.is(':checked') === true) {
  3459. radios.filter('[value=A]').prop('checked', false);
  3460. radios.filter('[value=B]').prop('checked', false);
  3461. radios.filter('[value=C]').prop('checked', false);
  3462. radios.filter('[value=D]').prop('checked', false);
  3463. }
  3464. for (var prop in data) {
  3465. value = data[prop];
  3466. if (prop != "time") {
  3467. current_type = prop.split("_")[0][1];
  3468. current_array = parseInt(prop.split("_")[3]) - 1;
  3469. if (current_type == "D") {
  3470. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3471. } else {
  3472. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3473. }
  3474. //pNorm = value / parseFloat(powerPeak[current_array]);
  3475. if (pNorm > 1.0) {
  3476. pNorm = 1.0;
  3477. }
  3478. if (pNorm < 0.0) {
  3479. pNorm = 0.0;
  3480. }
  3481. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3482. colour = "0x" + colour.substring(1);
  3483. object = scene.getObjectByName( prop, true );
  3484. if (object) {
  3485. object.material.color.setHex( colour );
  3486. }
  3487. }
  3488. }
  3489. }
  3490. });
  3491. myTimer();
  3492. var myVar = setInterval(myTimer, 1000);
  3493. //clearInterval(refreshIntervalId);
  3494. var powerPeak = [
  3495. 10.00,
  3496. 8.64,
  3497. 9.69,
  3498. 10.00,
  3499. 9.69,
  3500. 10.00,
  3501. 9.69,
  3502. 10.00,
  3503. 10.00,
  3504. 10.00,
  3505. 9.00,
  3506. 9.69,
  3507. 10.00,
  3508. 10.00,
  3509. 9.50,
  3510. 9.69,
  3511. 10.00,
  3512. 10.00,
  3513. 10.00,
  3514. 10.00,
  3515. 10.00,
  3516. 10.00,
  3517. 8.64,
  3518. 9.69,
  3519. 10.00,
  3520. 9.69,
  3521. 10.00,
  3522. 10.00,
  3523. 9.69,
  3524. 10.00,
  3525. 10.00,
  3526. 10.00,
  3527. 10.00,
  3528. 9.00,
  3529. 10.00,
  3530. 10.00,
  3531. 8.64,
  3532. 10.00,
  3533. 10.00,
  3534. 9.00,
  3535. 9.69,
  3536. 10.00,
  3537. 10.00,
  3538. 10.00,
  3539. 9.00,
  3540. 9.69,
  3541. 10.00,
  3542. 10.00,
  3543. 10.00,
  3544. 10.00,
  3545. 10.00,
  3546. 10.00,
  3547. 10.00,
  3548. 9.00,
  3549. 10.00,
  3550. 9.00,
  3551. 9.69,
  3552. 10.00,
  3553. 10.00,
  3554. 10.00,
  3555. 9.00,
  3556. 10.00,
  3557. 10.00,
  3558. 8.64,
  3559. 10.00,
  3560. 10.00,
  3561. 9.00,
  3562. 9.69,
  3563. 10.00,
  3564. 10.00,
  3565. 10.00,
  3566. 10.00,
  3567. 10.00,
  3568. 10.00,
  3569. 10.00,
  3570. 8.64,
  3571. 9.69,
  3572. 10.00,
  3573. 10.00,
  3574. 10.00,
  3575. 10.00,
  3576. 8.64,
  3577. 9.69,
  3578. 10.00,
  3579. 10.00,
  3580. 10.00,
  3581. 10.00,
  3582. 9.00,
  3583. 9.69,
  3584. 10.00,
  3585. 10.00,
  3586. 9.50,
  3587. 9.69,
  3588. 10.00,
  3589. 9.69,
  3590. 10.00,
  3591. 9.69,
  3592. 10.00,
  3593. 9.69,
  3594. 10.00,
  3595. 10.00,
  3596. 10.00
  3597. ];
  3598. var mycm = {
  3599. jet: ['#000080',
  3600. '#00008d',
  3601. '#00009f',
  3602. '#0000ad',
  3603. '#0000bf',
  3604. '#0000d1',
  3605. '#0000df',
  3606. '#0000f1',
  3607. '#0000ff',
  3608. '#0000ff',
  3609. '#0010ff',
  3610. '#001cff',
  3611. '#002cff',
  3612. '#0038ff',
  3613. '#0048ff',
  3614. '#0058ff',
  3615. '#0064ff',
  3616. '#0074ff',
  3617. '#0080ff',
  3618. '#0090ff',
  3619. '#00a0ff',
  3620. '#00acff',
  3621. '#00bcff',
  3622. '#00c8ff',
  3623. '#00d8ff',
  3624. '#02e8f4',
  3625. '#0cf4eb',
  3626. '#19ffde',
  3627. '#23ffd4',
  3628. '#30ffc7',
  3629. '#3cffba',
  3630. '#46ffb1',
  3631. '#53ffa4',
  3632. '#5dff9a',
  3633. '#6aff8d',
  3634. '#77ff80',
  3635. '#80ff77',
  3636. '#8dff6a',
  3637. '#9aff5d',
  3638. '#a4ff53',
  3639. '#b1ff46',
  3640. '#baff3c',
  3641. '#c7ff30',
  3642. '#d4ff23',
  3643. '#deff19',
  3644. '#ebff0c',
  3645. '#f4f802',
  3646. '#ffea00',
  3647. '#ffdb00',
  3648. '#ffd000',
  3649. '#ffc100',
  3650. '#ffb600',
  3651. '#ffa700',
  3652. '#ff9800',
  3653. '#ff8d00',
  3654. '#ff7e00',
  3655. '#ff7300',
  3656. '#ff6400',
  3657. '#ff5500',
  3658. '#ff4a00',
  3659. '#ff3b00',
  3660. '#ff3000',
  3661. '#ff2200',
  3662. '#ff1300',
  3663. '#f10800',
  3664. '#df0000',
  3665. '#d10000',
  3666. '#bf0000',
  3667. '#ad0000',
  3668. '#9f0000',
  3669. '#8d0000',
  3670. '#800000']
  3671. }
  3672. var min_pac = 0;
  3673. var max_pac = 10.0;
  3674. function myTimer() {
  3675. var dataToSend = {};
  3676. var object;
  3677. var colour;
  3678. var value;
  3679. $.ajax({
  3680. url: '/getdata/',
  3681. type: 'GET',
  3682. data: dataToSend,
  3683. success: function (response) {
  3684. //var objresponse = JSON.parse(response);
  3685. console.log(response);
  3686. data = response;
  3687. var obj = response;
  3688. for (var prop in obj) {
  3689. value = obj[prop];
  3690. if (prop == "time") {
  3691. $("#slider-tooltip").text(value);
  3692. } else {
  3693. var mode = $('input[type=radio][name=moduleMode]:checked').val();
  3694. current_type = prop.split("_")[0][1];
  3695. current_array = parseInt(prop.split("_")[3]) - 1;
  3696. if (mode == "0") {
  3697. legend_object = scene.getObjectByName( "legend", true );
  3698. if (legend_object) {
  3699. scene.remove(legend_object);
  3700. }
  3701. //animate();
  3702. if (value <= 0) {
  3703. colour = "0xff0000";
  3704. } else {
  3705. //colour = "0x242b72";
  3706. colour = "0x00ff00";
  3707. }
  3708. } else if (mode == "1") {
  3709. legend_object = scene.getObjectByName( "legend", true );
  3710. if (!legend_object) {
  3711. lut = new THREE.Lut( 'rainbow', 512 );
  3712. lut.setMax( 2000 );
  3713. lut.setMin( 0 );
  3714. legend = lut.setLegendOn();
  3715. legend.name = "legend";
  3716. scene.add(legend);
  3717. }
  3718. // Type D need to half them
  3719. if (current_type == "D") {
  3720. pNorm = value / ( parseFloat(powerPeak[current_array]));
  3721. } else {
  3722. pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
  3723. }
  3724. //pNorm = value / parseFloat(powerPeak[current_array]);
  3725. if (pNorm > 1.0) {
  3726. pNorm = 1.0;
  3727. }
  3728. if (pNorm < 0.0) {
  3729. pNorm = 0.0;
  3730. }
  3731. colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
  3732. colour = "0x" + colour.substring(1);
  3733. if (typeFlag == true && current_type != typeValue) {
  3734. colour = "0xaaaaaa";
  3735. }
  3736. }
  3737. object = scene.getObjectByName( prop, true );
  3738. if (object) {
  3739. object.material.color.setHex( colour );
  3740. }
  3741. }
  3742. }
  3743. },
  3744. error: function () {
  3745. console.log("Error.")
  3746. }
  3747. });
  3748. }
  3749. });
  3750. </script>
  3751. </body>
  3752. </html>