Example in Blockly

Example in Blockly script details
Type
Blockly logo image
blockly
App Version
0.19.0
Visibility
public
Date Created
Mar 19, 2021, 1:03:47 PM
Last Edit Date
Dec 2, 2024, 7:29:44 AM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="nrw5v-u3}jANNN5w3Ft+">numberOfRays</variable> <variable id="V}{i9I1j|.eo{El18Il2">spiralPoints</variable> <variable id="#YTXUxl#X#!6#{unXJ;L">rays</variable> <variable id=")hb0:,qLg3U04e{d~%CC">spiralingLineCurves</variable> <variable id="7Y0{]=wHl5yyie.j-#0i">shellSurfaces</variable> <variable id="xODYaS@s7:QqW*l1cD)M">segmentScalingFactor</variable> <variable id="`lFnHOs8?h46n4EMa8sl">segmentedLineCurves</variable> <variable id="~kP*`!MXxjPGCm%:3K,)">loopyCurves</variable> <variable id="u;9*SgbUz+h$|(!F/R)z">shellColours</variable> <variable id=",,vNv!|fMaLgM9t;}1Gs">curveScalingFactorCenter</variable> <variable id="G{0e-e_!ZKbu_84lA/K^">i</variable> <variable id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</variable> <variable id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</variable> </variables> <block type="bitbybit.babylon.scene.drawPointLightNoReturn" id="Bm3ZrEB}b/m/EZ-}[7[5" x="-967" y="-453"> <value name="Position"> <block type="bitbybit.point.pointXYZ" id="epN@=2r;Eau0Zp+sQvr%"> <value name="X"> <block type="math_number" id="=4?:MOQ@^8z,pZ)LD1Nq"> <field name="NUM">5</field> </block> </value> <value name="Y"> <block type="math_number" id="Q:`EvG@6N[`d99]_19`n"> <field name="NUM">5</field> </block> </value> <value name="Z"> <block type="math_number" id="7Nu~8qe[U2UV`)9ed:-?"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="Intensity"> <block type="math_number" id="%#woSO9Eo4#nWQ=cwXp1"> <field name="NUM">1000</field> </block> </value> <value name="Diffuse"> <block type="colour_picker" id="n-B^BsOn/q!0ip1kW{|*"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="Specular"> <block type="colour_picker" id="P+Dp({uCu$Zs,LcF#])U"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="Radius"> <block type="math_number" id="V:~UYZ90c5_Ld:(FGt:j"> <field name="NUM">0</field> </block> </value> <value name="ShadowGeneratorMapSize"> <block type="math_number" id="2I@E[]J;5ezv8nl9^k6W"> <field name="NUM">1024</field> </block> </value> <value name="EnableShadows"> <block type="logic_boolean" id="9JKorK|*]ClSV}U_YYw="> <field name="BOOL">FALSE</field> </block> </value> <value name="ShadowDarkness"> <block type="math_number" id="?*{]i*_vB^dnza*EAtKz"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="V_@F$R;R~[lDhj(#1L/J"> <field name="VAR" id="nrw5v-u3}jANNN5w3Ft+">numberOfRays</field> <value name="VALUE"> <block type="math_number" id="8{W%}s_Z;2}nDMdKSI74"> <field name="NUM">201</field> </block> </value> <next> <block type="variables_set" id="ri6l}2ovQj.-QQ@+g%Cu"> <field name="VAR" id="V}{i9I1j|.eo{El18Il2">spiralPoints</field> <value name="VALUE"> <block type="bitbybit.point.spiral" id="{^]BpnPSRx6n__2Dv%4G"> <value name="Phi"> <block type="math_number" id="ki[rb/1Z1U2#TE8@iHsC"> <field name="NUM">0.9</field> </block> </value> <value name="NumberPoints"> <block type="variables_get" id=";JiRFs_~|,hSH76^]t4p"> <field name="VAR" id="nrw5v-u3}jANNN5w3Ft+">numberOfRays</field> </block> </value> <value name="Widening"> <block type="math_number" id="|gItMA=x0Pd%VBe[6ITm"> <field name="NUM">3</field> </block> </value> <value name="Radius"> <block type="math_number" id="AP)T-X#^d7,=56l7,,|_"> <field name="NUM">6</field> </block> </value> <value name="Factor"> <block type="math_number" id=":7+q8A.q0wV(sj|g%Ddi"> <field name="NUM">1</field> </block> </value> </block> </value> <next> <block type="variables_set" id="0,lh.@VvbXq(3]w|rj8E"> <field name="VAR" id="#YTXUxl#X#!6#{unXJ;L">rays</field> <value name="VALUE"> <block type="bitbybit.line.convertLinesToNurbsCurves" id=",wca#cgiV(WY]5lp{i*,"> <value name="Lines"> <block type="bitbybit.line.linesBetweenStartAndEndPoints" id="Oi_Y{D|A`YO.LJDiIXkH"> <value name="StartPoints"> <block type="variables_get" id="%K-tcp^%4qYS6_ma+)^e"> <field name="VAR" id="V}{i9I1j|.eo{El18Il2">spiralPoints</field> </block> </value> <value name="EndPoints"> <block type="bitbybit.point.multiplyPoint" id="qdw0jge/Gt;U{,1hGbU%"> <value name="Point"> <block type="bitbybit.point.pointXYZ" id="%{AYv?XLnh:y~r`;==CN"> <value name="X"> <block type="math_number" id="=-t2}S)eCve%lph0eI?I"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id=".+jfK1L[:tt)e~T|%1T2"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="T#@#TDpomM+U/b;r%iaK"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="AmountOfPoints"> <block type="lists_length" id="`YBsr%5,X`Xy6dxq3V/$"> <value name="VALUE"> <block type="variables_get" id="yZp(64ZpVSL{DrFs1cYC"> <field name="VAR" id="V}{i9I1j|.eo{El18Il2">spiralPoints</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="S3[-q}[2i5!{NFHP`I`|"> <field name="VAR" id=")hb0:,qLg3U04e{d~%CC">spiralingLineCurves</field> <value name="VALUE"> <block type="bitbybit.line.convertLinesToNurbsCurves" id="pRepWJE]r#gGaiDF/+6e"> <value name="Lines"> <block type="bitbybit.line.linesBetweenStartAndEndPoints" id="6XsH4o;@B]2`N{akRyk0"> <value name="StartPoints"> <block type="bitbybit.verb.curve.startPoints" id="n1#@d6Ot#^AM{Ps)c`D1"> <value name="Curves"> <block type="variables_get" id="F`0=X9%[]W-})ZD=]]Sl"> <field name="VAR" id="#YTXUxl#X#!6#{unXJ;L">rays</field> </block> </value> </block> </value> <value name="EndPoints"> <block type="bitbybit.verb.curve.pointsAtParam" id="N^m$J5M}hkNrA[V^Ss-%"> <value name="Curves"> <block type="variables_get" id="+s1w[bMWkK%a0cdn}I+,"> <field name="VAR" id="#YTXUxl#X#!6#{unXJ;L">rays</field> </block> </value> <value name="Parameter"> <block type="math_number" id="y}S_b+{G{fDWQCj28ey5"> <field name="NUM">0.47</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="r.(B:9lIa8U*3abbGHn9"> <field name="VAR" id="7Y0{]=wHl5yyie.j-#0i">shellSurfaces</field> <value name="VALUE"> <block type="lists_create_with" id="|{Fydgw)TODPE2QG*xmR"> <mutation items="0"> </mutation> </block> </value> <next> <block type="variables_set" id="@@[CB9pTe[7ZFp]fF((Q"> <field name="VAR" id="xODYaS@s7:QqW*l1cD)M">segmentScalingFactor</field> <value name="VALUE"> <block type="math_number" id="}JPOHH]W4ay(L.gaN.]O"> <field name="NUM">0.5</field> </block> </value> <next> <block type="controls_forEach" id="sNh^G_`nnD2IKg(?)bYU"> <field name="VAR" id="`lFnHOs8?h46n4EMa8sl">segmentedLineCurves</field> <value name="LIST"> <block type="bitbybit.lists.groupNth" id="$IfW/1D8zlamVgz@X})Y"> <value name="List"> <block type="variables_get" id="=!E+eu9hZ[qf3CTcp;tu"> <field name="VAR" id=")hb0:,qLg3U04e{d~%CC">spiralingLineCurves</field> </block> </value> <value name="NrElements"> <block type="math_number" id="x04!$!{n#F3f*q|W6QTx"> <field name="NUM">3</field> </block> </value> <value name="KeepRemainder"> <block type="logic_boolean" id="^b~V9UebVxyg?%Zv+rwg"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO"> <block type="variables_set" id="x3mG%K(dOgmN;W$Xr0o0"> <field name="VAR" id="~kP*`!MXxjPGCm%:3K,)">loopyCurves</field> <value name="VALUE"> <block type="lists_create_with" id="(WDb;XV^8BgFg,LFk9T~"> <mutation items="0"> </mutation> </block> </value> <next> <block type="variables_set" id="o]hb/W9@vc=L/I(u_P),"> <field name="VAR" id=",,vNv!|fMaLgM9t;}1Gs">curveScalingFactorCenter</field> <value name="VALUE"> <block type="math_number" id="LBSmoT8K*ZMXw.@[t4*!"> <field name="NUM">1</field> </block> </value> <next> <block type="variables_set" id="`XnC~:i1-JL~UyNc`PYV"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> <value name="VALUE"> <block type="math_number" id="uD!i:IOG.P6/XEMf-|OJ"> <field name="NUM">1</field> </block> </value> <next> <block type="controls_forEach" id="}jC=SO|H_gTS,X!Qwq~w"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> <value name="LIST"> <block type="variables_get" id=")(0(ttw[*jWB,kPA4-(-"> <field name="VAR" id="`lFnHOs8?h46n4EMa8sl">segmentedLineCurves</field> </block> </value> <statement name="DO"> <block type="variables_set" id="c#]nZAd:/GsyGJ,2_e18"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> <value name="VALUE"> <block type="bitbybit.verb.curve.reverse" id="oVIHJES2;p7;Xk5f@mst"> <value name="Curve"> <block type="variables_get" id="-WU.bORw0Ejyt:_%JO}o"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> </block> </value> <next> <block type="lists_setIndex" id="xJ^Tt?NueVj6R38#b`cr"> <mutation at="false"> </mutation> <field name="MODE">INSERT</field> <field name="WHERE">FIRST</field> <value name="LIST"> <block type="variables_get" id="?I[4Fqms+|a-(C9zn{W2"> <field name="VAR" id="~kP*`!MXxjPGCm%:3K,)">loopyCurves</field> </block> </value> <value name="TO"> <block type="bitbybit.verb.curve.createCurveByPoints" id="6R/JkI#,Oo~y4BcN;UWe"> <value name="Degree"> <block type="math_number" id="G!:Jz9PAKQ_8ten^{27V"> <field name="NUM">3</field> </block> </value> <value name="Points"> <block type="lists_create_with" id="7_WRb.f}(P7S,n-hhk;w"> <mutation items="9"> </mutation> <value name="ADD0"> <block type="bitbybit.verb.curve.startPoint" id="8c}:JGx6$|8NFSj$4K:`"> <value name="Curve"> <block type="variables_get" id="6.5fmx(@uPX+z`g}QmBX"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> </block> </value> <value name="ADD1"> <block type="bitbybit.point.transformPoint" id="/K7=tq8de}IU:.BQbul$"> <value name="Point"> <block type="bitbybit.verb.curve.pointAtParam" id="A`h#g^pIlD/hV=s|a6Y?"> <value name="Curve"> <block type="variables_get" id="qkjsUQJ:q$s:WSd3V2mJ"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> <value name="Parameter"> <block type="math_number" id="@Tk[jjyLAB%}54f}VJuE"> <field name="NUM">0.2</field> </block> </value> </block> </value> <value name="Transformation"> <block type="bitbybit.babylon.transforms.translationXYZ" id="=-*g[X{y{99CGWI-.Igb"> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="7w0aUnSzVfyfzy9sFBtG"> <value name="X"> <block type="math_number" id="`JikyU*pT%s)`ay7zfl!"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="x8J0.jbF#$`x7k]`ukBU"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_arithmetic" id="4K@rSI#3wOn||a0,_IV{"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_number" id="2.L,`U`};shKd^zRNp#S"> <field name="NUM">0.15</field> </block> </value> <value name="B"> <block type="variables_get" id="h[74W2mW)2XCKTa64(;V"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="bitbybit.point.transformPoint" id="GFv]mDUSiE3)Zy}-.p1["> <value name="Point"> <block type="bitbybit.verb.curve.pointAtParam" id="B:(TtcFUBw[[d,sL9#4)"> <value name="Curve"> <block type="variables_get" id="?Xj${Kj#w2/o7^_(_m6e"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> <value name="Parameter"> <block type="math_number" id="U}9lD|+zVq_5u/Ol;d6S"> <field name="NUM">0.5</field> </block> </value> </block> </value> <value name="Transformation"> <block type="bitbybit.babylon.transforms.translationXYZ" id="wVP5di{j(a@U9Gh](3zW"> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="CJgb=/|HH0%jb;o.Q!DA"> <value name="X"> <block type="math_number" id="nY_BS{VZG!]H;bSj)-KZ"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="wWs2jsF3#/ulto^=*EgP"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_arithmetic" id="eqk_z[ax]*So``QV9}(w"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_number" id="t!;gSFOgHOgsyM;O_E#S"> <field name="NUM">0.2</field> </block> </value> <value name="B"> <block type="variables_get" id="t:#.(uH98-NTv5YF:J1u"> <field name="VAR" id=",,vNv!|fMaLgM9t;}1Gs">curveScalingFactorCenter</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="ADD3"> <block type="bitbybit.point.transformPoint" id=".OMyW%3-J|[-v])yM+jz"> <value name="Point"> <block type="bitbybit.verb.curve.pointAtParam" id="/y%PJ{GaXb^:mI8miOl2"> <value name="Curve"> <block type="variables_get" id="qG%Am2CFgrhrIpYEY9Ep"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> <value name="Parameter"> <block type="math_number" id="k{6Z+r:rcXz)i:UJ^,,S"> <field name="NUM">0.99</field> </block> </value> </block> </value> <value name="Transformation"> <block type="bitbybit.babylon.transforms.translationXYZ" id="h?*}eP{@YJHdV}1Ou,T)"> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="B8p^b!@xH8rm,`TgviMr"> <value name="X"> <block type="math_number" id="}a`+yVI4;9uj}jw~}kZP"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="T(TIQja7mYE1HW=(yFA^"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_arithmetic" id="6p)gkrLk1$[bwQ6hyBzB"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_number" id="4von#Tux8{rR?[*Zt,FW"> <field name="NUM">0.2</field> </block> </value> <value name="B"> <block type="variables_get" id="DjI+y!vQLi.ZIdnwl}RY"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="ADD4"> <block type="bitbybit.verb.curve.endPoint" id="CA$lfv!.XjIv~ih$:ZUh"> <value name="Curve"> <block type="variables_get" id="3gyKSGU`a,!-e6_XuxH!"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> </block> </value> <value name="ADD5"> <block type="bitbybit.point.transformPoint" id="ZGbjq/n=6RX_=ahms:9q"> <value name="Point"> <block type="bitbybit.verb.curve.pointAtParam" id="?|JC}qb:KbJ1Bu~Sw%SY"> <value name="Curve"> <block type="variables_get" id="r#Y/-`EcM,+90SxZlP55"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> <value name="Parameter"> <block type="math_number" id="oSK-0rwlcDv$hBPxCX2:"> <field name="NUM">0.99</field> </block> </value> </block> </value> <value name="Transformation"> <block type="bitbybit.babylon.transforms.translationXYZ" id="|tx~c5SwwPer|q:L-ir@"> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="F1zt=fOn^~.n`nM/SOA8"> <value name="X"> <block type="math_number" id="6YYA3;FC~2K3^/c~7]@2"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="5!Wrw9_Z_C:dUK%sMOs^"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_arithmetic" id="/6JV1IZ2wa3/BdWI34nb"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_number" id="nF$v4Ut$.34:YzR@t_i2"> <field name="NUM">-0.2</field> </block> </value> <value name="B"> <block type="variables_get" id="*b-#U7E2ptQIGcRhW#26"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="ADD6"> <block type="bitbybit.point.transformPoint" id="U?Z]HOl+N@$D.i$16)ZV"> <value name="Point"> <block type="bitbybit.verb.curve.pointAtParam" id="@:~pfhuBgAh}i[6t.I0N"> <value name="Curve"> <block type="variables_get" id="EkrnNy*JckU|cOFyi|Cf"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> <value name="Parameter"> <block type="math_number" id="~f-V;~Og;u!]5m-WM6Es"> <field name="NUM">0.5</field> </block> </value> </block> </value> <value name="Transformation"> <block type="bitbybit.babylon.transforms.translationXYZ" id="f;w8Iz!)_n:Im]I,.Ly0"> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="WxA%oJnO*`71r+Y+Cb3M"> <value name="X"> <block type="math_number" id="MqqYn=,ghz.pJitTc`n("> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="sS_A;Za@/`zIWv/C-vzn"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_arithmetic" id="D`B:{gNNNL4w{hKV$$bR"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_number" id="LO:$n.BxgP7]0V(MBuF~"> <field name="NUM">-0.2</field> </block> </value> <value name="B"> <block type="variables_get" id="lxu1~SmUI*K2xr1gJ]1j"> <field name="VAR" id=",,vNv!|fMaLgM9t;}1Gs">curveScalingFactorCenter</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="ADD7"> <block type="bitbybit.point.transformPoint" id="42WH}n^PD)TtVo+`N])C"> <value name="Point"> <block type="bitbybit.verb.curve.pointAtParam" id="}ZFx!l`Or5dm*A{r@!ra"> <value name="Curve"> <block type="variables_get" id="3rT:ENJ.@Td}PR%GZ(+{"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> <value name="Parameter"> <block type="math_number" id="nS*n7]i?Ub3C+Wjf8Bf8"> <field name="NUM">0.2</field> </block> </value> </block> </value> <value name="Transformation"> <block type="bitbybit.babylon.transforms.translationXYZ" id="b|M_At]t7X1!_eXR3/aN"> <value name="Translation"> <block type="bitbybit.vector.vectorXYZ" id="]lisK_[cl0_?!{6Q;ElP"> <value name="X"> <block type="math_number" id="D+!i~o1PU=o)Pr4lmpjh"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="yqK5j10n:#s{N]qD{E9A"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_arithmetic" id="I=P=%#YY;hXtm}dk6P~d"> <field name="OP">MULTIPLY</field> <value name="A"> <block type="math_number" id="]oimwHuGSe*sgwMoYOEN"> <field name="NUM">-0.15</field> </block> </value> <value name="B"> <block type="variables_get" id="BLj_80D6lZlo(F.G24dH"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="ADD8"> <block type="bitbybit.verb.curve.startPoint" id="V.BF!0pTe.)?cnd05CI?"> <value name="Curve"> <block type="variables_get" id="7h(S3hUDmey`Uj3T$~M)"> <field name="VAR" id="YF?n=vq1]aOsC=Bmy7xf">lineCurve</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="Tu7M-Mj0CZ#:*WuKSn$j"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> <value name="VALUE"> <block type="math_arithmetic" id="vo$?Xv)*E^z1/u/h-4P)"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="G`ZFe1hUw5-`d,-P$`My"> <field name="VAR" id="myBmU}Y2E=tdr9U~niS;">curveScalingFactor</field> </block> </value> <value name="B"> <block type="math_arithmetic" id="1gBb@?uG~-b$F]KdPXn8"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id="nB^AFwz|40u0O#E5a1JW"> <field name="VAR" id="xODYaS@s7:QqW*l1cD)M">segmentScalingFactor</field> </block> </value> <value name="B"> <block type="math_number" id="oII0KACb[gWb7Tn:b1ez"> <field name="NUM">0.3</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="Ew!n!eeLVvVU%YB@U.|6"> <field name="VAR" id=",,vNv!|fMaLgM9t;}1Gs">curveScalingFactorCenter</field> <value name="VALUE"> <block type="math_arithmetic" id="0f@gG)Mu49mS`t4jK}0$"> <field name="OP">ADD</field> <value name="A"> <block type="variables_get" id=",^G.E}(?vfBgWLyU`_pW"> <field name="VAR" id=",,vNv!|fMaLgM9t;}1Gs">curveScalingFactorCenter</field> </block> </value> <value name="B"> <block type="math_number" id="wbUG,[3og_V.o=0LQuw8"> <field name="NUM">0.6</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="lists_setIndex" id="X5yV2jsqO.Fu{!6RnKQK"> <mutation at="true"> </mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_END</field> <value name="LIST"> <block type="variables_get" id="GIu_qwcEPF6,Qbq{H,}o"> <field name="VAR" id="7Y0{]=wHl5yyie.j-#0i">shellSurfaces</field> </block> </value> <value name="AT"> <block type="math_number" id="bX(0.CyiguG0#Zl,o-1B"> <field name="NUM">0</field> </block> </value> <value name="TO"> <block type="bitbybit.verb.surface.createSurfaceByLoftingCurves" id="`x6MZM+e-aMBfiYR_DF9"> <value name="DegreeV"> <block type="math_number" id="EF%cbdp.:I69w_BYZp!I"> <field name="NUM">3</field> </block> </value> <value name="Curves"> <block type="variables_get" id="*{Io_CjvV;v#T,bn6L$Q"> <field name="VAR" id="~kP*`!MXxjPGCm%:3K,)">loopyCurves</field> </block> </value> </block> </value> <next> <block type="variables_set" id="+^h/5dJ=Yc@EggBJlblb"> <field name="VAR" id="xODYaS@s7:QqW*l1cD)M">segmentScalingFactor</field> <value name="VALUE"> <block type="math_arithmetic" id="1:;e!auRsdnkdaumu4}="> <field name="OP">MINUS</field> <value name="A"> <block type="variables_get" id="SBdG[3eeVT`9.KB8rr]T"> <field name="VAR" id="xODYaS@s7:QqW*l1cD)M">segmentScalingFactor</field> </block> </value> <value name="B"> <block type="math_number" id="Vb9`6-P4YJXoQ,L*d)4Z"> <field name="NUM">0.005</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="variables_set" id="YWJK6kJhVra.fTT!!-;N"> <field name="VAR" id="u;9*SgbUz+h$|(!F/R)z">shellColours</field> <value name="VALUE"> <block type="lists_create_with" id="NU70g2l}!laUt}/9:jk_"> <mutation items="0"> </mutation> </block> </value> <next> <block type="controls_for" id="OrhvlzUJDf4B46pMu@Q1"> <field name="VAR" id="G{0e-e_!ZKbu_84lA/K^">i</field> <value name="FROM"> <block type="math_number" id="}0w5{Ps1rzj=3Oig8_k2"> <field name="NUM">1</field> </block> </value> <value name="TO"> <block type="lists_length" id="czjK/3-|k{aZMOB!hZ{7"> <value name="VALUE"> <block type="variables_get" id="4F9fO*UyUkz|o#iV}qD#"> <field name="VAR" id="7Y0{]=wHl5yyie.j-#0i">shellSurfaces</field> </block> </value> </block> </value> <value name="BY"> <block type="math_number" id="2pc$Kl)PTT|(;,(JGF3;"> <field name="NUM">1</field> </block> </value> <statement name="DO"> <block type="lists_setIndex" id="FhLr~//*}CYXsuM}ITPg"> <mutation at="true"> </mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_END</field> <value name="LIST"> <block type="variables_get" id="*quN19u)IOB0m0k:|FJ/"> <field name="VAR" id="u;9*SgbUz+h$|(!F/R)z">shellColours</field> </block> </value> <value name="AT"> <block type="math_number" id="ZAas~g?e4(dViT+c/8oN"> <field name="NUM">0</field> </block> </value> <value name="TO"> <block type="colour_rgb" id="#+-z^wwl-[gJj?rfK=%A"> <value name="RED"> <block type="math_number" id="I.sfk[|YvOH0Wfl@z8^Q"> <field name="NUM">100</field> </block> </value> <value name="GREEN"> <block type="math_number" id="=7ha|#v0Aw4U@).)6-xZ"> <field name="NUM">0</field> </block> </value> <value name="BLUE"> <block type="bitbybit.math.remap" id=":cZf6x?izv6b_8a[nX,W"> <value name="Number"> <block type="variables_get" id="Sw__)f_|m]pa[$DWwt#q"> <field name="VAR" id="G{0e-e_!ZKbu_84lA/K^">i</field> </block> </value> <value name="FromLow"> <block type="math_number" id="-S^I6vJ_[`K*+8]%$:TX"> <field name="NUM">0</field> </block> </value> <value name="FromHigh"> <block type="lists_length" id="n$}(^`UAE:DUorr{OCbK"> <value name="VALUE"> <block type="variables_get" id="/RGpzqqL_/63(UqeuK5q"> <field name="VAR" id="7Y0{]=wHl5yyie.j-#0i">shellSurfaces</field> </block> </value> </block> </value> <value name="ToLow"> <block type="math_number" id="B]!G8IfCj~s#)S2$$^C+"> <field name="NUM">0</field> </block> </value> <value name="ToHigh"> <block type="math_number" id="_f(m/w%+fu(-RN2ocrs]"> <field name="NUM">50</field> </block> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="bitbybit.draw.drawAnyNoReturn" id="~!;X-W+Byd+$pI,Ts:3p"> <value name="Entity"> <block type="variables_get" id="w(k5XDL[VLMM4^D|5qW`"> <field name="VAR" id="7Y0{]=wHl5yyie.j-#0i">shellSurfaces</field> </block> </value> <value name="Options"> <block type="bitbybit.draw.optionsSimple" id="]GW*udk{eJ:-3tw*j.:e"> <value name="Colours"> <block type="variables_get" id="]tEE;q_N4tXh-vln5|8J"> <field name="VAR" id="u;9*SgbUz+h$|(!F/R)z">shellColours</field> </block> </value> <value name="Size"> <block type="math_number" id="sOKsaCy:D{%ZGBWCf*1G"> <field name="NUM">3</field> </block> </value> <value name="Opacity"> <block type="math_number" id=")Du3wbXwzHgb+XEH1qBf"> <field name="NUM">1</field> </block> </value> <value name="Updatable"> <block type="logic_boolean" id="|5^%#H`M)|QyD!7}I:^v"> <field name="BOOL">FALSE</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> <block type="math_number" id="1`|eUl?qnB|U:fzE(5de" x="-359" y="2966"> <field name="NUM">0</field> </block> </xml>