1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>The Vault GUI</title>
- <link rel="stylesheet" href="{{ static_url("style.css") }}">
- <link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
- <!--[if lt IE 9]>
- <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- </head>
- <body>
- <div id="kit-logo"><img src="{{ static_url("kit_logo.svg") }}" height:5%></div>
- <div id="competence-logo"><img src="{{ static_url("CompetenceE-Logo.png") }}" height=100></div>
- <div id="ipe-logo"><img src="{{ static_url("IPE-Logo.png") }}" height=100></div>
- <div id="container"></div>
- <!--<div id="slider"></div>-->
- <div id="slider-tooltip"></div>
- <div id="obj-tooltip">Module: </div>
- <div id="val-tooltip">Power: </div>
- <div id="ts-tooltip">Last fetched (ADEI): </div>
- <div id="delta-tooltip">Delta Time: </div>
- <!--<div id="stat-tooltip">Status: </div>-->
- <div class="window-item window-unitem" id="message">
- <div class="bar-header">
- <div class="bar-title noselect">Message Log</div>
-
- <div class="bar-dropdown noselect">^</div>
- <div class="bar-close noselect">×</div>
- </div>
- <div class="bar-message">
- <div class="bar-wrapper" style="height:200px; overflow-y:scroll;">
- </div>
- </div>
- </div>
-
- <div class="window-item window-unitem" id="settings">
- <div class="bar-header">
- <div class="bar-title noselect">Settings</div>
-
- <div class="bar-dropdown noselect">^</div>
- <div class="bar-close noselect">×</div>
- </div>
- <div class="bar-settings">
- <div class="bar-wrapper">
- <div class="bar-setup">
-
- <span class="bl bar-hl">Select modes</span>
- <span class="br bar-info">
- <input type="radio" name="moduleMode" value="0" checked>On/Off<br>
- <input type="radio" name="moduleMode" value="1">Gradient
- </span>
- </div>
-
- <div class="bar-setup">
-
- <span class="bl bar-hl">Show array number</span>
- <span class="br bar-info">
- <input type="checkbox" id="mylabel">
- </span>
- </div>
- <div class="bar-setup">
- <span class="bl bar-hl">Show inverter type</span>
- <span class="br bar-info">
- <input type="checkbox" id="myType">
- </span>
- </div>
- <div class="bar-setup">
- <span class="bl bar-hl"></span>
- <span class="br bar-info">
- <input type="radio" name="moduleType" value="A">A<br>
- <input type="radio" name="moduleType" value="B">B<br>
- <input type="radio" name="moduleType" value="C">C<br>
- <input type="radio" name="moduleType" value="D">D
- </span>
-
- </div>
- </div>
- </div>
- </div>
-
- <div class="window-item" id="orientation">
- <div class="bar-header">
- <div class="bar-title noselect">Orientation</div>
-
- <div class="bar-dropdown noselect">^</div>
- <div class="bar-close noselect">×</div>
- </div>
- <div class="bar-orientation">
- <canvas class="bar-wrapper" id="compass" width="200" height="180"></canvas>
- </div>
- </div>
-
-
- <div id="window-tab">
- <div id="offMessage" class="noselect bar-pil">Message Log</div>
- <div id="offSettings" class="noselect bar-pil">Settings</div>
- <div id="offOrientation" class="noselect bar-pil">Orientation</div>
- <!--<div id="offSettings" class="noselect bar-pil">Settings</div>-->
- </div>
-
- <div class="window-cp" id="control-panel">
- <div class="bar-header">
- <div id="toggleGUI" class="bar-button noselect">Show/Hide GUI</div>
- <div id="showTabs" class="bar-button noselect">Windows</div>
- <!--<div id="runSimulation" class="bar-button noselect">Run</div>-->
- <!---
- <div id="testTrigger" class="bar-button noselect">Test Trigger</div>
- -->
- </div>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
- <script src="{{ static_url("scripts.js") }}"></script>
- <script src="{{ static_url("three.min.js") }}"></script>
- <script src="{{ static_url("Lut.js") }}"></script>
- <script src="{{ static_url("OrbitControls.js") }}"></script>
- <script>
- // Global variable
- var img = null,
- needle = null,
- ctx = null;
- function clearCanvas() {
- // clear canvas
- ctx.clearRect(0, 0, 200, 200);
- }
- function draw(degrees) {
- //console.log("Draw degree");
- //console.log(degrees);
- clearCanvas();
- // Draw the compass onto the canvas
- ctx.drawImage(img, 0, 0);
- // Save the current drawing state
- ctx.save();
- // Now move across and down half the
- ctx.translate(100, 100);
- // Rotate around this point
- ctx.rotate(degrees * (Math.PI / 180));
- // Draw the image back and up
- ctx.drawImage(needle, -100, -100);
- // Restore the previous drawing state
- ctx.restore();
- // Increment the angle of the needle by 5 degrees
- //degrees += 5;
- }
- function imgLoaded() {
- // Image loaded event complete. Start the timer
- draw(myvalue);
- //setInterval(draw, 100);
- }
- function init() {
- // Grab the compass element
- var canvas = document.getElementById('compass');
- // Canvas supported?
- if (canvas.getContext('2d')) {
- ctx = canvas.getContext('2d');
- // Load the needle image
- needle = new Image();
- needle.src = '{{ static_url("needle_01.svg") }}';
- // Load the compass image
- img = new Image();
- img.src = '{{ static_url("compass_01.svg") }}';
- img.onload = imgLoaded;
- } else {
- alert("Canvas not supported!");
- }
- }
- var myvalue = 0;
- init();
-
-
- </script>
- <!--
- <script src="https://dl.dropboxusercontent.com/u/3587259/Code/Threejs/CSS3DRenderer.js"></script>
- -->
- <script>
- var camera, scene, renderer;
- var container;
- var mycontrol;
- var enableControls = true;
- var enableRotate = false;
- var data = [];
- var labelFlag;
- var raycaster = new THREE.Raycaster();
- var mouse = new THREE.Vector2();
- $("#mylabel").change(function() {
- if(this.checked) {
- labelFlag = true;
- } else {
- labelFlag = false;
- }
- });
-
- function onMouseMove( event ) {
- // calculate mouse position in normalized device coordinates
- // (-1 to +1) for both components
- mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1;
- mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1;
- }
- init();
- animate();
- window.addEventListener( 'mousemove', onMouseMove, false );
- function createLabel(name) {
- var text2 = document.createElement('div');
- text2.style.position = 'absolute';
- //text2.style.zIndex = 1; // if you still don't see the label, try uncommenting this
- text2.style.fontSize = "12px";
- text2.style.width = 100;
- text2.style.height = 100;
- text2.style.padding = "2px";
- text2.style.backgroundColor = '#303030';
- text2.style.color = '#fff';
- text2.innerHTML = name;
- //text2.style.top = 200 + 'px';
- //text2.style.left = 200 + 'px';
- text2.id = "text"+name;
- document.body.appendChild(text2);
- }
-
- function init() {
- setMessage("3D", "Initialization.");
- scene = new THREE.Scene();
-
- camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 1, 10000);
- camera.position.set(0, 45, 100);
- camera.lookAt(scene.position);
- container = document.getElementById( 'container' );
- document.body.appendChild( container );
- renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
- //renderer = new THREE.CSS3DRenderer();
- renderer.setSize(window.innerWidth, window.innerHeight);
- renderer.setClearColor( 0xffffff, 0);
- container.appendChild(renderer.domElement);
- mycontrol = new THREE.OrbitControls( camera );
- var size = 40, step = 1;
-
- var geometry = new THREE.Geometry();
- var material = new THREE.LineBasicMaterial({color: 0xe3e3e3, linewidth: 1, fog:true});
- for ( var i = - size; i <= size; i += step ) {
- geometry.vertices.push(new THREE.Vector3( -size, -0.04, i ));
- geometry.vertices.push(new THREE.Vector3( size, -0.04, i ));
-
- geometry.vertices.push(new THREE.Vector3( i, -0.04, -size ));
- geometry.vertices.push(new THREE.Vector3( i, -0.04, size ));
- }
- var line = new THREE.LineSegments( geometry, material );
- scene.add(line);
-
- setMessage("3D", "Added grid plane.");
- /*
- var geometry = new THREE.BoxGeometry( 1, 1, 1 );
- var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
- var cube = new THREE.Mesh( geometry, material );
- */
-
- var light = new THREE.DirectionalLight( 0xffffff );
- light.position.set( 0, 1, 1 ).normalize();
- scene.add(light);
- setMessage("3D", "Added directional light.");
-
- pv001 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv001.position.set(-18, 0.5, 29);
- pv001.rotateY( Math.PI / 3 );
- pv001.rotateX( Math.PI / 12);
- pv001.name = "2A_15_60e_001_02";
- scene.add(pv001);
- setMessage("3D", "Loaded PV001.");
- createLabel("001");
- pv002 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv002.position.set(-14, 0.5, 30);
- pv002.rotateY( Math.PI / 3 );
- pv002.rotateX( Math.PI / 12);
- pv002.name = "5A_15_60e_002_02";
- scene.add(pv002);
- setMessage("3D", "Loaded PV002.");
- createLabel("002");
- pv003 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv003.position.set(9.5, 0.5, 2);
- pv003.rotateY( Math.PI / 3 );
- pv003.rotateX( Math.PI / 6);
- pv003.name = "6A_30_60e_003_02";
- scene.add(pv003);
- setMessage("3D", "Loaded PV003.");
- createLabel("003");
- pv004 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv004.position.set(6, 0.5, 1);
- pv004.rotateY( Math.PI / 3 );
- pv004.rotateX( Math.PI / 6);
- pv004.name = "1A_30_60e_004_02";
- scene.add(pv004);
- setMessage("3D", "Loaded PV004.");
- createLabel("004");
- pv005 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv005.position.set(-8, 0.5, -3);
- pv005.rotateY( Math.PI / 3 );
- pv005.rotateX( Math.PI / 4);
- pv005.name = "6A_45_60e_005_02";
- scene.add(pv005);
- setMessage("3D", "Loaded PV005.");
- createLabel("005");
- pv006 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv006.position.set(-4.5, 0.5, -2);
- pv006.rotateY( Math.PI / 3 );
- pv006.rotateX( Math.PI / 4);
- pv006.name = "1A_45_60e_006_02";
- scene.add(pv006);
- setMessage("3D", "Loaded PV006.");
- createLabel("006");
- pv007 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv007.position.set(-5, 0.5, -16);
- pv007.rotateY( Math.PI / 3 );
- pv007.rotateX( Math.PI / 3);
- pv007.name = "6C_60_60e_007_02";
- scene.add(pv007);
- setMessage("3D", "Loaded PV007.");
- createLabel("007");
- pv008 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv008.position.set(-7, 0.5, -9);
- pv008.rotateY( Math.PI / 3 );
- pv008.rotateX( Math.PI / 3);
- pv008.name = "1C_60_60e_008_02";
- scene.add(pv008);
- setMessage("3D", "Loaded PV008.");
- createLabel("008");
- pv009 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv009.position.set(13, 0.5, 3);
- pv009.rotateY( Math.PI / 4 );
- pv009.rotateX( Math.PI / 12);
- pv009.name = "2A_15_45e_009_02";
- scene.add(pv009);
- setMessage("3D", "Loaded PV009.");
- createLabel("009");
- pv010 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv010.position.set(18, 0.5, 4);
- pv010.rotateY( Math.PI / 4 );
- pv010.rotateX( Math.PI / 12);
- pv010.name = "1A_15_45e_010_02";
- scene.add(pv010);
- setMessage("3D", "Loaded PV010.");
- createLabel("010");
- pv011 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv011.position.set(3.5, 0.5, -0.5);
- pv011.rotateY( Math.PI / 4 );
- pv011.rotateX( Math.PI / 12);
- pv011.name = "4A_15_45e_011_02";
- scene.add(pv011);
- setMessage("3D", "Loaded PV011.");
- createLabel("011");
- pv012 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv012.position.set(17, 0.5, -1);
- pv012.rotateY( Math.PI / 4 );
- pv012.rotateX( Math.PI / 6);
- pv012.name = "6A_30_45e_012_02";
- scene.add(pv012);
- setMessage("3D", "Loaded PV012.");
- createLabel("012");
- pv013 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv013.position.set(-2, 0.5, -1);
- pv013.rotateY( Math.PI / 4 );
- pv013.rotateX( Math.PI / 6);
- pv013.name = "2A_30_45e_013_02";
- scene.add(pv013);
- setMessage("3D", "Loaded PV013.");
- createLabel("013");
- pv014 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv014.position.set(9, 0.5, -3);
- pv014.rotateY( Math.PI / 4 );
- pv014.rotateX( Math.PI / 4);
- pv014.name = "2A_45_45e_014_02";
- scene.add(pv014);
- setMessage("3D", "Loaded PV014.");
- createLabel("014");
- pv015 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv015.position.set(12.5, 0.5, -2);
- pv015.rotateY( Math.PI / 4 );
- pv015.rotateX( Math.PI / 4);
- pv015.name = "4A_45_45e_015_02";
- scene.add(pv015);
- setMessage("3D", "Loaded PV015.");
- createLabel("015");
- pv016 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv016.position.set(-1, 0.5, -22);
- pv016.rotateY( Math.PI / 4 );
- pv016.rotateX( Math.PI / 3);
- pv016.name = "6A_60_45e_016_02";
- scene.add(pv016);
- setMessage("3D", "Loaded PV016.");
- createLabel("016");
- pv017 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv017.position.set(-2, 0.5, -26);
- pv017.rotateY( Math.PI / 4 );
- pv017.rotateX( Math.PI / 3);
- pv017.name = "2A_60_45e_017_02";
- scene.add(pv017);
- setMessage("3D", "Loaded PV017.");
- createLabel("017");
- pv018 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv018.position.set(-8.5, 0.5, 23);
- pv018.rotateY( Math.PI / 6 );
- pv018.rotateX( Math.PI / 12);
- pv018.name = "3A_15_30e_018_02";
- scene.add(pv018);
- setMessage("3D", "Loaded PV018.");
- createLabel("018");
- pv019 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv019.position.set(-10, 0.5, 26.5);
- pv019.rotateY( Math.PI / 6 );
- pv019.rotateX( Math.PI / 12);
- pv019.name = "1A_15_30e_019_02";
- scene.add(pv019);
- setMessage("3D", "Loaded PV019.");
- createLabel("019");
- pv020 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv020.position.set(6, 0.5, 14);
- pv020.rotateY( Math.PI / 6 );
- pv020.rotateX( Math.PI / 12);
- pv020.name = "1B_15_30e_020_02";
- scene.add(pv020);
- setMessage("3D", "Loaded PV020.");
- createLabel("020");
- pv021 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv021.position.set(12, 0.5, 19);
- pv021.rotateY( Math.PI / 6 );
- pv021.rotateX( Math.PI / 12);
- pv021.name = "1D_15_30e_021_02";
- scene.add(pv021);
- setMessage("3D", "Loaded PV021.");
- createLabel("021");
- pv022 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv022.position.set(6, 0.5, 17);
- pv022.rotateY( Math.PI / 6 );
- pv022.rotateX( Math.PI / 12);
- pv022.name = "1C_15_30e_022_02";
- scene.add(pv022);
- setMessage("3D", "Loaded PV022.");
- createLabel("022");
- pv023 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv023.position.set(9, 0.5, 18);
- pv023.rotateY( Math.PI / 6 );
- pv023.rotateX( Math.PI / 12);
- pv023.name = "5A_15_30e_023_02";
- scene.add(pv023);
- setMessage("3D", "Loaded PV023.");
- createLabel("023");
- pv024 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv024.position.set(-16, 0.5, 24);
- pv024.rotateY( Math.PI / 6 );
- pv024.rotateX( Math.PI / 6);
- pv024.name = "6D_30_30e_024_02";
- scene.add(pv024);
- setMessage("3D", "Loaded PV024.");
- createLabel("024");
- pv025 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv025.position.set(-15, 0.5, 26);
- pv025.rotateY( Math.PI / 6 );
- pv025.rotateX( Math.PI / 6);
- pv025.name = "3D_30_30e_025_02";
- scene.add(pv025);
- setMessage("3D", "Loaded PV025.");
- createLabel("025");
- pv026 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv026.position.set(1.5, 0.5, -7.5);
- pv026.rotateY( Math.PI / 6 );
- pv026.rotateX( Math.PI / 4);
- pv026.name = "6A_45_30e_026_02";
- scene.add(pv026);
- setMessage("3D", "Loaded PV026.");
- createLabel("026");
- pv027 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv027.position.set(-3, 0.5, -8.5);
- pv027.rotateY( Math.PI / 6 );
- pv027.rotateX( Math.PI / 4);
- pv027.name = "3A_45_30e_027_02";
- scene.add(pv027);
- setMessage("3D", "Loaded PV027.");
- createLabel("027");
- pv028 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv028.position.set(3, 0.5, -4.5);
- pv028.rotateY( Math.PI / 6 );
- pv028.rotateX( Math.PI / 4);
- pv028.name = "1A_45_30e_028_02";
- scene.add(pv028);
- setMessage("3D", "Loaded PV028.");
- createLabel("028");
- pv029 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv029.position.set(3, 0.5, -25);
- pv029.rotateY( Math.PI / 6 );
- pv029.rotateX( Math.PI / 3);
- pv029.name = "6A_60_30e_029_02";
- scene.add(pv029);
- setMessage("3D", "Loaded PV029.");
- createLabel("029");
- pv030 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv030.position.set(1, 0.5, -13);
- pv030.rotateY( Math.PI / 6 );
- pv030.rotateX( Math.PI / 3);
- pv030.name = "3A_60_30e_030_02";
- scene.add(pv030);
- setMessage("3D", "Loaded PV030.");
- createLabel("030");
- pv031 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv031.position.set(0, 0.5, -16);
- pv031.rotateY( Math.PI / 6 );
- pv031.rotateX( Math.PI / 3);
- pv031.name = "1A_60_30e_031_02";
- scene.add(pv031);
- setMessage("3D", "Loaded PV031.");
- createLabel("031");
- pv032 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv032.position.set(7, 0.5, 10.5);
- pv032.rotateY( Math.PI / 12 );
- pv032.rotateX( Math.PI / 12);
- pv032.name = "3A_15_15e_032_02";
- scene.add(pv032);
- setMessage("3D", "Loaded PV032.");
- createLabel("032");
- pv033 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv033.position.set(-10, 0.5, 29.5);
- pv033.rotateY( Math.PI / 12 );
- pv033.rotateX( Math.PI / 12);
- pv033.name = "1B_15_15e_033_02";
- scene.add(pv033);
- setMessage("3D", "Loaded PV033.");
- createLabel("033");
-
- pv034 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv034.position.set(-11, 0.5, 31.5);
- pv034.rotateY( Math.PI / 12 );
- pv034.rotateX( Math.PI / 12);
- pv034.name = "4B_15_15e_034_02";
- scene.add(pv034);
- setMessage("3D", "Loaded PV034.");
- createLabel("034");
- pv035 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv035.position.set(-13, 0.5, 19);
- pv035.rotateY( Math.PI / 12 );
- pv035.rotateX( Math.PI / 6);
- pv035.name = "3A_30_15e_035_02";
- scene.add(pv035);
- setMessage("3D", "Loaded PV035.");
- createLabel("035");
- pv036 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv036.position.set(-13, 0.5, 21);
- pv036.rotateY( Math.PI / 12 );
- pv036.rotateX( Math.PI / 6);
- pv036.name = "1A_30_15e_036_02";
- scene.add(pv036);
- setMessage("3D", "Loaded PV036.");
- createLabel("036");
- pv037 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv037.position.set(-7, 0.5, 20);
- pv037.rotateY( Math.PI / 12 );
- pv037.rotateX( Math.PI / 6);
- pv037.name = "5A_30_15e_037_02";
- scene.add(pv037);
- setMessage("3D", "Loaded PV037.");
- createLabel("037");
- pv038 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv038.position.set(8, 0.5, -14);
- pv038.rotateY( Math.PI / 12 );
- pv038.rotateX( Math.PI / 4);
- pv038.name = "3A_45_15e_038_02";
- scene.add(pv038);
- setMessage("3D", "Loaded PV038.");
- createLabel("038");
- pv039 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv039.position.set(8, 0.5, -10);
- pv039.rotateY( Math.PI / 12 );
- pv039.rotateX( Math.PI / 4);
- pv039.name = "1A_45_15e_039_02";
- scene.add(pv039);
- setMessage("3D", "Loaded PV039.");
- createLabel("039");
- pv040 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv040.position.set(9, 0.5, -6.5);
- pv040.rotateY( Math.PI / 12 );
- pv040.rotateX( Math.PI / 4);
- pv040.name = "4A_45_15e_040_02";
- scene.add(pv040);
- setMessage("3D", "Loaded PV040.");
- createLabel("040");
- pv041 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv041.position.set(4, 0.5, -20.5);
- pv041.rotateY( Math.PI / 12 );
- pv041.rotateX( Math.PI / 3);
- pv041.name = "6A_60_15e_041_02";
- scene.add(pv041);
- setMessage("3D", "Loaded PV041.");
- createLabel("041");
- pv042 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv042.position.set(9, 0.5, -22);
- pv042.rotateY( Math.PI / 12 );
- pv042.rotateX( Math.PI / 3);
- pv042.name = "3A_60_15e_042_02";
- scene.add(pv042);
- setMessage("3D", "Loaded PV042.");
- createLabel("042");
- pv043 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv043.position.set(8, 0.5, -17.5);
- pv043.rotateY( Math.PI / 12 );
- pv043.rotateX( Math.PI / 3);
- pv043.name = "1A_60_15e_043_02";
- scene.add(pv043);
- setMessage("3D", "Loaded PV043.");
- createLabel("043");
- pv044 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv044.position.set(2, 0.5, 33);
- pv044.rotateY( Math.PI );
- pv044.rotateX( 11 * Math.PI / 12);
- pv044.name = "3B_15_00s_044_02";
- scene.add(pv044);
- setMessage("3D", "Loaded PV044.");
- createLabel("044");
- pv045 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv045.position.set(5, 0.5, 34.5);
- pv045.rotateY( Math.PI );
- pv045.rotateX( 11 * Math.PI / 12);
- pv045.name = "4B_15_00s_045_02";
- scene.add(pv045);
- setMessage("3D", "Loaded PV045.");
- createLabel("045");
- pv046 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv046.position.set(-1, 0.5, 35);
- pv046.rotateY( Math.PI );
- pv046.rotateX( 89 * Math.PI / 90);
- pv046.name = "6A_02_00s_046_02";
- scene.add(pv046);
- setMessage("3D", "Loaded PV046.");
- createLabel("046");
- pv047 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv047.position.set(3, 0.5, 36);
- pv047.rotateY( Math.PI );
- pv047.rotateX( 89 * Math.PI / 90);
- pv047.name = "2A_02_00s_047_02";
- scene.add(pv047);
- setMessage("3D", "Loaded PV047.");
- createLabel("047");
- pv048 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv048.position.set(6, 0.5, 37);
- pv048.rotateY( Math.PI );
- pv048.rotateX( 89 * Math.PI / 90);
- pv048.name = "1A_02_00s_048_02";
- scene.add(pv048);
- setMessage("3D", "Loaded PV048.");
- createLabel("048");
- pv049 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv049.position.set(-11, 0.5, 14);
- pv049.rotateY( Math.PI );
- pv049.rotateX( 5 * Math.PI / 6);
- pv049.name = "3C_30_00s_049_02";
- scene.add(pv049);
- setMessage("3D", "Loaded PV049.");
- createLabel("049");
- pv050 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv050.position.set(-10.5, 0.5, 11);
- pv050.rotateY( Math.PI );
- pv050.rotateX( 5 * Math.PI / 6);
- pv050.name = "1A_30_00s_050_02";
- scene.add(pv050);
- setMessage("3D", "Loaded PV050.");
- createLabel("050");
- pv051 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv051.position.set(8, 0.5, 7.5);
- pv051.rotateY( Math.PI );
- pv051.rotateX( 5 * Math.PI / 6);
- pv051.name = "1B_30_00s_051_02";
- scene.add(pv051);
- setMessage("3D", "Loaded PV051.");
- createLabel("051");
- pv052 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv052.position.set(-10, 0.5, 8);
- pv052.rotateY( Math.PI );
- pv052.rotateX( 5 * Math.PI / 6);
- pv052.name = "1D_30_00s_052_02";
- scene.add(pv052);
- setMessage("3D", "Loaded PV052.");
- createLabel("052");
- pv053 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv053.position.set(3, 0.5, 25);
- pv053.rotateY( Math.PI );
- pv053.rotateX( 5 * Math.PI / 6);
- pv053.name = "1C_30_00s_053_02";
- scene.add(pv053);
- setMessage("3D", "Loaded PV053.");
- createLabel("053");
- pv054 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv054.position.set(2.5, 0.5, 28);
- pv054.rotateY( Math.PI );
- pv054.rotateX( 5 * Math.PI / 6);
- pv054.name = "4D_30_00s_054_02";
- scene.add(pv054);
- setMessage("3D", "Loaded PV054.");
- createLabel("054");
- pv055 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv055.position.set(15, 0.5, -7);
- pv055.rotateY( Math.PI );
- pv055.rotateX( 3 * Math.PI / 4);
- pv055.name = "3A_45_00s_055_02";
- scene.add(pv055);
- setMessage("3D", "Loaded PV055.");
- createLabel("055");
- pv056 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv056.position.set(15, 0.5, -11);
- pv056.rotateY( Math.PI );
- pv056.rotateX( 3 * Math.PI / 4);
- pv056.name = "4A_45_00s_056_02";
- scene.add(pv056);
- setMessage("3D", "Loaded PV056.");
- createLabel("056");
- pv057 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv057.position.set(9, 0.5, -27.5);
- pv057.rotateY( Math.PI );
- pv057.rotateX( 2 * Math.PI / 3);
- pv057.name = "6A_60_00s_057_02";
- scene.add(pv057);
- setMessage("3D", "Loaded PV057.");
- createLabel("057");
- pv058 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv058.position.set(0, 0.5, -30);
- pv058.rotateY( Math.PI );
- pv058.rotateX( 2 * Math.PI / 3);
- pv058.name = "3A_60_00s_058_02";
- scene.add(pv058);
- setMessage("3D", "Loaded PV058.");
- createLabel("058");
- pv059 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv059.position.set(8, 0.5, 25.5);
- pv059.rotateY( 11 * Math.PI / 12 );
- pv059.rotateX( 11 * Math.PI / 12);
- pv059.name = "3B_15_15w_059_02";
- scene.add(pv059);
- setMessage("3D", "Loaded PV059.");
- createLabel("059");
- pv060 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv060.position.set(2.5, 0.5, 31);
- pv060.rotateY( 11 * Math.PI / 12 );
- pv060.rotateX( 11 * Math.PI / 12);
- pv060.name = "1B_15_15w_060_02";
- scene.add(pv060);
- setMessage("3D", "Loaded PV060.");
- createLabel("060");
- pv061 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv061.position.set(9.5, 0.5, 35.5);
- pv061.rotateY( 11 * Math.PI / 12 );
- pv061.rotateX( 11 * Math.PI / 12);
- pv061.name = "4B_15_15w_061_02";
- scene.add(pv061);
- setMessage("3D", "Loaded PV061.");
- createLabel("061");
- pv062 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv062.position.set(8, 0.5, 22.15);
- pv062.rotateY( 11 * Math.PI / 12 );
- pv062.rotateX( 5 * Math.PI / 6);
- pv062.name = "3A_30_15w_062_02";
- scene.add(pv062);
- setMessage("3D", "Loaded PV062.");
- createLabel("062");
- pv063 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv063.position.set(12.5, 0.5, 23.25);
- pv063.rotateY( 11 * Math.PI / 12 );
- pv063.rotateX( 5 * Math.PI / 6);
- pv063.name = "1A_30_15w_063_02";
- scene.add(pv063);
- setMessage("3D", "Loaded PV063.");
- createLabel("063");
- pv064 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv064.position.set(3.5, 0.5, 21);
- pv064.rotateY( 11 * Math.PI / 12 );
- pv064.rotateX( 5 * Math.PI / 6);
- pv064.name = "5A_30_15w_064_02";
- scene.add(pv064);
- setMessage("3D", "Loaded PV064.");
- createLabel("064");
- pv065 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv065.position.set(16, 0.5, -19);
- pv065.rotateY( 11 * Math.PI / 12 );
- pv065.rotateX( 3 * Math.PI / 4);
- pv065.name = "3A_45_15w_065_02";
- scene.add(pv065);
- setMessage("3D", "Loaded PV065.");
- createLabel("065");
- pv066 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv066.position.set(17, 0.5, -22);
- pv066.rotateY( 11 * Math.PI / 12 );
- pv066.rotateX( 3 * Math.PI / 4);
- pv066.name = "1A_45_15w_066_02";
- scene.add(pv066);
- setMessage("3D", "Loaded PV066.");
- createLabel("066");
- pv067 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv067.position.set(15, 0.5, -15);
- pv067.rotateY( 11 * Math.PI / 12 );
- pv067.rotateX( 3 * Math.PI / 4);
- pv067.name = "4A_45_15w_067_02";
- scene.add(pv067);
- setMessage("3D", "Loaded PV067.");
- createLabel("067");
- pv068 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv068.position.set(15, 0.5, -27);
- pv068.rotateY( 11 * Math.PI / 12 );
- pv068.rotateX( 2 * Math.PI / 3);
- pv068.name = "6A_60_15w_068_02";
- scene.add(pv068);
- setMessage("3D", "Loaded PV068.");
- createLabel("068");
- pv069 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv069.position.set(20, 0.5, -25.75);
- pv069.rotateY( 11 * Math.PI / 12 );
- pv069.rotateX( 2 * Math.PI / 3);
- pv069.name = "3A_60_15w_069_02";
- scene.add(pv069);
- setMessage("3D", "Loaded PV069.");
- createLabel("069");
- pv070 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv070.position.set(25, 0.5, -24.5);
- pv070.rotateY( 11 * Math.PI / 12 );
- pv070.rotateX( 2 * Math.PI / 3);
- pv070.name = "1A_60_15w_070_02";
- scene.add(pv070);
- setMessage("3D", "Loaded PV070.");
- createLabel("070");
- pv071 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv071.position.set(17, 0.5, 25);
- pv071.rotateY( 11 * Math.PI / 6 );
- pv071.rotateX( Math.PI / 12);
- pv071.name = "3A_15_30w_071_02";
- scene.add(pv071);
- setMessage("3D", "Loaded PV071.");
- createLabel("071");
- pv072 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv072.position.set(6.75, 0.5, 32.5);
- pv072.rotateY( 11 * Math.PI / 6 );
- pv072.rotateX( Math.PI / 12);
- pv072.name = "1A_15_30w_072_02";
- scene.add(pv072);
- setMessage("3D", "Loaded PV072.");
- createLabel("072");
- pv073 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv073.position.set(10.5, 0.5, 38.25);
- pv073.rotateY( 11 * Math.PI / 6 );
- pv073.rotateX( Math.PI / 12);
- pv073.name = "1B_15_30w_073_02";
- scene.add(pv073);
- setMessage("3D", "Loaded PV073.");
- createLabel("073");
- pv074 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv074.position.set(12.5, 0.5, 27.5);
- pv074.rotateY( 11 * Math.PI / 6 );
- pv074.rotateX( Math.PI / 12);
- pv074.name = "1D_15_30w_074_02";
- scene.add(pv074);
- setMessage("3D", "Loaded PV074.");
- createLabel("074");
- pv075 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv075.position.set(7.5, 0.5, 29.5);
- pv075.rotateY( 11 * Math.PI / 6 );
- pv075.rotateX( Math.PI / 12);
- pv075.name = "1C_15_30w_075_02";
- scene.add(pv075);
- createLabel("075");
- pv076 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv076.position.set(11, 0.5, 33.5);
- pv076.rotateY( 11 * Math.PI / 6 );
- pv076.rotateX( Math.PI / 12);
- pv076.name = "5D_15_30w_076_02";
- scene.add(pv076);
- setMessage("3D", "Loaded PV076.");
- createLabel("076");
- pv077 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv077.position.set(13, 0.5, 12);
- pv077.rotateY( 11 * Math.PI / 6 );
- pv077.rotateX( Math.PI / 6);
- pv077.name = "6D_30_30w_077_02";
- scene.add(pv077);
- setMessage("3D", "Loaded PV077.");
- createLabel("077");
- pv078 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv078.position.set(12, 0.5, 15);
- pv078.rotateY( 11 * Math.PI / 6 );
- pv078.rotateX( Math.PI / 6);
- pv078.name = "3D_30_30w_078_02";
- scene.add(pv078);
- setMessage("3D", "Loaded PV078.");
- createLabel("078");
- pv079 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv079.position.set(14, 0.5, 9);
- pv079.rotateY( 11 * Math.PI / 6 );
- pv079.rotateX( Math.PI / 6);
- pv079.name = "1D_30_30w_079_02";
- scene.add(pv079);
- setMessage("3D", "Loaded PV079.");
- createLabel("079");
- pv080 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv080.position.set(20, 0.5, -4);
- pv080.rotateY( 11 * Math.PI / 6 );
- pv080.rotateX( Math.PI / 4);
- pv080.name = "3A_45_30w_080_02";
- scene.add(pv080);
- setMessage("3D", "Loaded PV080.");
- createLabel("080");
- pv081 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv081.position.set(21, 0.5, -7);
- pv081.rotateY( 11 * Math.PI / 6 );
- pv081.rotateX( Math.PI / 4);
- pv081.name = "1A_45_30w_081_02";
- scene.add(pv081);
- setMessage("3D", "Loaded PV081.");
- createLabel("081");
- pv082 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv082.position.set(21.5, 0.5, -11);
- pv082.rotateY( 11 * Math.PI / 6 );
- pv082.rotateX( Math.PI / 4);
- pv082.name = "5A_45_30w_082_02";
- scene.add(pv082);
- setMessage("3D", "Loaded PV082.");
- createLabel("082");
- pv083 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv083.position.set(24, 0.5, -21);
- pv083.rotateY( 11 * Math.PI / 6 );
- pv083.rotateX( Math.PI / 3);
- pv083.name = "6A_60_30w_083_02";
- scene.add(pv083);
- setMessage("3D", "Loaded PV083.");
- createLabel("083");
- pv084 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv084.position.set(23, 0.5, -18);
- pv084.rotateY( 11 * Math.PI / 6 );
- pv084.rotateX( Math.PI / 3);
- pv084.name = "3A_60_30w_084_02";
- scene.add(pv084);
- setMessage("3D", "Loaded PV084.");
- createLabel("084");
- pv085 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv085.position.set(23, 0.5, -14);
- pv085.rotateY( 11 * Math.PI / 6 );
- pv085.rotateX( Math.PI / 3);
- pv085.name = "1A_60_30w_085_02";
- scene.add(pv085);
- setMessage("3D", "Loaded PV085.");
- createLabel("085");
- pv086 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv086.position.set(12, 0.5, 30.5);
- pv086.rotateY( 7 * Math.PI / 4 );
- pv086.rotateX( Math.PI / 12);
- pv086.name = "2A_15_45w_086_02";
- scene.add(pv086);
- setMessage("3D", "Loaded PV086.");
- createLabel("086");
- pv087 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv087.position.set(16, 0.5, 30.5);
- pv087.rotateY( 7 * Math.PI / 4 );
- pv087.rotateX( Math.PI / 12);
- pv087.name = "1A_15_45w_087_02";
- scene.add(pv087);
- setMessage("3D", "Loaded PV087.");
- createLabel("087");
- pv088 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv088.position.set(17, 0.5, 27.5);
- pv088.rotateY( 7 * Math.PI / 4 );
- pv088.rotateX( Math.PI / 12);
- pv088.name = "4A_15_45w_088_02";
- scene.add(pv088);
- setMessage("3D", "Loaded PV088.");
- createLabel("088");
- pv089 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv089.position.set(20, 0.5, 11);
- pv089.rotateY( 7 * Math.PI / 4 );
- pv089.rotateX( Math.PI / 6);
- pv089.name = "6A_30_45w_089_02";
- scene.add(pv089);
- setMessage("3D", "Loaded PV089.");
- createLabel("089");
- pv090 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv090.position.set(19, 0.5, 14);
- pv090.rotateY( 7 * Math.PI / 4 );
- pv090.rotateX( Math.PI / 6);
- pv090.name = "2A_30_45w_090_02";
- scene.add(pv090);
- setMessage("3D", "Loaded PV090.");
- createLabel("090");
- pv091 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv091.position.set(29, 0.5, -14);
- pv091.rotateY( 7 * Math.PI / 4 );
- pv091.rotateX( Math.PI / 4);
- pv091.name = "2C_45_45w_091_02";
- scene.add(pv091);
- setMessage("3D", "Loaded PV091.");
- createLabel("091");
- pv092 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv092.position.set(23, 0.5, 7);
- pv092.rotateY( 7 * Math.PI / 4 );
- pv092.rotateX( Math.PI / 4);
- pv092.name = "4C_45_45w_092_02";
- scene.add(pv092);
- setMessage("3D", "Loaded PV092.");
- createLabel("092");
- pv093 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv093.position.set(30, 0.5, -18);
- pv093.rotateY( 7 * Math.PI / 4 );
- pv093.rotateX( Math.PI / 3);
- pv093.name = "6A_60_45w_093_02";
- scene.add(pv093);
- setMessage("3D", "Loaded PV093.");
- createLabel("093");
- pv094 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv094.position.set(30, 0.5, -22);
- pv094.rotateY( 7 * Math.PI / 4 );
- pv094.rotateX( Math.PI / 3);
- pv094.name = "2A_60_45w_094_02";
- scene.add(pv094);
- setMessage("3D", "Loaded PV094.");
- createLabel("094");
- pv095 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv095.position.set(15, 0.5, 34);
- pv095.rotateY( 5 * Math.PI / 3);
- pv095.rotateX( Math.PI / 12);
- pv095.name = "6A_15_60w_095_02";
- scene.add(pv095);
- setMessage("3D", "Loaded PV095.");
- createLabel("095");
- pv096 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv096.position.set(14, 0.5, 37);
- pv096.rotateY( 5 * Math.PI / 3);
- pv096.rotateX( Math.PI / 12);
- pv096.name = "2A_15_60w_096_02";
- scene.add(pv096);
- setMessage("3D", "Loaded PV096.");
- createLabel("096");
- pv097 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv097.position.set(16, 0.5, 20);
- pv097.rotateY( 5 * Math.PI / 3);
- pv097.rotateX( Math.PI / 6);
- pv097.name = "6A_30_60w_097_02";
- scene.add(pv097);
- setMessage("3D", "Loaded PV097.");
- createLabel("097");
- pv098 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv098.position.set(17, 0.5, 17);
- pv098.rotateY( 5 * Math.PI / 3);
- pv098.rotateX( Math.PI / 6);
- pv098.name = "1A_30_60w_098_02";
- scene.add(pv098);
- setMessage("3D", "Loaded PV098.");
- createLabel("098");
- pv099 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv099.position.set(25, 0.5, -1);
- pv099.rotateY( 5 * Math.PI / 3);
- pv099.rotateX( Math.PI / 4);
- pv099.name = "6A_45_60w_099_02";
- scene.add(pv099);
- setMessage("3D", "Loaded PV099.");
- createLabel("099");
- pv100 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv100.position.set(22, 0.5, 2);
- pv100.rotateY( 5 * Math.PI / 3);
- pv100.rotateX( Math.PI / 4);
- pv100.name = "1A_45_60w_100_02";
- scene.add(pv100);
- setMessage("3D", "Loaded PV100.");
- createLabel("100");
- pv101 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv101.position.set(28, 0.5, -10);
- pv101.rotateY( 5 * Math.PI / 3);
- pv101.rotateX( Math.PI / 3);
- pv101.name = "2C_60_60w_101_02";
- scene.add(pv101);
- setMessage("3D", "Loaded PV101.");
- createLabel("101");
- pv102 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv102.position.set(26, 0.5, -6);
- pv102.rotateY( 5 * Math.PI / 3);
- pv102.rotateX( Math.PI / 3);
- pv102.name = "1C_60_60w_102_02";
- scene.add(pv102);
- setMessage("3D", "Loaded PV102.");
- createLabel("102");
- /* --------------------------------------------------- */
- pv001a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv001a.position.set(-18.418, 0.6, 28.758);
- pv001a.rotateY( Math.PI / 3 );
- pv001a.rotateX( Math.PI / 12);
- pv001a.name = "2A_15_60e_001_01";
- scene.add(pv001a);
- pv002a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv002a.position.set(-14.418, 0.6, 29.758);
- pv002a.rotateY( Math.PI / 3 );
- pv002a.rotateX( Math.PI / 12);
- pv002a.name = "5A_15_60e_002_01";
- scene.add(pv002a);
- pv003a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv003.position.set(9.5, 0.5, 2);
- pv003a.position.set(9.125, 0.7, 1.783);
- pv003a.rotateY( Math.PI / 3 );
- pv003a.rotateX( Math.PI / 6);
- pv003a.name = "6A_30_60e_003_01";
- scene.add(pv003a);
- pv004a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv004.position.set(6, 0.5, 1);
- pv004a.position.set(5.625, 0.7, 0.783);
- pv004a.rotateY( Math.PI / 3 );
- pv004a.rotateX( Math.PI / 6);
- pv004a.name = "1A_30_60e_004_01";
- scene.add(pv004a);
- pv005a = new THREE.Mesh(
- new THREE.CubeGeometry(4, 0.1, 0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv005a.position.set(-8, 0.5, -3);
- pv005a.position.set(-8.375, 0.8, -3.216);
- pv005a.rotateY( Math.PI / 3 );
- pv005a.rotateX( Math.PI / 4);
- pv005a.name = "6A_45_60e_005_01";
- scene.add(pv005a);
- pv006a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv006a.position.set(-4.5, 0.5, -2);
- pv006a.position.set(-4.806, 0.8, -2.177);
- pv006a.rotateY( Math.PI / 3 );
- pv006a.rotateX( Math.PI / 4);
- pv006a.name = "1A_45_60e_006_01";
- scene.add(pv006a);
- pv007a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv007a.position.set(-5, 0.5, -16);
- pv007a.position.set(-5.216, 0.9, -16.125);
- pv007a.rotateY( Math.PI / 3 );
- pv007a.rotateX( Math.PI / 3);
- pv007a.name = "6C_60_60e_007_01";
- scene.add(pv007a);
- pv008a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv008a.position.set(-7, 0.5, -9);
- pv008a.position.set(-7.216, 0.9, -9.125);
- pv008a.rotateY( Math.PI / 3 );
- pv008a.rotateX( Math.PI / 3);
- pv008a.name = "1C_60_60e_008_01";
- scene.add(pv008a);
- pv009a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv009a.position.set(13, 0.5, 3);
- pv009a.position.set(12.658, 0.6, 2.658);
- pv009a.rotateY( Math.PI / 4 );
- pv009a.rotateX( Math.PI / 12);
- pv009a.name = "2A_15_45e_009_01";
- scene.add(pv009a);
- pv010a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv010a.position.set(17.658, 0.6, 3.658);
- pv010a.rotateY( Math.PI / 4 );
- pv010a.rotateX( Math.PI / 12);
- pv010a.name = "1A_15_45e_010_01";
- scene.add(pv010a);
- pv011a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv011a.position.set(3.5, 0.5, -0.5);
- pv011a.position.set(3.158, 0.6, -0.841);
- pv011a.rotateY( Math.PI / 4 );
- pv011a.rotateX( Math.PI / 12);
- pv011a.name = "4A_15_45e_011_01";
- scene.add(pv011a);
- pv012a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv012a.position.set(17, 0.5, -1);
- pv012a.position.set(16.693, 0.7, -1.306);
- pv012a.rotateY( Math.PI / 4 );
- pv012a.rotateX( Math.PI / 6);
- pv012a.name = "6A_30_45e_012_01";
- scene.add(pv012a);
- pv013a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv013a.position.set(-2, 0.5, -1);
- pv013a.position.set(-2.306, 0.7, -1.306);
- pv013a.rotateY( Math.PI / 4 );
- pv013a.rotateX( Math.PI / 6);
- pv013a.name = "2A_30_45e_013_01";
- scene.add(pv013a);
- pv014a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv014a.position.set(9, 0.5, -3);
- pv014a.position.set(8.75, 0.8, -3.25);
- pv014a.rotateY( Math.PI / 4 );
- pv014a.rotateX( Math.PI / 4);
- pv014a.name = "2A_45_45e_014_01";
- scene.add(pv014a);
- pv015a = new THREE.Mesh(
- new THREE.CubeGeometry(4, 0.1,0.5),
- new THREE.MeshPhongMaterial({
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv015a.position.set(12.5, 0.5, -2);
- pv015a.position.set(12.25, 0.8, -2.25);
- pv015a.rotateY( Math.PI / 4 );
- pv015a.rotateX( Math.PI / 4);
- pv015a.name = "4A_45_45e_015_01";
- scene.add(pv015a);
-
- pv016a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv016a.position.set(-1, 0.5, -22);
- pv016a.position.set(-1.176, 0.9, -22.176);
- pv016a.rotateY( Math.PI / 4 );
- pv016a.rotateX( Math.PI / 3);
- pv016a.name = "6A_60_45e_016_01";
- scene.add(pv016a);
- pv017a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv017a.position.set(-2.176, 0.9, -26.176);
- pv017a.rotateY( Math.PI / 4 );
- pv017a.rotateX( Math.PI / 3);
- pv017a.name = "2A_60_45e_017_01";
- scene.add(pv017a);
- pv018a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv018a.position.set(-8.5, 0.5, 23);
- pv018a.position.set(-8.741, 0.6, 22.581);
- pv018a.rotateY( Math.PI / 6 );
- pv018a.rotateX( Math.PI / 12);
- pv018a.name = "3A_15_30e_018_01";
- scene.add(pv018a);
- pv019a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv019a.position.set(-10, 0.5, 26.5);
- pv019a.position.set(-10.241, 0.6, 26.082);
- pv019a.rotateY( Math.PI / 6 );
- pv019a.rotateX( Math.PI / 12);
- pv019a.name = "1A_15_30e_019_01";
- scene.add(pv019a);
- pv020a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv020a.position.set(6, 0.5, 14);
- pv020a.position.set(5.758, 0.6, 13.582);
- pv020a.rotateY( Math.PI / 6 );
- pv020a.rotateX( Math.PI / 12);
- pv020a.name = "1B_15_30e_020_01";
- scene.add(pv020a);
- pv021a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv021a.position.set(12, 0.5, 19);
- pv021a.position.set(11.785, 0.6, 18.582);
- pv021a.rotateY( Math.PI / 6 );
- pv021a.rotateX( Math.PI / 12);
- pv021a.name = "1D_15_30e_021_01";
- scene.add(pv021a);
- pv022a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv022a.position.set(6, 0.5, 17);
- pv022a.position.set(5.758, 0.6, 16.582);
- pv022a.rotateY( Math.PI / 6 );
- pv022a.rotateX( Math.PI / 12);
- pv022a.name = "1C_15_30e_022_01";
- scene.add(pv022a);
- pv023a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv023a.position.set(9, 0.5, 18);
- pv023a.position.set(8.758, 0.6, 17.582);
- pv023a.rotateY( Math.PI / 6 );
- pv023a.rotateX( Math.PI / 12);
- pv023a.name = "5A_15_30e_023_01";
- scene.add(pv023a);
- pv024a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv024a.position.set(-16, 0.5, 24);
- pv024a.position.set(-16.216, 0.7, 23.625);
- pv024a.rotateY( Math.PI / 6 );
- pv024a.rotateX( Math.PI / 6);
- pv024a.name = "6D_30_30e_024_01";
- scene.add(pv024a);
- pv025a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv025a.position.set(-15, 0.5, 26);
- pv025a.position.set(-15.216, 0.7, 25.625);
- pv025a.rotateY( Math.PI / 6 );
- pv025a.rotateX( Math.PI / 6);
- pv025a.name = "3D_30_30e_025_01";
- scene.add(pv025a);
- pv026a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv026a.position.set(1.5, 0.5, -7.5);
- pv026a.position.set(1.323, 0.8, -7.806);
- pv026a.rotateY( Math.PI / 6 );
- pv026a.rotateX( Math.PI / 4);
- pv026a.name = "6A_45_30e_026_01";
- scene.add(pv026a);
-
- pv027a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv027a.position.set(-3, 0.5, -8.5);
- pv027a.position.set(-3.177, 0.8, -8.806);
- pv027a.rotateY( Math.PI / 6 );
- pv027a.rotateX( Math.PI / 4);
- pv027a.name = "3A_45_30e_027_01";
- scene.add(pv027a);
- pv028a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv028a.position.set(3, 0.5, -4.5);
- pv028a.position.set(2.823, 0.8, -4.806);
- pv028a.rotateY( Math.PI / 6 );
- pv028a.rotateX( Math.PI / 4);
- pv028a.name = "1A_45_30e_028_01";
- scene.add(pv028a);
- pv029a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv029a.position.set(3, 0.5, -25);
- pv029a.position.set(2.875, 0.9, -25.216);
- pv029a.rotateY( Math.PI / 6 );
- pv029a.rotateX( Math.PI / 3);
- pv029a.name = "6A_60_30e_029_01";
- scene.add(pv029a);
- pv030a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv030a.position.set(1, 0.5, -13);
- pv030a.position.set(0.875, 0.9, -13.216);
- pv030a.rotateY( Math.PI / 6 );
- pv030a.rotateX( Math.PI / 3);
- pv030a.name = "3A_60_30e_030_01";
- scene.add(pv030a);
- pv031a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv031a.position.set(0, 0.5, -16);
- pv031a.position.set(-0.125, 0.9, -16.216);
- pv031a.rotateY( Math.PI / 6 );
- pv031a.rotateX( Math.PI / 3);
- pv031a.name = "1A_60_30e_031_01";
- scene.add(pv031a);
- pv032a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv032a.position.set(7, 0.5, 10.5);
- pv032a.position.set(6.875, 0.6, 10.033);
- pv032a.rotateY( Math.PI / 12 );
- pv032a.rotateX( Math.PI / 12);
- pv032a.name = "3A_15_15e_032_01";
- scene.add(pv032a);
- pv033a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv033a.position.set(-10, 0.5, 29.5);
- pv033a.position.set(-10.125, 0.6, 29.033);
- pv033a.rotateY( Math.PI / 12 );
- pv033a.rotateX( Math.PI / 12);
- pv033a.name = "1B_15_15e_033_01";
- scene.add(pv033a);
-
- pv034a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv034a.position.set(-11, 0.5, 31.5);
- pv034a.position.set(-11.125, 0.6, 31.033);
- pv034a.rotateY( Math.PI / 12 );
- pv034a.rotateX( Math.PI / 12);
- pv034a.name = "4B_15_15e_034_01";
- scene.add(pv034a);
- pv035a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv035a.position.set(-13, 0.5, 19);
- pv035a.position.set(-13.112, 0.7, 18.582);
- pv035a.rotateY( Math.PI / 12 );
- pv035a.rotateX( Math.PI / 6);
- pv035a.name = "3A_30_15e_035_01";
- scene.add(pv035a);
- pv036a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv036a.position.set(-13.112, 0.7, 20.582);
- pv036a.rotateY( Math.PI / 12 );
- pv036a.rotateX( Math.PI / 6);
- pv036a.name = "1A_30_15e_036_01";
- scene.add(pv036a);
- pv037a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv037a.position.set(-7.112, 0.7, 19.582);
- pv037a.rotateY( Math.PI / 12 );
- pv037a.rotateX( Math.PI / 6);
- pv037a.name = "5A_30_15e_037_01";
- scene.add(pv037a);
- pv038a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv038a.position.set(7.908, 0.8, -14.342);
- pv038a.rotateY( Math.PI / 12 );
- pv038a.rotateX( Math.PI / 4);
- pv038a.name = "3A_45_15e_038_01";
- scene.add(pv038a);
- pv039a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv039a.position.set(7.908, 0.8, -10.342);
- pv039a.rotateY( Math.PI / 12 );
- pv039a.rotateX( Math.PI / 4);
- pv039a.name = "1A_45_15e_039_01";
- scene.add(pv039a);
- pv040a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv040a.position.set(8.908, 0.8, -6.842);
- pv040a.rotateY( Math.PI / 12 );
- pv040a.rotateX( Math.PI / 4);
- pv040a.name = "4A_45_15e_040_01";
- scene.add(pv040a);
- pv041a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv041a.position.set(3.935, 0.9, -20.741);
- pv041a.rotateY( Math.PI / 12 );
- pv041a.rotateX( Math.PI / 3);
- pv041a.name = "6A_60_15e_041_01";
- scene.add(pv041a);
- pv042a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv042a.position.set(8.935, 0.9, -22.241);
- pv042a.rotateY( Math.PI / 12 );
- pv042a.rotateX( Math.PI / 3);
- pv042a.name = "3A_60_15e_042_01";
- scene.add(pv042a);
- pv043a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv043a.position.set(7.935, 0.9, -17.741);
- pv043a.rotateY( Math.PI / 12 );
- pv043a.rotateX( Math.PI / 3);
- pv043a.name = "1A_60_15e_043_01";
- scene.add(pv043a);
- pv044a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv044a.position.set(2.000, 0.6, 32.517);
- pv044a.rotateY( Math.PI );
- pv044a.rotateX( 11 * Math.PI / 12);
- pv044a.name = "3B_15_00s_044_01";
- scene.add(pv044a);
- pv045a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv045a.position.set(5.000, 0.6, 34.017);
- pv045a.rotateY( Math.PI );
- pv045a.rotateX( 11 * Math.PI / 12);
- pv045a.name = "4B_15_00s_045_01";
- scene.add(pv045a);
- pv046a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv046a.position.set(-1.000, 0.5, 34.500);
- pv046a.rotateY( Math.PI );
- pv046a.rotateX( 89 * Math.PI / 90);
- pv046a.name = "6A_02_00s_046_01";
- scene.add(pv046a);
- pv047a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv047a.position.set(3.000, 0.5, 35.500);
- pv047a.rotateY( Math.PI );
- pv047a.rotateX( 89 * Math.PI / 90);
- pv047a.name = "2A_02_00s_047_01";
- scene.add(pv047a);
- pv048a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv048a.position.set(6.000, 0.5, 36.500);
- pv048a.rotateY( Math.PI );
- pv048a.rotateX( 89 * Math.PI / 90);
- pv048a.name = "1A_02_00s_048_01";
- scene.add(pv048a);
- pv049a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv049a.position.set(-11.000, 0.7, 13.567);
- pv049a.rotateY( Math.PI );
- pv049a.rotateX( 5 * Math.PI / 6);
- pv049a.name = "3C_30_00s_049_01";
- scene.add(pv049a);
- pv050a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv050a.position.set(-10.500, 0.7, 10.567);
- pv050a.rotateY( Math.PI );
- pv050a.rotateX( 5 * Math.PI / 6);
- pv050a.name = "1A_30_00s_050_01";
- scene.add(pv050a);
- pv051a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv051a.position.set(8.000, 0.7, 7.067);
- pv051a.rotateY( Math.PI );
- pv051a.rotateX( 5 * Math.PI / 6);
- pv051a.name = "1B_30_00s_051_01";
- scene.add(pv051a);
- pv052a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv052a.position.set(-10.000, 0.7, 7.567);
- pv052a.rotateY( Math.PI );
- pv052a.rotateX( 5 * Math.PI / 6);
- pv052a.name = "1D_30_00s_052_01";
- scene.add(pv052a);
- pv053a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv053a.position.set(3.000, 0.7, 24.567);
- pv053a.rotateY( Math.PI );
- pv053a.rotateX( 5 * Math.PI / 6);
- pv053a.name = "1C_30_00s_053_01";
- scene.add(pv053a);
- pv054a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv054a.position.set(2.500, 0.7, 27.567);
- pv054a.rotateY( Math.PI );
- pv054a.rotateX( 5 * Math.PI / 6);
- pv054a.name = "4D_30_00s_054_01";
- scene.add(pv054a);
- pv055a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv055a.position.set(15.000, 0.8, -7.354);
- pv055a.rotateY( Math.PI );
- pv055a.rotateX( 3 * Math.PI / 4);
- pv055a.name = "3A_45_00s_055_01";
- scene.add(pv055a);
- pv056a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv056a.position.set(15.000, 0.8, -11.354);
- pv056a.rotateY( Math.PI );
- pv056a.rotateX( 3 * Math.PI / 4);
- pv056a.name = "4A_45_00s_056_01";
- scene.add(pv056a);
- pv057a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv057a.position.set(9.000, 0.9, -27.750);
- pv057a.rotateY( Math.PI );
- pv057a.rotateX( 2 * Math.PI / 3);
- pv057a.name = "6A_60_00s_057_01";
- scene.add(pv057a);
- pv058a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv058a.position.set(0.000, 0.9, -30.250);
- pv058a.rotateY( Math.PI );
- pv058a.rotateX( 2 * Math.PI / 3);
- pv058a.name = "3A_60_00s_058_01";
- scene.add(pv058a);
- pv059a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv059a.position.set(8.125, 0.6, 25.033);
- pv059a.rotateY( 11 * Math.PI / 12 );
- pv059a.rotateX( 11 * Math.PI / 12);
- pv059a.name = "3B_15_15w_059_01";
- scene.add(pv059a);
- pv060a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv060a.position.set(2.625, 0.6, 30.533);
- pv060a.rotateY( 11 * Math.PI / 12 );
- pv060a.rotateX( 11 * Math.PI / 12);
- pv060a.name = "1B_15_15w_060_01";
- scene.add(pv060a);
- pv061a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv061a.position.set(9.625, 0.6, 35.033);
- pv061a.rotateY( 11 * Math.PI / 12 );
- pv061a.rotateX( 11 * Math.PI / 12);
- pv061a.name = "4B_15_15w_061_01";
- scene.add(pv061a);
- pv062a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv062a.position.set(8.112, 0.7, 21.732);
- pv062a.rotateY( 11 * Math.PI / 12 );
- pv062a.rotateX( 5 * Math.PI / 6);
- pv062a.name = "3A_30_15w_062_01";
- scene.add(pv062a);
- pv063a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv063a.position.set(12.612, 0.7, 22.832);
- pv063a.rotateY( 11 * Math.PI / 12 );
- pv063a.rotateX( 5 * Math.PI / 6);
- pv063a.name = "1A_30_15w_063_01";
- scene.add(pv063a);
- pv064a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv064a.position.set(3.612, 0.7, 20.582);
- pv064a.rotateY( 11 * Math.PI / 12 );
- pv064a.rotateX( 5 * Math.PI / 6);
- pv064a.name = "5A_30_15w_064_01";
- scene.add(pv064a);
- pv065a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv065a.position.set(16.092, 0.8, -19.342);
- pv065a.rotateY( 11 * Math.PI / 12 );
- pv065a.rotateX( 3 * Math.PI / 4);
- pv065a.name = "3A_45_15w_065_01";
- scene.add(pv065a);
- pv066a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv066a.position.set(17.092, 0.8, -22.342);
- pv066a.rotateY( 11 * Math.PI / 12 );
- pv066a.rotateX( 3 * Math.PI / 4);
- pv066a.name = "1A_45_15w_066_01";
- scene.add(pv066a);
- pv067a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv067a.position.set(15.092, 0.8, -15.342);
- pv067a.rotateY( 11 * Math.PI / 12 );
- pv067a.rotateX( 3 * Math.PI / 4);
- pv067a.name = "4A_45_15w_067_01";
- scene.add(pv067a);
- pv068a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv068a.position.set(15.065, 0.9, -27.241);
- pv068a.rotateY( 11 * Math.PI / 12 );
- pv068a.rotateX( 2 * Math.PI / 3);
- pv068a.name = "6A_60_15w_068_01";
- scene.add(pv068a);
- pv069a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv069a.position.set(20.065, 0.9, -25.991);
- pv069a.rotateY( 11 * Math.PI / 12 );
- pv069a.rotateX( 2 * Math.PI / 3);
- pv069a.name = "3A_60_15w_069_01";
- scene.add(pv069a);
- pv070a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv070a.position.set(25.065, 0.9, -24.741);
- pv070a.rotateY( 11 * Math.PI / 12 );
- pv070a.rotateX( 2 * Math.PI / 3);
- pv070a.name = "1A_60_15w_070_01";
- scene.add(pv070a);
- pv071a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv071a.position.set(17.241, 0.6, 24.582);
- pv071a.rotateY( 11 * Math.PI / 6 );
- pv071a.rotateX( Math.PI / 12);
- pv071a.name = "3A_15_30w_071_01";
- scene.add(pv071a);
- pv072a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv072a.position.set(6.991, 0.6, 32.082);
- pv072a.rotateY( 11 * Math.PI / 6 );
- pv072a.rotateX( Math.PI / 12);
- pv072a.name = "1A_15_30w_072_01";
- scene.add(pv072a);
- pv073a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv073a.position.set(10.741, 0.6, 37.832);
- pv073a.rotateY( 11 * Math.PI / 6 );
- pv073a.rotateX( Math.PI / 12);
- pv073a.name = "1B_15_30w_073_01";
- scene.add(pv073a);
- pv074a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv074a.position.set(12.741, 0.6, 27.082);
- pv074a.rotateY( 11 * Math.PI / 6 );
- pv074a.rotateX( Math.PI / 12);
- pv074a.name = "1D_15_30w_074_01";
- scene.add(pv074a);
- pv075a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv075a.position.set(7.741, 0.6, 29.082);
- pv075a.rotateY( 11 * Math.PI / 6 );
- pv075a.rotateX( Math.PI / 12);
- pv075a.name = "1C_15_30w_075_01";
- scene.add(pv075a);
- pv076a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv076a.position.set(11.241, 0.6, 33.082);
- pv076a.rotateY( 11 * Math.PI / 6 );
- pv076a.rotateX( Math.PI / 12);
- pv076a.name = "5D_15_30w_076_01";
- scene.add(pv076a);
- pv077a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv077a.position.set(13.217, 0.7, 11.625);
- pv077a.rotateY( 11 * Math.PI / 6 );
- pv077a.rotateX( Math.PI / 6);
- pv077a.name = "6D_30_30w_077_01";
- scene.add(pv077a);
- pv078a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv078a.position.set(12.217, 0.7, 14.625);
- pv078a.rotateY( 11 * Math.PI / 6 );
- pv078a.rotateX( Math.PI / 6);
- pv078a.name = "3D_30_30w_078_01";
- scene.add(pv078a);
- pv079a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv079a.position.set(14.217, 0.7, 8.625);
- pv079a.rotateY( 11 * Math.PI / 6 );
- pv079a.rotateX( Math.PI / 6);
- pv079a.name = "1D_30_30w_079_01";
- scene.add(pv079a);
- pv080a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv080a.position.set(20.177, 0.8, -4.306);
- pv080a.rotateY( 11 * Math.PI / 6 );
- pv080a.rotateX( Math.PI / 4);
- pv080a.name = "3A_45_30w_080_01";
- scene.add(pv080a);
- pv081a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv081a.position.set(21.177, 0.8, -7.306);
- pv081a.rotateY( 11 * Math.PI / 6 );
- pv081a.rotateX( Math.PI / 4);
- pv081a.name = "1A_45_30w_081_01";
- scene.add(pv081a);
- pv082a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv082a.position.set(21.677, 0.8, -11.306);
- pv082a.rotateY( 11 * Math.PI / 6 );
- pv082a.rotateX( Math.PI / 4);
- pv082a.name = "5A_45_30w_082_01";
- scene.add(pv082a);
- pv083a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv083a.position.set(24.125, 0.9, -21.217);
- pv083a.rotateY( 11 * Math.PI / 6 );
- pv083a.rotateX( Math.PI / 3);
- pv083a.name = "6A_60_30w_083_01";
- scene.add(pv083a);
- pv084a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv084a.position.set(23.125, 0.9, -18.217);
- pv084a.rotateY( 11 * Math.PI / 6 );
- pv084a.rotateX( Math.PI / 3);
- pv084a.name = "3A_60_30w_084_01";
- scene.add(pv084a);
- pv085a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv085a.position.set(23.125, 0.9, -14.217);
- pv085a.rotateY( 11 * Math.PI / 6 );
- pv085a.rotateX( Math.PI / 3);
- pv085a.name = "1A_60_30w_085_01";
- scene.add(pv085a);
- pv086a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv086a.position.set(12.342, 0.6, 30.158);
- pv086a.rotateY( 7 * Math.PI / 4 );
- pv086a.rotateX( Math.PI / 12);
- pv086a.name = "2A_15_45w_086_01";
- scene.add(pv086a);
- pv087a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv087a.position.set(16.342, 0.6, 30.158);
- pv087a.rotateY( 7 * Math.PI / 4 );
- pv087a.rotateX( Math.PI / 12);
- pv087a.name = "1A_15_45w_087_01";
- scene.add(pv087a);
- pv088a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv088a.position.set(17.342, 0.6, 27.158);
- pv088a.rotateY( 7 * Math.PI / 4 );
- pv088a.rotateX( Math.PI / 12);
- pv088a.name = "4A_15_45w_088_01";
- scene.add(pv088a);
- pv089a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv089a.position.set(20.306, 0.7, 10.694);
- pv089a.rotateY( 7 * Math.PI / 4 );
- pv089a.rotateX( Math.PI / 6);
- pv089a.name = "6A_30_45w_089_01";
- scene.add(pv089a);
- pv090a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv090a.position.set(19.306, 0.7, 13.694);
- pv090a.rotateY( 7 * Math.PI / 4 );
- pv090a.rotateX( Math.PI / 6);
- pv090a.name = "2A_30_45w_090_01";
- scene.add(pv090a);
- pv091a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv091a.position.set(29.250, 0.8, -14.250);
- pv091a.rotateY( 7 * Math.PI / 4 );
- pv091a.rotateX( Math.PI / 4);
- pv091a.name = "2C_45_45w_091_01";
- scene.add(pv091a);
- pv092a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv092a.position.set(23.250, 0.8, 6.750);
- pv092a.rotateY( 7 * Math.PI / 4 );
- pv092a.rotateX( Math.PI / 4);
- pv092a.name = "4C_45_45w_092_01";
- scene.add(pv092a);
- pv093a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv093a.position.set(30.177, 0.9, -18.177);
- pv093a.rotateY( 7 * Math.PI / 4 );
- pv093a.rotateX( Math.PI / 3);
- pv093a.name = "6A_60_45w_093_01";
- scene.add(pv093a);
- pv094a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv094a.position.set(30.177, 0.9, -22.177);
- pv094a.rotateY( 7 * Math.PI / 4 );
- pv094a.rotateX( Math.PI / 3);
- pv094a.name = "2A_60_45w_094_01";
- scene.add(pv094a);
- pv095a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv095a.position.set(15.418, 0.6, 33.759);
- pv095a.rotateY( 5 * Math.PI / 3);
- pv095a.rotateX( Math.PI / 12);
- pv095a.name = "6A_15_60w_095_01";
- scene.add(pv095a);
- pv096a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv096a.position.set(14.418, 0.6, 36.759);
- pv096a.rotateY( 5 * Math.PI / 3);
- pv096a.rotateX( Math.PI / 12);
- pv096a.name = "2A_15_60w_096_01";
- scene.add(pv096a);
- pv097a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv097a.position.set(16.375, 0.7, 19.783);
- pv097a.rotateY( 5 * Math.PI / 3);
- pv097a.rotateX( Math.PI / 6);
- pv097a.name = "6A_30_60w_097_01";
- scene.add(pv097a);
- pv098a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv098a.position.set(17.375, 0.7, 16.783);
- pv098a.rotateY( 5 * Math.PI / 3);
- pv098a.rotateX( Math.PI / 6);
- pv098a.name = "1A_30_60w_098_01";
- scene.add(pv098a);
- pv099a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv099a.position.set(25.306, 0.8, -1.177);
- pv099a.rotateY( 5 * Math.PI / 3);
- pv099a.rotateX( Math.PI / 4);
- pv099a.name = "6A_45_60w_099_01";
- scene.add(pv099a);
- pv100a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv100a.position.set(22.306, 0.8, 1.823);
- pv100a.rotateY( 5 * Math.PI / 3);
- pv100a.rotateX( Math.PI / 4);
- pv100a.name = "1A_45_60w_100_01";
- scene.add(pv100a);
- pv101a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv101a.position.set(28.217, 0.9, -10.125);
- pv101a.rotateY( 5 * Math.PI / 3);
- pv101a.rotateX( Math.PI / 3);
- pv101a.name = "2C_60_60w_101_01";
- scene.add(pv101a);
- pv102a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv102a.position.set(26.216, 0.9, -6.125);
- pv102a.rotateY( 5 * Math.PI / 3);
- pv102a.rotateX( Math.PI / 3);
- pv102a.name = "1C_60_60w_102_01";
- scene.add(pv102a);
- //scene.fog = new THREE.FogExp2( 0x000000, 0.0128 );
- //renderer.setClearColor( scene.fog.color, 1 );
- lut = new THREE.Lut( 'rainbow', 512 );
- lut.setMax( 2000 );
- lut.setMin( 0 );
- legend = lut.setLegendOn();
- legend.name = "legend";
- createLabel("legend_title");
- createLabel("legend_low");
- createLabel("legend_mid");
- createLabel("legend_high");
- $("#textlegend_title").css("fontSize", "16px");
- $("#textlegend_title").text("Power (kW/kWp)");
- $("#textlegend_title").css("color", "black");
- $("#textlegend_title").css("background-color", "transparent");
- $("#textlegend_title").css("font-family", "Source Code Pro");
- //font-family: 'Source Code Pro';
- $("#textlegend_mid").css("fontSize", "14px");
- $("#textlegend_mid").css("color", "black");
- $("#textlegend_mid").css("background-color", "transparent");
- $("#textlegend_mid").text("0.5");
- $("#textlegend_mid").css("font-family", "Source Code Pro");
- $("#textlegend_low").css("fontSize", "14px");
- $("#textlegend_low").css("color", "black");
- $("#textlegend_low").css("background-color", "transparent");
- $("#textlegend_low").text("0.0");
- $("#textlegend_low").css("font-family", "Source Code Pro");
-
- $("#textlegend_high").css("fontSize", "14px");
- $("#textlegend_high").css("color", "black");
- $("#textlegend_high").css("background-color", "transparent");
- $("#textlegend_high").text("1.0");
- $("#textlegend_high").css("font-family", "Source Code Pro");
- scene.add ( legend );
- render();
- }
-
- function animate() {
- requestAnimationFrame(animate);
- if (enableControls){
- mycontrol.enabled = true;
- } else {
- mycontrol.enabled = false;
- }
- if (enableRotate) {
- mycontrol.rotate = true;
- } else {
- mycontrol.rotate = false;
- }
-
- mycontrol.update();
- render();
- }
- var vector;
- var legend;
- var width, height;
- var widthHalf, heightHalf;
- var pos_title, pos_high, pos_low, pos_mid;
- function render() {
- //console.log(camera.position);
- // if camera.position.y more than 90 then show module number
- scene.traverse( function( node ) {
- if (node.name != "") {
- //console.log(node.name);
- if (node.name == "legend") {
- legend = scene.getObjectByName( "legend" );
- width = window.innerWidth;
- height = window.innerHeight;
- widthHalf = width / 2.0;
- heightHalf = height / 2.0;
- pos_title = legend.position.clone();
-
- pos_title.y = pos_title.y + 9;
- pos_title.x = pos_title.x - 1;
- pos_title.project(camera);
- pos_title.x = ( pos_title.x * widthHalf ) + widthHalf;
- pos_title.y = - ( pos_title.y * heightHalf ) + heightHalf;
- $("#textlegend_title").show();
- $("#textlegend_title").css("top", (pos_title.y) + 'px');
- $("#textlegend_title").css("left", (pos_title.x) + 'px');
-
- pos_mid = legend.position.clone();
- pos_mid.y = pos_mid.y + 0;
- pos_mid.x = pos_mid.x + 2;
- pos_mid.project(camera);
- pos_mid.x = ( pos_mid.x * widthHalf ) + widthHalf;
- pos_mid.y = - ( pos_mid.y * heightHalf ) + heightHalf;
- $("#textlegend_mid").show();
- $("#textlegend_mid").css("top", (pos_mid.y) + 'px');
- $("#textlegend_mid").css("left", (pos_mid.x) + 'px');
-
- pos_low = legend.position.clone();
- pos_low.y = pos_low.y - 5;
- pos_low.x = pos_low.x + 2;
- pos_low.project(camera);
- pos_low.x = ( pos_low.x * widthHalf ) + widthHalf;
- pos_low.y = - ( pos_low.y * heightHalf ) + heightHalf;
- $("#textlegend_low").show();
- $("#textlegend_low").css("top", (pos_low.y) + 'px');
- $("#textlegend_low").css("left", (pos_low.x) + 'px');
-
- pos_high = legend.position.clone();
- pos_high.y = pos_high.y + 6;
- pos_high.x = pos_high.x + 2;
- pos_high.project(camera);
- pos_high.x = ( pos_high.x * widthHalf ) + widthHalf;
- pos_high.y = - ( pos_high.y * heightHalf ) + heightHalf;
- $("#textlegend_high").show();
- $("#textlegend_high").css("top", (pos_high.y) + 'px');
- $("#textlegend_high").css("left", (pos_high.x) + 'px');
- }
- var _id = node.name;
- _id = _id.split("_")[3];
- //console.log(_id2[3]);
-
- _id = "#text" + _id;
- if (camera.position.y > 0 && labelFlag == true) {
- //console.log(scene.children);
-
- var obj1 = scene.getObjectByName( node.name );
- var width = window.innerWidth, height = window.innerHeight;
- var widthHalf = width / 2, heightHalf = height / 2;
- var pos = obj1.position.clone();
- pos.project(camera);
- pos.x = ( pos.x * widthHalf ) + widthHalf;
- pos.y = - ( pos.y * heightHalf ) + heightHalf;
- $(_id).show();
- $(_id).css("top", pos.y + 'px');
- $(_id).css("left", (pos.x-10) + 'px');
- //console.log(pos);
- } else {
- $(_id).hide();
- }
- }
- });
- var mode = $('input[type=radio][name=moduleMode]:checked').val();
- if (mode == "0") {
- $("#textlegend_title").hide();
- $("#textlegend_high").hide();
- $("#textlegend_mid").hide();
- $("#textlegend_low").hide();
- legend_object = scene.getObjectByName( "legend" );
- if (legend_object) {
- scene.remove(legend_object);
- }
-
- } else if (mode == "1") {
- $("#textlegend_title").show();
- $("#textlegend_high").show();
- $("#textlegend_mid").show();
- $("#textlegend_low").show();
- legend_object = scene.getObjectByName( "legend", true );
- if (!legend_object) {
- lut = new THREE.Lut( 'rainbow', 512 );
- lut.setMax( 2000 );
- lut.setMin( 0 );
- legend = lut.setLegendOn();
- legend.name = "legend";
- scene.add(legend);
- }
- }
-
- // update the picking ray with the camera and mouse position
- raycaster.setFromCamera( mouse, camera );
- // calculate objects intersecting the picking ray
- var intersects = raycaster.intersectObjects( scene.children );
- //console.log("Check intersection");
- //console.log(intersects);
- for ( var i = 0; i < intersects.length; i++ ) {
- if (intersects[ i ].object.name != "" && intersects[ i ].object.name != "legend") {
- delta = (new Date().getTime()/1000.0) - data[ intersects[ i ].object.name ]["timestamp"];
- var dateTime = new Date( data[ intersects[ i ].object.name ]["timestamp"]*1000.0 );
- $("#obj-tooltip").text("Array: " + intersects[ i ].object.name);
- $("#val-tooltip").text("Power: " + parseFloat(data[ intersects[ i ].object.name ]["value"]).toFixed(3) + " kW");
- //$("#ts-tooltip").text("Last fetched (ADEI): " + dateTime.toUTCString());
- $("#ts-tooltip").text("Last fetched (ADEI): " + dateTime.toString());
- $("#delta-tooltip").text("Delta Time: " + parseFloat(delta).toFixed(3) + " s (" + parseFloat(delta / 60.0).toFixed(3) + " min)");
- }
- }
-
- renderer.render(scene, camera);
-
- vector = camera.getWorldDirection();
- theta = Math.atan2(vector.x,vector.z);
- theta = theta + 3.142; // add/minux pi to inverse
- var degree = theta * (180/3.142);
- //console.log(degree);
- draw(degree);
- }
-
- $("#message").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#orientation").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#settings").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#slider").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#container").mousedown(function() {
- enableControls = true;
- enableRotate = true;
- animate();
- setMessage("GUI", "Selected main scene.");
- });
-
- $("#container").mouseup(function() {
- enableRotate = false;
- //animate();
- setMessage("GUI", "Selected main scene.");
- });
- </script>
- <script>
- jQuery(window).load(function () {
- var typeFlag = false;
- var typeValue = "A";
-
-
- $('input[type=radio][name=moduleType]').change(function() {
- typeValue = this.value;
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (current_type != typeValue) {
- colour = "0xaaaaaa";
- } else {
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- //pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- //if (pNorm > 0.5) {
- // pNorm = 0.5;
- //}
- //if (pNorm < 0.0) {
- // pNorm = 0.0;
- //}
- colour = "0x" + colour.substring(1);
- }
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- });
- $('input[type=radio][name=moduleMode]').change(function() {
- //var myVar = setInterval(myTimer, 10000);
- //clearInterval(myVar);
- modeValue = this.value;
- //console.log(modeValue);
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- if (modeValue == "0") {
- //console.log("setting mode 0")
- if (value <= 0) {
- colour = "0xff0000";
- } else {
- //colour = "0x242b72";
- colour = "0x00ff00";
- }
- //console.log("setting mode 0", colour);
- } else if (modeValue == "1") {
-
- //console.log("inside mode 1");
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (typeof current_type != "undefined") {
-
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- if (typeFlag == true && current_type != typeValue) {
- colour = "0xaaaaaa";
- }
- }
- }
- object = scene.getObjectByName( prop, true );
- //object.material.color.setHex( colour );
- if (object) {
- //console.log("SETTING COLOUR");
- object.material.color.setHex( colour );
- }
- //animate();
- }
- }
- });
-
- $("#myType").change(function() {
- if(this.checked) {
- typeFlag = true;
- var radios = $('input:radio[name=moduleType]');
- if(radios.is(':checked') === false) {
- radios.filter('[value=A]').prop('checked', true);
- }
- typeValue = "A";
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (current_type != typeValue) {
- colour = "0xaaaaaa";
- } else {
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- }
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- //updateColour("A");
- } else {
- typeFlag = false;
- var radios = $('input:radio[name=moduleType]');
- if(radios.is(':checked') === true) {
- radios.filter('[value=A]').prop('checked', false);
- radios.filter('[value=B]').prop('checked', false);
- radios.filter('[value=C]').prop('checked', false);
- radios.filter('[value=D]').prop('checked', false);
- }
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- }
- });
- myTimer();
- // set higher delay, but need to trigger change
- var myVar = setInterval(myTimer, 1000);
- //clearInterval(refreshIntervalId);
- var powerPeak = [
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 9.50,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 10.00,
- 10.00,
- 8.64,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 10.00,
- 10.00,
- 8.64,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 9.50,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00
- ];
- var mycm = {
- jet: ['#000080',
- '#00008d',
- '#00009f',
- '#0000ad',
- '#0000bf',
- '#0000d1',
- '#0000df',
- '#0000f1',
- '#0000ff',
- '#0000ff',
- '#0010ff',
- '#001cff',
- '#002cff',
- '#0038ff',
- '#0048ff',
- '#0058ff',
- '#0064ff',
- '#0074ff',
- '#0080ff',
- '#0090ff',
- '#00a0ff',
- '#00acff',
- '#00bcff',
- '#00c8ff',
- '#00d8ff',
- '#02e8f4',
- '#0cf4eb',
- '#19ffde',
- '#23ffd4',
- '#30ffc7',
- '#3cffba',
- '#46ffb1',
- '#53ffa4',
- '#5dff9a',
- '#6aff8d',
- '#77ff80',
- '#80ff77',
- '#8dff6a',
- '#9aff5d',
- '#a4ff53',
- '#b1ff46',
- '#baff3c',
- '#c7ff30',
- '#d4ff23',
- '#deff19',
- '#ebff0c',
- '#f4f802',
- '#ffea00',
- '#ffdb00',
- '#ffd000',
- '#ffc100',
- '#ffb600',
- '#ffa700',
- '#ff9800',
- '#ff8d00',
- '#ff7e00',
- '#ff7300',
- '#ff6400',
- '#ff5500',
- '#ff4a00',
- '#ff3b00',
- '#ff3000',
- '#ff2200',
- '#ff1300',
- '#f10800',
- '#df0000',
- '#d10000',
- '#bf0000',
- '#ad0000',
- '#9f0000',
- '#8d0000',
- '#800000']
- }
- var min_pac = 0;
- var max_pac = 10.0;
- function myTimer() {
- var dataToSend = {};
- var object;
- var colour;
- var value;
-
- $.ajax({
- url: '/getdata/',
- type: 'GET',
- data: dataToSend,
- success: function (response) {
- //var objresponse = JSON.parse(response);
- console.log(response);
- data = response;
- var obj = response;
- for (var prop in obj) {
- if (prop == "time") {
- $("#slider-tooltip").text(obj[prop]["value"]);
- } else {
- value = obj[prop]["value"];
- delta = (new Date().getTime() / 1000.0) - obj[prop]["timestamp"]
- var mode = $('input[type=radio][name=moduleMode]:checked').val();
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (mode == "0") {
- legend_object = scene.getObjectByName( "legend", true );
- if (legend_object) {
- scene.remove(legend_object);
- }
- //animate();
- if (delta > 600) {
- //colour = "0xff8c00";
- colour = "0xffd700";
- } else {
- if (value <= 0) {
- colour = "0xff0000";
- } else {
- //colour = "0x242b72";
- colour = "0x00ff00";
- }
- }
- } else if (mode == "1") {
- legend_object = scene.getObjectByName( "legend", true );
- if (!legend_object) {
- lut = new THREE.Lut( 'rainbow', 512 );
- lut.setMax( 2000 );
- lut.setMin( 0 );
- legend = lut.setLegendOn();
- legend.name = "legend";
- scene.add(legend);
- }
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- if (typeFlag == true && current_type != typeValue) {
- colour = "0xaaaaaa";
- }
-
- }
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- },
- error: function () {
- console.log("Error.")
- }
- });
- }
- });
- </script>
- </body>
- </html>
|