Cloud Assets

Cloud Assets script details
Author
matas
Type
Blockly logo image
blockly
App Version
0.14.0
Visibility
public
Date Created
Jan 27, 2024, 6:45:12 AM
Last Edit Date
Jan 27, 2024, 6:56:36 AM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="Y!6sh^8A[s2Qzt#~.ByR">boomBoxMesh</variable> <variable id="i|.i%Djvp9Cz(Y[%?sf1">drawOptions</variable> </variables> <block type="bitbybit.babylon.scene.useRightHandedSystem" id="*%}g(V@_!}8p2mZRi:UR" x="-196" y="-2019"> <value name="Use"> <block type="logic_boolean" id="Dofbp.%RUx);|jkCl4k9"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="bitbybit.babylon.scene.enableSkybox" id="TwfDS:~}zEk!q7W$ggVs"> <value name="Skybox"> <block type="bitbybit.babylon.enums.skyboxEnum" id="LWGAw?rBe.r?~XAP`nHc"> <field name="bitbybit.babylon.enums.skyboxEnum">'clearSky'</field> </block> </value> <value name="Size"> <block type="math_number" id="~#$twzGyaGHqrwkL]*ft"> <field name="NUM">1000</field> </block> </value> <value name="Blur"> <block type="math_number" id="![!2dku`b@?A0GI5[8IS"> <field name="NUM">0.1</field> </block> </value> <value name="EnvironmentIntensity"> <block type="math_number" id="9pS9Uu10qLw$6Fp[NK9z"> <field name="NUM">0.7</field> </block> </value> <next> <block type="bitbybit.babylon.scene.drawDirectionalLightNoReturn" id="(Jv5#^oOuX8qm|W6l/|D"> <value name="Direction"> <block type="bitbybit.vector.vectorXYZ" id="iBhU:OV;NeHL^RZYnBF$"> <value name="X"> <block type="math_number" id="-AMaGsDI|/q~L7[K2^m!"> <field name="NUM">-100</field> </block> </value> <value name="Y"> <block type="math_number" id="5$LzPV,WREkEdPy-!/,_"> <field name="NUM">-100</field> </block> </value> <value name="Z"> <block type="math_number" id="TZm(Wz?Le;{u`%x%X4i`"> <field name="NUM">100</field> </block> </value> </block> </value> <value name="Intensity"> <block type="math_number" id="]_s=U%0aTRr/D{4kVLZ-"> <field name="NUM">0.5</field> </block> </value> <value name="Diffuse"> <block type="colour_picker" id=";h/~D,,H7[UQ;qPpD|8{"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="Specular"> <block type="colour_picker" id=",6_a;eH^e5*{EerW:OLi"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="ShadowGeneratorMapSize"> <block type="math_number" id="-/%b4?=.r%m2.::T/#+("> <field name="NUM">1024</field> </block> </value> <value name="EnableShadows"> <block type="logic_boolean" id="90F+#o)ypFjBd8]58%tJ"> <field name="BOOL">TRUE</field> </block> </value> <value name="ShadowDarkness"> <block type="math_number" id="ndI9W}m8fZRd#^fMiu)*"> <field name="NUM">0</field> </block> </value> <next> <block type="base_time_async_context" id="vA4/sP75d)H5s*DZ@Ka$"> <statement name="Then"> <block type="variables_set" id="CL`Z!r(eI6BAD32_I_LO"> <field name="VAR" id="Y!6sh^8A[s2Qzt#~.ByR">boomBoxMesh</field> <value name="VALUE"> <block type="base_time_await_return" id="QgP3E.$Ie]0VBzYxK;8S"> <value name="Promise"> <block type="bitbybit.babylon.io.loadAssetIntoScene" id="oDc^?hYP7Q4)1-2$hRf8"> <value name="AssetFile"> <block type="bitbybit.asset.getFile" id="OWIi^V}44zqboc49Ll?F"> <value name="FileName"> <block type="text" id="IxTy[yv][aC;mMS3XKV="> <field name="TEXT">BoomBox.glb</field> </block> </value> </block> </value> <value name="Hidden"> <block type="logic_boolean" id="B7eonm*tm@F~^mbxUHz*"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setPosition" id="F#7}9nS9OU_9pvb-7`Yv"> <value name="BabylonMesh"> <block type="variables_get" id="y7idlo@:IJZFJKdp00Df"> <field name="VAR" id="Y!6sh^8A[s2Qzt#~.ByR">boomBoxMesh</field> </block> </value> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="IKng%,qE`0?3U(cn]6oM"> <value name="X"> <block type="math_number" id="qDj?Vy1=afFu{cj6Y)K%"> <field name="NUM">2</field> </block> </value> <value name="Y"> <block type="math_number" id="oV?*_*TyB%x)y$/x2h}-"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="yWNcL$~h/Hr@diVzE$ao"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="variables_set" id="bvMikKPO_w(SW#$%JG^5"> <field name="VAR" id="i|.i%Djvp9Cz(Y[%?sf1">drawOptions</field> <value name="VALUE"> <block type="bitbybit.draw.optionsOcctShapeSimple" id="P03Zb).$9[zFbE9)Ajfv"> <value name="Precision"> <block type="math_number" id="KfPA!;r.+uI]zg?!HH;H"> <field name="NUM">0.001</field> </block> </value> <value name="DrawFaces"> <block type="logic_boolean" id="9O25)*/RT(W#U_r^6V#Q"> <field name="BOOL">TRUE</field> </block> </value> <value name="FaceColour"> <block type="colour_picker" id="Gmt8,!R}^iOkWDrayZ`7"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="DrawEdges"> <block type="logic_boolean" id="N^Gn8CCaZNf(0?gwQsj*"> <field name="BOOL">TRUE</field> </block> </value> <value name="EdgeColour"> <block type="colour_picker" id="`nKg+)a_8[6)uX)P2@Qj"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="EdgeWidth"> <block type="math_number" id="#?OC|p*5(U1~Qfx%QA$C"> <field name="NUM">1</field> </block> </value> </block> </value> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="`B?Na-Q,cGZWRMKqZuRh"> <value name="Entity"> <block type="bitbybit.occt.transforms.translate" id="Vdyvq0^~VO?3jWtGwa?w"> <value name="Shape"> <block type="bitbybit.occt.transforms.scale" id="gjh]=%naX!64_K_CY:`b"> <value name="Shape"> <block type="bitbybit.occt.io.loadSTEPorIGES" id="]U}Gc8r~WW5]~=JFYkiY"> <value name="AssetFile"> <block type="bitbybit.asset.getFile" id="f*7`(*8.F~x;a1ka?h[y"> <value name="FileName"> <block type="text" id="~lpf-J*t}p*f9zT~-Jqf"> <field name="TEXT">CalmCup.step</field> </block> </value> </block> </value> <value name="AdjustZtoY"> <block type="logic_boolean" id="*B^Ca4:YQ0^x~~8;8bx6"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="Factor"> <block type="math_number" id="+$$bZt8].tTdL87E1R:f"> <field name="NUM">0.3</field> </block> </value> </block> </value> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="TSN:$y:,24]%h[jdNI[2"> <value name="X"> <block type="math_number" id="3k?me84Ye@y(LRXoK~HK"> <field name="NUM">-2</field> </block> </value> <value name="Y"> <block type="math_number" id="N(EeRJ+M8slPp9y^!%{B"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="6[ngV-bGqL413L~YA=9E"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Options"> <block type="variables_get" id=",lvO2M^[LY)N7Q?W8{yW"> <field name="VAR" id="i|.i%Djvp9Cz(Y[%?sf1">drawOptions</field> </block> </value> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="pm8|sO;i*tTrQ~PJ_dfZ"> <value name="Entity"> <block type="bitbybit.occt.shapes.face.createCircleFace" id="mcf)7iLG*kv/m8|ta0C4"> <value name="Radius"> <block type="math_number" id="GM=yI3b~xr0@3ezrH$w{"> <field name="NUM">7</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="2hB1wNYFKcc:y5c$?spG"> <value name="X"> <block type="math_number" id=":~_{Kt^gE[Pc=Rc@yp{G"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="QdOV^^QfN?gD%;P#O^Rh"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="gx$kg#X`U.dM=;Ko=|L#"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.vector.vectorXYZ" id="^JJC-r5sh,uCVY+;{[0g"> <value name="X"> <block type="math_number" id="O,s,oV%Z@+/w_080^JU%"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="S9wx6H*M5q28Is#s3jwZ"> <field name="NUM">1</field> </block> </value> <value name="Z"> <block type="math_number" id="B:4r1~E,!v{kfA!8PJ;="> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Options"> <block type="variables_get" id="qWmDOwJ`MAh~nCp99flC"> <field name="VAR" id="i|.i%Djvp9Cz(Y[%?sf1">drawOptions</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </xml>