Example in Blockly

Example in Blockly script details
Type
Blockly logo image
blockly
App Version
0.13.1
Visibility
public
Date Created
Feb 15, 2022, 7:38:51 PM
Last Edit Date
Dec 18, 2023, 1:40:58 PM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="N:#mih3dcDM-u:k7yvuZ">enableShadows</variable> <variable id="GEK`t8ICi$u?)2D9lU:g">halfNrOfSpikes</variable> <variable id=")eOc=2V@92Ca?B:vNL?y">outerRadius</variable> <variable id="P{?od/GXKQsnliVH-|,G">gearHeight</variable> <variable id="o$`Iimj_A6@k)$#B)#HW">innerRadius</variable> <variable id="3-K*#$gxQrJ~s,xV*QYB">holeRadius</variable> <variable id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</variable> <variable id="oAgB+v|4N7pgt7i@vFKI">globalNode</variable> <variable id="dp!1s{};}gme~2O1_BI$">outerPointsPromise</variable> <variable id="Qjf0fBYCi7gSkRK~p3?W">innerPointsPromise</variable> <variable id="c(r*f|{ceVrT*SS*(dci">result</variable> <variable id="m17OkdO=d+hHT%|ifP{A">outerPoints</variable> <variable id="9_$qUte_1OBafU`L{AeG">innerPoints</variable> <variable id="i$N3EBn/m2B^NT![9n)Y">points</variable> <variable id="zNgw%(Dk#?=J^o/y)-(L">i</variable> <variable id="-FV38!l,!d+[9-iT8WW0">nextIndex</variable> <variable id="|KI85g%STRHgsX]zjlA4">sides</variable> <variable id="0]{c514e9o((!+pO$#I0">meshInstance1</variable> <variable id="5fxwkMOQ+4^e-.FDGuC-">meshInstance2</variable> <variable id=";w?c7{Dy9PcU#@;CsdDF">meshInstance3</variable> <variable id="]yRxv^;WvI_b51PuR6Lh">meshInstance4</variable> <variable id="YQrh,8yC#R?17Y[)s(:B">offsetDistance</variable> <variable id="2ji1kVdqFkyhso8HAL4;">rotationOfHalfSpike</variable> <variable id="FM.QaaH|@di|):Y(E:~2">rotationCount</variable> <variable id="RJrGAt5l25?xwP)e9*CN">timeElapsedFromPreviousFrame</variable> </variables> <block type="variables_set" id="i/Na46Q)WFeu[RWYBkR^" x="2824" y="-2623"> <field name="VAR" id="N:#mih3dcDM-u:k7yvuZ">enableShadows</field> <value name="VALUE"> <block type="logic_boolean" id="Z.KTWU}iJx5,*MSX2=|#"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="bitbybit.babylon.scene.drawPointLightNoReturn" id="[Kwq`y5w-sH(?.39m_K$"> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="5F3#~ZNTja^xTeTWrBNT"> <value name="X"> <block type="math_number" id=":~[[hb/N1yDW_2)pK1`e"> <field name="NUM">5</field> </block> </value> <value name="Y"> <block type="math_number" id="2:MA2yMkH;l^SW{{n39y"> <field name="NUM">5</field> </block> </value> <value name="Z"> <block type="math_number" id="#ni+s5Uly/nC_=0Ov.J."> <field name="NUM">5</field> </block> </value> </block> </value> <value name="Intensity"> <block type="math_number" id="nT{o9y*x5aJ=A^RK6#OI"> <field name="NUM">12000</field> </block> </value> <value name="Diffuse"> <block type="colour_picker" id="vUxDn7[lgFGfdQvqk#Uu"> <field name="COLOUR">#3366ff</field> </block> </value> <value name="Specular"> <block type="colour_picker" id="TXlH_@$jvPuwwM_2oK1W"> <field name="COLOUR">#3366ff</field> </block> </value> <value name="Radius"> <block type="math_number" id="cB$[8+@if|2N0HW[L.sC"> <field name="NUM">0</field> </block> </value> <value name="ShadowGeneratorMapSize"> <block type="math_number" id=":ivZa(yI+l1,sQT.29pB"> <field name="NUM">1024</field> </block> </value> <value name="EnableShadows"> <block type="variables_get" id="5?2-=uT}1|n_F4;DwG0F"> <field name="VAR" id="N:#mih3dcDM-u:k7yvuZ">enableShadows</field> </block> </value> <value name="ShadowDarkness"> <block type="math_number" id="];}ULiqp@Z(6`F.+Ht7)"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="K|^uGy/FNj)lKp}Oe`0#"> <field name="VAR" id="GEK`t8ICi$u?)2D9lU:g">halfNrOfSpikes</field> <value name="VALUE"> <block type="math_number" id="x]v{IPa:L/_M@7O8!IHH"> <field name="NUM">10</field> </block> </value> <next> <block type="variables_set" id="!j*Gq9KrwmZ6~|zgJ)l."> <field name="VAR" id=")eOc=2V@92Ca?B:vNL?y">outerRadius</field> <value name="VALUE"> <block type="math_number" id="#La?2:94l!4pT-*r#CWK"> <field name="NUM">6</field> </block> </value> <next> <block type="variables_set" id=".O}3ThS6V=39D_@/+T|J"> <field name="VAR" id="P{?od/GXKQsnliVH-|,G">gearHeight</field> <value name="VALUE"> <block type="math_number" id="pH]?FJ:z!CpBva=VQNJT"> <field name="NUM">1</field> </block> </value> <next> <block type="variables_set" id="?rGb(.znIQ|mk:#,Q2Tm"> <field name="VAR" id="o$`Iimj_A6@k)$#B)#HW">innerRadius</field> <value name="VALUE"> <block type="math_number" id="10)VLAY4MO8|?upBYz:x"> <field name="NUM">3</field> </block> </value> <next> <block type="variables_set" id="307#,1p[a8ie.4(5?G7y"> <field name="VAR" id="3-K*#$gxQrJ~s,xV*QYB">holeRadius</field> <value name="VALUE"> <block type="math_arithmetic" id="6lq6*AVyF~1:_seC2Kq3"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="variables_get" id="E7O;[WX:{t38E%NUpeYP"> <field name="VAR" id="o$`Iimj_A6@k)$#B)#HW">innerRadius</field> </block> </value> <value name="B"> <block type="math_number" id="3iyWCKNdtI[o*$yY|7Vr"> <field name="NUM">0.7</field> </block> </value> </block> </value> <next> <block type="variables_set" id="@25kQ@a`vSYw-0B.FO,$"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> <value name="VALUE"> <block type="math_arithmetic" id="]chm%U1^nQS?igWT7q8W"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="variables_get" id="DSZ/,60Nbz?H[NY^W-`d"> <field name="VAR" id="GEK`t8ICi$u?)2D9lU:g">halfNrOfSpikes</field> </block> </value> <value name="B"> <block type="math_number" id="r-kmFhhh#%Pk:`z^CW)7"> <field name="NUM">2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="v~i]6P5nERNaQPc][fmD"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> <value name="VALUE"> <block type="bitbybit.babylon.node.createNodeFromRotation" id="o=$8sJgpXJwuU[@YHZ6("> <value name="Parent"> <block type="bitbybit.babylon.node.getRootNode" id="{v:BQPoT(7J2|4cH-]bF"> </block> </value> <value name="Origin"> <block type="bitbybit.point.pointXYZ" id="}nFoX+HilMX,2)`d%FfA"> <value name="X"> <block type="math_number" id="kz_eK{IQ9w*o?25hWbOd"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="I]Vk!27f2MeZR)5l7:Ai"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="oilc`glp$f0JR`)wJdy["> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="y!!Hc8WG;L_H,V*Le+!/"> <value name="X"> <block type="math_number" id="Ck2_5MRGUtXRCy?OcLge"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="hU76.nx*tNE6x*7B8QM/"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="%f86pq*E/{l76^uEVQY!"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="szCKtTqTBWNU!MXd#Ss="> <field name="VAR" id="dp!1s{};}gme~2O1_BI$">outerPointsPromise</field> <value name="VALUE"> <block type="bitbybit.occt.shapes.wire.divideWireByEqualDistanceToPoints" id="MN0?`,?5jyquA-DVX_;g"> <value name="Shape"> <block type="bitbybit.occt.shapes.wire.createCircleWire" id="0{Glr9nv7D}KrkCdn{*|"> <value name="Radius"> <block type="variables_get" id="sdSZ`7ME9wKP%bgY_vES"> <field name="VAR" id=")eOc=2V@92Ca?B:vNL?y">outerRadius</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="a,md]r,I5$7@_AR;jBg*"> <value name="X"> <block type="math_number" id="ZtCH31w;1h7u3gRE:S`@"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="?.3U[4dvU5$k6+DBW!R-"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="TO:{lW:pLhwX3hT%62_W"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.point.pointXYZ" id="#THmT$Zk2`U?|aX6-0;H"> <value name="X"> <block type="math_number" id="S`Y{]ZvlM]O)~!91gl!N"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="jeD0!Ff.EM%D^3pcg6nN"> <field name="NUM">1</field> </block> </value> <value name="Z"> <block type="math_number" id="f%8R1u+G`W=!DRf/B;3T"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="NrOfDivisions"> <block type="variables_get" id="$me7brBS}=$$dviX2PE9"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> <value name="RemoveStartPoint"> <block type="logic_boolean" id="^qV+f1TQ*Y@0y)F.a{|i"> <field name="BOOL">FALSE</field> </block> </value> <value name="RemoveEndPoint"> <block type="logic_boolean" id="b-#@eob}hbKTCpRv7]4s"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <next> <block type="variables_set" id="-M4Nu*?d3BTU.R`A$F%["> <field name="VAR" id="Qjf0fBYCi7gSkRK~p3?W">innerPointsPromise</field> <value name="VALUE"> <block type="bitbybit.occt.shapes.wire.divideWireByEqualDistanceToPoints" id="]+7JH|WyFMU?-.MnEgmL"> <value name="Shape"> <block type="bitbybit.occt.transforms.rotate" id="vrWFxzCIO@oVSTp0;@U4"> <value name="Shape"> <block type="bitbybit.occt.shapes.wire.createCircleWire" id="fW_*82xPwN}cvgEC^lrJ"> <value name="Radius"> <block type="variables_get" id="o0XJZ50@1nsYLfqf%x!p"> <field name="VAR" id="o$`Iimj_A6@k)$#B)#HW">innerRadius</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="Z^GC1xFft[e:aGIT|aQR"> <value name="X"> <block type="math_number" id="PyaK_B?(Xz`Ujh}WhLd{"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="oZLwV~fAe);M+*U`Pt=o"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="UGjnquF8LE39AqJn|~pM"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.point.pointXYZ" id="{_[f_70?9bdg_(l%Z!^@"> <value name="X"> <block type="math_number" id="as@l(r5Fp]obaGRhJzy6"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="pTS=USp9ockklP^!Ydbo"> <field name="NUM">1</field> </block> </value> <value name="Z"> <block type="math_number" id="`D@UZ=WM+(4Ey@)d3G8;"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Axis"> <block type="bitbybit.point.pointXYZ" id="B}W]?bKx!Ukc:bK@YJ={"> <value name="X"> <block type="math_number" id=")X4Wyi{zZ,3v=j2i@@Vt"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="zk*|Md@Z*=dd#G3jVg_H"> <field name="NUM">1</field> </block> </value> <value name="Z"> <block type="math_number" id="Rp@{2XA|u)f3e$}xp7AL"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Angle"> <block type="math_arithmetic" id=";uWRpGIJbz2KJ5xC:T3*"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="UG{v*PGFwsT$7IyniX?|"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_number" id="8|Bb[Ll}Z/BTIyL,}{qc"> <field name="NUM">360</field> </block> </value> <value name="B"> <block type="variables_get" id="iq/!lL([~*abnM}6_}P}"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="Q$9(`YM,.(9h@8p]imJY"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="NrOfDivisions"> <block type="variables_get" id="r`Aaes}@3[co=s^a=_A!"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> <value name="RemoveStartPoint"> <block type="logic_boolean" id="rK~_v8{ihq}%IN-mKWgT"> <field name="BOOL">FALSE</field> </block> </value> <value name="RemoveEndPoint"> <block type="logic_boolean" id="WV8@!71EE?^+x3RRQvQZ"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <next> <block type="base_time_then" id="cL7F@#W!({P@|cDE$2CR"> <field name="Result" id="c(r*f|{ceVrT*SS*(dci">result</field> <value name="Promise"> <block type="lists_create_with" id="yoQ]awos~#w=gQ(]iQ?h"> <mutation items="2"> </mutation> <value name="ADD0"> <block type="variables_get" id="1-=e1X1ua`~DK{B}_g{,"> <field name="VAR" id="dp!1s{};}gme~2O1_BI$">outerPointsPromise</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="dES*Yv:cf$m^`,bnFvI!"> <field name="VAR" id="Qjf0fBYCi7gSkRK~p3?W">innerPointsPromise</field> </block> </value> </block> </value> <statement name="Then"> <block type="variables_set" id="Ax2udG8R1G=Dce~YMcFe"> <field name="VAR" id="m17OkdO=d+hHT%|ifP{A">outerPoints</field> <value name="VALUE"> <block type="lists_getIndex" id="sMN^)p+8J*1g;8HI.t89"> <mutation statement="false" at="true"> </mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="-ZcI?ym!Q9~Z}wm%5ADM"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> <value name="AT"> <block type="math_number" id="S)o07H1vlay@?G+p?$yk"> <field name="NUM">1</field> </block> </value> </block> </value> <next> <block type="variables_set" id="WQC/LdW~W2#jMYZ~+TH+"> <field name="VAR" id="9_$qUte_1OBafU`L{AeG">innerPoints</field> <value name="VALUE"> <block type="lists_getIndex" id="oJAFCQ-k`,M6fRENYIc*"> <mutation statement="false" at="true"> </mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="q,-L#IQs,%{97h61)sOS"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> <value name="AT"> <block type="math_number" id="t9Lmcj=[Bv?0qXv0[:ZM"> <field name="NUM">2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="AzXJ(}d;Bc{lRY6?w,(#"> <field name="VAR" id="i$N3EBn/m2B^NT![9n)Y">points</field> <value name="VALUE"> <block type="lists_create_with" id="/?U~U-ix4_%5mK~=1yQ*"> <mutation items="0"> </mutation> </block> </value> <next> <block type="controls_for" id="qQ(q+eIL,|u(y|o+E;$r"> <field name="VAR" id="zNgw%(Dk#?=J^o/y)-(L">i</field> <value name="FROM"> <block type="math_number" id="}.Zr8*lP/PIUQxZ-]W?$"> <field name="NUM">1</field> </block> </value> <value name="TO"> <block type="variables_get" id="#tYQBamq_WKBZ[~eTE(#"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> <value name="BY"> <block type="math_number" id="nx/21p[IQD/`_YpS29Ll"> <field name="NUM">1</field> </block> </value> <statement name="DO"> <block type="variables_set" id="dJDH90O:J=?yif_r9Wt:"> <field name="VAR" id="-FV38!l,!d+[9-iT8WW0">nextIndex</field> <value name="VALUE"> <block type="math_arithmetic" id="],I[K6kgSmBSY2$r4L+z"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="$wH@/;$0Wb!8sj-I}uyY"> <field name="VAR" id="zNgw%(Dk#?=J^o/y)-(L">i</field> </block> </value> <value name="B"> <block type="math_number" id="2V1w3?n)44=FMb5iGTHu"> <field name="NUM">1</field> </block> </value> </block> </value> <next> <block type="lists_setIndex" id="vm7=8nyRb(?r9KSzfZP*"> <mutation at="false"> </mutation> <field name="MODE">INSERT</field> <field name="WHERE">LAST</field> <value name="LIST"> <block type="variables_get" id="(e7%z@H5(+{4@Pjm:t7n"> <field name="VAR" id="i$N3EBn/m2B^NT![9n)Y">points</field> </block> </value> <value name="TO"> <block type="lists_getIndex" id="ux~m~[g:,PZx_xAKp6*%"> <mutation statement="false" at="true"> </mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="q%0%Q:yivJHT/V4/4q.e"> <field name="VAR" id="m17OkdO=d+hHT%|ifP{A">outerPoints</field> </block> </value> <value name="AT"> <block type="variables_get" id="P=PG!d?@zo4YHoNv26ZB"> <field name="VAR" id="zNgw%(Dk#?=J^o/y)-(L">i</field> </block> </value> </block> </value> <next> <block type="lists_setIndex" id="49[K(uR9G=Qy3*]S@p9x"> <mutation at="false"> </mutation> <field name="MODE">INSERT</field> <field name="WHERE">LAST</field> <value name="LIST"> <block type="variables_get" id="W/$Ba(A{_ooOjP3qZ]H*"> <field name="VAR" id="i$N3EBn/m2B^NT![9n)Y">points</field> </block> </value> <value name="TO"> <block type="lists_getIndex" id="DD`wAB9T/n4X_]!7NkZ,"> <mutation statement="false" at="true"> </mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="VALUE"> <block type="variables_get" id="I~@:W$1};LJUaX3tjtF~"> <field name="VAR" id="9_$qUte_1OBafU`L{AeG">innerPoints</field> </block> </value> <value name="AT"> <block type="variables_get" id="YC^.zsX7r4Lw_RFZ)|5i"> <field name="VAR" id="zNgw%(Dk#?=J^o/y)-(L">i</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="variables_set" id="r@)4kSsxmLvyXT)*IMSA"> <field name="VAR" id="|KI85g%STRHgsX]zjlA4">sides</field> <value name="VALUE"> <block type="bitbybit.occt.fillets.filletEdges" id="!)jvILKK_aL@o9O}{G^J"> <value name="Shape"> <block type="bitbybit.occt.operations.extrude" id=")yXIX(*{!eCYA}@srdp-"> <value name="Shape"> <block type="bitbybit.occt.booleans.difference" id="@!FAfoT#$n#!EGRW5)L/"> <value name="Shape"> <block type="bitbybit.occt.shapes.face.createPolygonFace" id="^!}Y]!3~R4V^7GF$mqne"> <value name="Points"> <block type="variables_get" id="j^jOZWwNCk/^?Ie5K)=v"> <field name="VAR" id="i$N3EBn/m2B^NT![9n)Y">points</field> </block> </value> </block> </value> <value name="Shapes"> <block type="lists_create_with" id="Ch-/=Nap@Ic.xJP)?T3_"> <mutation items="1"> </mutation> <value name="ADD0"> <block type="bitbybit.occt.shapes.face.createFaceFromWire" id="8[(djU-HygW.=R!oHd=8"> <value name="Shape"> <block type="bitbybit.occt.shapes.wire.createCircleWire" id="XJ0G3}1B^1QtLodxi6Tq"> <value name="Radius"> <block type="variables_get" id="MWa}nFAp%~R9!aC?H7-V"> <field name="VAR" id="3-K*#$gxQrJ~s,xV*QYB">holeRadius</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="DYPR78KA6*=ex;?=q(g!"> <value name="X"> <block type="math_number" id="+5F^5_=PKcwY*:*nFpn_"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id=";I@K12m~o%|$(k),K4eT"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="~HNAp[^-U_2Lyp!Lhqb+"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.point.pointXYZ" id="#fkTXwMe^e5QC@cyi#IK"> <value name="X"> <block type="math_number" id="2Ojv6YVpLwRZ/Y~|JVd4"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="7BR?yUIitl6]Xuo=$sm7"> <field name="NUM">1</field> </block> </value> <value name="Z"> <block type="math_number" id="dKHlGqN*;:Jsa+b6dT,V"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Planar"> <block type="logic_boolean" id="`ZByGPVkLUWohi:[o7ZL"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="KeepEdges"> <block type="logic_boolean" id="?[RY~uiXZ(;L=@;9;v!^"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.point.pointXYZ" id="v9Xk*rGvg?L?+K0kc:Br"> <value name="X"> <block type="math_number" id="ett8wwtML$kFuADd;:TD"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="variables_get" id="+Hj7mF,Dky(Kr{.=lrGB"> <field name="VAR" id="P{?od/GXKQsnliVH-|,G">gearHeight</field> </block> </value> <value name="Z"> <block type="math_number" id="o)a7Jw?_FnhYzYW|$1Z^"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Radius"> <block type="math_number" id="~|^/bc_!5[7~qNSi.eEC"> <field name="NUM">0.2</field> </block> </value> </block> </value> <next> <block type="base_time_then" id="88ONfp{teL0]2pH81$vf"> <field name="Result" id="c(r*f|{ceVrT*SS*(dci">result</field> <value name="Promise"> <block type="bitbybit.draw.drawAnyAsync" id="bhr0D+m.vX*K.#~0Wu3?"> <value name="Entity"> <block type="variables_get" id="MBHl01SW29]H4QM8AP_T"> <field name="VAR" id="|KI85g%STRHgsX]zjlA4">sides</field> </block> </value> <value name="Options"> <block type="bitbybit.draw.optionsOcctShape" id="++Q!7Ea54/2GRsCC;vng"> <value name="FaceOpacity"> <block type="math_number" id="k%}nghpVaH0-7[Vnh.65"> <field name="NUM">1</field> </block> </value> <value name="EdgeOpacity"> <block type="math_number" id="/Cm{B,lMUaTLJZF(v[3q"> <field name="NUM">1</field> </block> </value> <value name="EdgeColour"> <block type="colour_picker" id="Z0bMD23h9V7`,R]b}L_@"> <field name="COLOUR">#000000</field> </block> </value> <value name="FaceColour"> <block type="colour_rgb" id="^3`77OFGyO@/Yt1oez%J"> <value name="RED"> <shadow type="math_number" id="h,f+OcN$*g5nL5p.pO~;"> <field name="NUM">2</field> </shadow> </value> <value name="GREEN"> <shadow type="math_number" id="t+,yAH/x*s6JTLW)xE~@"> <field name="NUM">2</field> </shadow> </value> <value name="BLUE"> <shadow type="math_number" id="arn[V|]sT-Cqv@ZZg1@q"> <field name="NUM">2</field> </shadow> </value> </block> </value> <value name="EdgeWidth"> <block type="math_number" id="9WD%k5yV8OB@5MftD!vN"> <field name="NUM">2</field> </block> </value> <value name="DrawEdges"> <block type="logic_boolean" id="#.rd$:_6EgxT:mqp4qF@"> <field name="BOOL">FALSE</field> </block> </value> <value name="DrawFaces"> <block type="logic_boolean" id="Fx-$VbF(!v{F}YX+YUf%"> <field name="BOOL">TRUE</field> </block> </value> <value name="Precision"> <block type="math_number" id="Y1Ko;m:JGJi;3?Hh%=nj"> <field name="NUM">0.01</field> </block> </value> <value name="DrawEdgeIndexes"> <block type="logic_boolean" id="px|QmaE@(c~t%M;Sj?kQ"> <field name="BOOL">FALSE</field> </block> </value> <value name="EdgeIndexHeight"> <block type="math_number" id="CrkWWuyHb$[eD8]uYGz:"> <field name="NUM">0.06</field> </block> </value> <value name="EdgeIndexColour"> <block type="colour_picker" id=",@ij)uZP)#64Wk*(^JEU"> <field name="COLOUR">#bbbbff</field> </block> </value> <value name="DrawFaceIndexes"> <block type="logic_boolean" id="al~#h}bGh_a^zRj*QF,1"> <field name="BOOL">FALSE</field> </block> </value> <value name="FaceIndexHeight"> <block type="math_number" id="+oS)1t!t,er6!1yV4UmM"> <field name="NUM">0.06</field> </block> </value> <value name="FaceIndexColour"> <block type="colour_picker" id="sR1epsjuL.Y*`AB0zjLV"> <field name="COLOUR">#ffffff</field> </block> </value> </block> </value> </block> </value> <statement name="Then"> <block type="variables_set" id="2,^*eA={s!;d@H~s?1h5"> <field name="VAR" id="0]{c514e9o((!+pO$#I0">meshInstance1</field> <value name="VALUE"> <block type="bitbybit.babylon.mesh.createMeshInstance" id="NR,B9Z`U8;~RY[pk9tVv"> <value name="Mesh"> <block type="variables_get" id="=U?%T:JsZnO??wuXlzT@"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Y%l;YVXdf{9DsGe{,{$g"> <field name="VAR" id="5fxwkMOQ+4^e-.FDGuC-">meshInstance2</field> <value name="VALUE"> <block type="bitbybit.babylon.mesh.createMeshInstance" id=".r@(r_fq?_hL_3R7HX,V"> <value name="Mesh"> <block type="variables_get" id="?Tw=^oL-oa@JcqBid@rx"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> </block> </value> <next> <block type="variables_set" id="lTN6./Weh[kgnGo4[[wI"> <field name="VAR" id=";w?c7{Dy9PcU#@;CsdDF">meshInstance3</field> <value name="VALUE"> <block type="bitbybit.babylon.mesh.createMeshInstance" id="Lr@@ypt$+i|:T9|hXx8_"> <value name="Mesh"> <block type="variables_get" id="`7Tm.^*O`eTFW9g=kzhB"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Lf_~dQ*E`e9?h9B].a+Z"> <field name="VAR" id="]yRxv^;WvI_b51PuR6Lh">meshInstance4</field> <value name="VALUE"> <block type="bitbybit.babylon.mesh.createMeshInstance" id="e.IcU3lb7UzI#;bIh-cE"> <value name="Mesh"> <block type="variables_get" id="spsC(LV[G5_eOWRS{Nq+"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setParent" id="kk0e9bt@wvDkhyus`rfx"> <value name="BabylonMesh"> <block type="variables_get" id="yZMkmbJIDJM}b8c#whJN"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> <value name="ParentMesh"> <block type="variables_get" id="]G.x`HaTO(4o;/RB3G66"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> </block> </value> <next> <block type="bitbybit.babylon.mesh.setParent" id="%mN|zn!=UBUVr(EdeEwI"> <value name="BabylonMesh"> <block type="variables_get" id="4BGX7VJ?O*(igJKTrj2l"> <field name="VAR" id="0]{c514e9o((!+pO$#I0">meshInstance1</field> </block> </value> <value name="ParentMesh"> <block type="variables_get" id="6@~(+(8LK[sT8v:~Ankj"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> </block> </value> <next> <block type="bitbybit.babylon.mesh.setParent" id="oa+kFhMp12zN9[a8r_Jy"> <value name="BabylonMesh"> <block type="variables_get" id="1Z%Ys~1,J2LbWh6{_0V3"> <field name="VAR" id="5fxwkMOQ+4^e-.FDGuC-">meshInstance2</field> </block> </value> <value name="ParentMesh"> <block type="variables_get" id="vj*zyetgz:2`CRujG4dH"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> </block> </value> <next> <block type="bitbybit.babylon.mesh.setParent" id="BLHJ(i8j(#o#1OU;H/b_"> <value name="BabylonMesh"> <block type="variables_get" id="qXAIDLBTP0(FZ-F;gU|-"> <field name="VAR" id=";w?c7{Dy9PcU#@;CsdDF">meshInstance3</field> </block> </value> <value name="ParentMesh"> <block type="variables_get" id=";FMEEq{#|y8,D,Rs43?3"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> </block> </value> <next> <block type="bitbybit.babylon.mesh.setParent" id="r@[^S(_qnr2RYU^B(qm9"> <value name="BabylonMesh"> <block type="variables_get" id="ndEo727,E*A,do?0iyqC"> <field name="VAR" id="]yRxv^;WvI_b51PuR6Lh">meshInstance4</field> </block> </value> <value name="ParentMesh"> <block type="variables_get" id="Bq-$4w|@K?a~U#j?o4T9"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> </block> </value> <next> <block type="variables_set" id="n^sq3[2U6;c_4JexjMQ{"> <field name="VAR" id="YQrh,8yC#R?17Y[)s(:B">offsetDistance</field> <value name="VALUE"> <block type="math_arithmetic" id="~l77nEe,$#3NONc?.:f("> <field name="OP">MINUS</field> <value name="A"> <block type="math_arithmetic" id="wUMqAkh%WUj%FE^]va}/"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_arithmetic" id="nu|Os}%#ros$TFu7InFa"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="S6@v`wKj]R{;TQX.IQht"> <field name="VAR" id="o$`Iimj_A6@k)$#B)#HW">innerRadius</field> </block> </value> <value name="B"> <block type="math_arithmetic" id="e+FFod=wbB=CsE5c|I)V"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="EhG^Pt:HR2dLNOK~/yY9"> <field name="OP">MINUS</field> <value name="A"> <block type="variables_get" id="n$L@Wh2G}Cspvr)M)WGe"> <field name="VAR" id=")eOc=2V@92Ca?B:vNL?y">outerRadius</field> </block> </value> <value name="B"> <block type="variables_get" id="Fj-qsao24_!8G*Nfh~S_"> <field name="VAR" id="o$`Iimj_A6@k)$#B)#HW">innerRadius</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="Z{Ba]uQNEa2Q]RAo|+;S"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="Dx!$7xmS8zClNZ,};AI1"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="d*n2y@hqkQ;Gp(GClHac"> <field name="NUM">0.3</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setPosition" id="]3|Ru=p`ED9r???LPF)S"> <value name="BabylonMesh"> <block type="variables_get" id="VT(|IPV~%(A?*]b2Nycr"> <field name="VAR" id="0]{c514e9o((!+pO$#I0">meshInstance1</field> </block> </value> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="s4FMfaLbx0T;M8mTT0e="> <value name="X"> <block type="math_number" id="{LF;p_`eP_1LE7Z^*^yl"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="BG$6:^pjn.EA_UqguM!)"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="variables_get" id="FxBa?SmQhbxWqancKTi,"> <field name="VAR" id="YQrh,8yC#R?17Y[)s(:B">offsetDistance</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setPosition" id=",P@u:)4s*.Yb0Hp#.z}X"> <value name="BabylonMesh"> <block type="variables_get" id="*=tSez1.#%fIqR5,r,:_"> <field name="VAR" id="5fxwkMOQ+4^e-.FDGuC-">meshInstance2</field> </block> </value> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="*twqSnO9Bm3+Eq@5U$V|"> <value name="X"> <block type="variables_get" id="s3X;7iagYOHZQydz3Orv"> <field name="VAR" id="YQrh,8yC#R?17Y[)s(:B">offsetDistance</field> </block> </value> <value name="Y"> <block type="math_number" id="i!KgmdaI|9csw/NM_-SQ"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="t86%R}aJbKmzFuz}-?CE"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setPosition" id="(/Fojg4E$/Makq3j)ov1"> <value name="BabylonMesh"> <block type="variables_get" id="@dC9.K5iHsbX.PH/+GM)"> <field name="VAR" id=";w?c7{Dy9PcU#@;CsdDF">meshInstance3</field> </block> </value> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="I`6*.yF;FyFp[?%GaYyt"> <value name="X"> <block type="math_single" id="OzkJ=P/Y,({:t-?5lM-r"> <field name="OP">NEG</field> <value name="NUM"> <block type="variables_get" id="|(C_Wp|N_8I`l]2bK4Rn"> <field name="VAR" id="YQrh,8yC#R?17Y[)s(:B">offsetDistance</field> </block> </value> </block> </value> <value name="Y"> <block type="math_number" id="|sJGv@~7;u9{-S]Us8-9"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="cy(pebdS~]Kg~lhwL|q-"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setPosition" id="AfJ=4{$y4(@w|%[R+pot"> <value name="BabylonMesh"> <block type="variables_get" id=":Myx#^AgJ^_!`wb$l;y8"> <field name="VAR" id="]yRxv^;WvI_b51PuR6Lh">meshInstance4</field> </block> </value> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="KVBwRl*r]sUkqELe#RM."> <value name="X"> <block type="math_number" id="o}CB*5cnL8AEZgd,Ck+D"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="S.tmcz=;o.m!3[`eoOr]"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_single" id="t2vN+m;$06`{?i~`_X4k"> <field name="OP">NEG</field> <value name="NUM"> <block type="variables_get" id="+lIBiHaV{L]w1`mLKR@]"> <field name="VAR" id="YQrh,8yC#R?17Y[)s(:B">offsetDistance</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="P3=}2d=nnW4I,-5KD*RG"> <field name="VAR" id="2ji1kVdqFkyhso8HAL4;">rotationOfHalfSpike</field> <value name="VALUE"> <block type="math_arithmetic" id="5ksJYe=jHqgzTE1ATs6A"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="2)@(+kNX`HN#bC%D9+zz"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_number" id="8z`4y%i|o}oc[)z+IBNb"> <field name="NUM">360</field> </block> </value> <value name="B"> <block type="variables_get" id="oTU}z?WaqZ`%%hzW6WLs"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="YyF$(FB`_/{K5TZrF=C@"> <field name="NUM">2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="S1oR8x2E;(%MI,Z5yhfj"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> <value name="VALUE"> <block type="math_number" id="~zc}fLcV3A{Ps5EGa,[g"> <field name="NUM">0</field> </block> </value> <next> <block type="base_time_update" id="PCVIK3+oLMWr57CCHc:h"> <field name="TimePassedMs" id="RJrGAt5l25?xwP)e9*CN">timeElapsedFromPreviousFrame</field> <statement name="Update"> <block type="math_change" id="vPy#4VQt6rhDXT!h)U=e"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> <value name="DELTA"> <shadow type="math_number" id="Ezz:6=iI@{z2D~1Q?MFX"> <field name="NUM">1</field> </shadow> </value> <next> <block type="bitbybit.babylon.mesh.setRotation" id="2Cwj`AY(U3Xk6[D3H47L"> <value name="BabylonMesh"> <block type="variables_get" id="*RXG_-c0x:FR,,C9spr;"> <field name="VAR" id="0]{c514e9o((!+pO$#I0">meshInstance1</field> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="xo2`_hZNcZaCRvR/!B/d"> <value name="X"> <block type="math_number" id="~;b~Y#Y?}7oo+Y3yyM@%"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_arithmetic" id="iEeqv%1MlYr=j0,g{WLX"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="MNpp^30E97Tp,oD33CPd"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> </block> </value> <value name="B"> <block type="math_arithmetic" id="3Vf-ZDPIy:iS9MTAE=g#"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="*zQN1ofF#0^kPGFPj-iW"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_number" id="V=]QRu2zT6ZyFsW`UHK0"> <field name="NUM">360</field> </block> </value> <value name="B"> <block type="variables_get" id="_l[Sjn4~ZB?K?h{wPY+|"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="L;fg#*FV1f8LIqvan-$6"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="Z"> <block type="math_number" id="Vpjd2$hY%;f]XhH9#z~A"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setRotation" id="4mXStp4=JV,k=(7O8e2N"> <value name="BabylonMesh"> <block type="variables_get" id="R|`2Csjv1M2ris~qcl?y"> <field name="VAR" id="5fxwkMOQ+4^e-.FDGuC-">meshInstance2</field> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="]28NA9//Uj%w9X.juKG,"> <value name="X"> <block type="math_number" id="xyIXP/){~[P29Xes)yv;"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_arithmetic" id="V$vpGBe)|6;FzSd6k?vS"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="#]R82z#x2pZQ]`ve.u_c"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> </block> </value> <value name="B"> <block type="math_arithmetic" id="__QQ#4;OR,g1xeAOs#Ms"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="F1a]8Jq-/f?edra$zFxV"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_number" id="ehHdA!U(j;FmL5;t0s`C"> <field name="NUM">360</field> </block> </value> <value name="B"> <block type="variables_get" id="WXOxviA-Dw^+LTiO/V2%"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="^_iw:[+$4x3LX.2ksFu8"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="Z"> <block type="math_number" id="W1vQ)}`?if1s/S0SQF*7"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setRotation" id="~$yKztISe*8e+^0zvQyw"> <value name="BabylonMesh"> <block type="variables_get" id="CZ)Gb9RvE+V2,~IxM-@R"> <field name="VAR" id=";w?c7{Dy9PcU#@;CsdDF">meshInstance3</field> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="oO1w2XbNDfydGM4lfz?A"> <value name="X"> <block type="math_number" id="DZJ7|EELz2I=3?zw6/mv"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_arithmetic" id=")T3:{p(jvpvelqgbzowr"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="e$=QJPUa8uG/6SOA|DbQ"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> </block> </value> <value name="B"> <block type="math_arithmetic" id=",vyw3b~%J;U0q+0ow$#@"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="!j46WlS$VzB?-ePKugm|"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_number" id="2?+1ws)XM^hpk4ZWh4LQ"> <field name="NUM">360</field> </block> </value> <value name="B"> <block type="variables_get" id="[#sOn#Z:+niN0:d9|s}E"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id=":6SBA-588OJTj}k/97OE"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="Z"> <block type="math_number" id="-`{oigXmld3Ed,Ji/_P~"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setRotation" id="H`V2k]h:*aB=/M1rmSbU"> <value name="BabylonMesh"> <block type="variables_get" id="(LF*6+(*T*C2XbynC_op"> <field name="VAR" id="]yRxv^;WvI_b51PuR6Lh">meshInstance4</field> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="/_B|e7:*O~z0h|P=rU{S"> <value name="X"> <block type="math_number" id="}S)^e$5t,pMAeZS^c,q."> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_arithmetic" id="@R@!QKGmit,.K[z`8A~J"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="wsTv1i[GaFdhh=L+;#(;"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> </block> </value> <value name="B"> <block type="math_arithmetic" id="j3nQ-oIcE-,@RH?}b6}W"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_arithmetic" id="BTksb$/S-`@T%UV%M7G4"> <field name="OP">DIVIDE</field> <value name="A"> <block type="math_number" id="kS`E1h;4|ZvzI8O}gs|+"> <field name="NUM">360</field> </block> </value> <value name="B"> <block type="variables_get" id="R{T7O}Wyi0K@px*pLKRz"> <field name="VAR" id="b?,w^#L?K%^yuvrPStYd">nrOfSpikes</field> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="(dJFm2}f~z5@i70_l~zw"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <value name="Z"> <block type="math_number" id=":N=I~j~32wep:r_wH]4W"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setRotation" id="9}$LmIlaEd+GcP|[R9#d"> <value name="BabylonMesh"> <block type="variables_get" id="69k$yzr*$Td~hgNLxMB$"> <field name="VAR" id="c(r*f|{ceVrT*SS*(dci">result</field> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="yCGpa%H~@O8bay.B-[SW"> <value name="X"> <block type="math_number" id="uFWZ{QA/2`nvy{M49Pb`"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_single" id="});8jWZhgb`aUB?YKw8j"> <field name="OP">NEG</field> <value name="NUM"> <block type="variables_get" id="sCtnq,G/@(l7g^i!Mg{k"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> </block> </value> </block> </value> <value name="Z"> <block type="math_number" id="hLkpi~n?=l]foO|*gj4T"> <field name="NUM">0</field> </block> </value> </block> </value> <next> <block type="bitbybit.babylon.mesh.setRotation" id="yCuz6i67uvcCx^Gpr01o"> <value name="BabylonMesh"> <block type="variables_get" id="kB.oDJj%M;vq-}_C8csF"> <field name="VAR" id="oAgB+v|4N7pgt7i@vFKI">globalNode</field> </block> </value> <value name="Rotation"> <block type="bitbybit.point.pointXYZ" id="[kbb1)?:+R3K00LTL;;E"> <value name="X"> <block type="math_number" id="(d.$zxj^Z{XRteBfC[BS"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_arithmetic" id="n{%f^w]5gVEsg*%)QLAd"> <field name="OP">DIVIDE</field> <value name="A"> <block type="variables_get" id="uGS|1jE@P=l7qYQCDt^W"> <field name="VAR" id="FM.QaaH|@di|):Y(E:~2">rotationCount</field> </block> </value> <value name="B"> <block type="math_number" id=",E!WY5{^rL|5k4b0@(oz"> <field name="NUM">2</field> </block> </value> </block> </value> <value name="Z"> <block type="math_number" id="D?xt/fG$Jb01.{5Zmibb"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="+EcC;O}MgN!D{h:QNnww"> <value name="Entity"> <block type="bitbybit.occt.shapes.face.createCircleFace" id="03{^xDiriOW-Y:G-r,80"> <value name="Radius"> <block type="math_number" id="*PvVqUr}IM#rY4uDj6iP"> <field name="NUM">20</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="Z~0BcWv*.yUWWI}cTK+`"> <value name="X"> <block type="math_number" id="-XnCL#q$2DWzlQ|Si+8m"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="n7e0R)KgUr#QBdI^nyrP"> <field name="NUM">-1</field> </block> </value> <value name="Z"> <block type="math_number" id="N#a7(V@xJ0Pz{f@;5LId"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.point.pointXYZ" id="52#ME1c9$I9Gc8Z-`MO~"> <value name="X"> <block type="math_number" id="?$vvC,0vc6L9.o=eAkZl"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="!Rqo3wJ!8re8SHe~7oP+"> <field name="NUM">1</field> </block> </value> <value name="Z"> <block type="math_number" id="SVv/gRw+r#Hn!c/K7:7X"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Options"> <block type="bitbybit.draw.optionsOcctShape" id="~_p;mt/HeN`f-_yyF1Br"> <value name="FaceOpacity"> <block type="math_number" id="l?!;48v:p$-b%,k4$-:y"> <field name="NUM">1</field> </block> </value> <value name="EdgeOpacity"> <block type="math_number" id="v:-3/76F29n~xqfqn;~m"> <field name="NUM">1</field> </block> </value> <value name="EdgeColour"> <block type="colour_picker" id="Vgvo?D5!E$EaLa/`Dg:I"> <field name="COLOUR">#bbbbff</field> </block> </value> <value name="FaceColour"> <block type="colour_picker" id="c!x6h`(e|*Y)gMAX8hrZ"> <field name="COLOUR">#333399</field> </block> </value> <value name="EdgeWidth"> <block type="math_number" id="|`C~n:gtF2FctxgZiO9@"> <field name="NUM">2</field> </block> </value> <value name="DrawEdges"> <block type="logic_boolean" id="d8JVO-U1HOR`urd[qy_e"> <field name="BOOL">FALSE</field> </block> </value> <value name="DrawFaces"> <block type="logic_boolean" id="D3qJ~EOjyI|sQFP=I/*P"> <field name="BOOL">TRUE</field> </block> </value> <value name="Precision"> <block type="math_number" id="BY13NuZ-Oyv|o@w-$tv_"> <field name="NUM">0.005</field> </block> </value> <value name="DrawEdgeIndexes"> <block type="logic_boolean" id="VXT+iW_?D]8)XZ8#faeN"> <field name="BOOL">FALSE</field> </block> </value> <value name="EdgeIndexHeight"> <block type="math_number" id="F;+rdBgl4Ub[aKG2iCjO"> <field name="NUM">0.06</field> </block> </value> <value name="EdgeIndexColour"> <block type="colour_picker" id="6/4`u;#Of,KCtr_3Jm$3"> <field name="COLOUR">#bbbbff</field> </block> </value> <value name="DrawFaceIndexes"> <block type="logic_boolean" id="AmVUB+^hoT.n$XK`}Pv4"> <field name="BOOL">FALSE</field> </block> </value> <value name="FaceIndexHeight"> <block type="math_number" id="1Y7N=87yvb$P3@O5ZCE0"> <field name="NUM">0.06</field> </block> </value> <value name="FaceIndexColour"> <block type="colour_picker" id="+iCv[f(u*}6;~!y^{v}D"> <field name="COLOUR">#ffffff</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>