Example in Blockly

Example in Blockly script details
Type
Blockly logo image
blockly
App Version
0.13.0
Visibility
public
Date Created
Mar 19, 2021, 7:51:12 AM
Last Edit Date
Dec 5, 2023, 6:12:25 PM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="BjoR;N@wj!gy!nCn^l[L">pointsForPolyline</variable> </variables> <block type="bitbybit.draw.drawGridMeshNoReturn" id="08T,QURc`Ley.Q|*3;$|" x="-415" y="486"> <value name="Width"> <block type="math_number" id=";dde+#^F0B+x@DZ|_P8~"> <field name="NUM">400</field> </block> </value> <value name="Height"> <block type="math_number" id="|]%9`uWOaP@IM]V7U(K#"> <field name="NUM">400</field> </block> </value> <value name="Subdivisions"> <block type="math_number" id="yu=jh|!Xj~u6r)/|@.)C"> <field name="NUM">10</field> </block> </value> <value name="MajorUnitFrequency"> <block type="math_number" id=",0/@UQ1x!Ha%7vP[aW-+"> <field name="NUM">10</field> </block> </value> <value name="MinorUnitVisibility"> <block type="math_number" id="wEXf=|S@/`dPoy5pV3~l"> <field name="NUM">0.45</field> </block> </value> <value name="GridRatio"> <block type="math_number" id="nl$zfQzD^9V)KZ#ClfYZ"> <field name="NUM">0.5</field> </block> </value> <value name="Opacity"> <block type="math_number" id="0aU:An44JM+;W?@ty[#x"> <field name="NUM">0.5</field> </block> </value> <value name="BackFaceCulling"> <block type="logic_boolean" id="R{A$tjg2_59oVZ8m@W{9"> <field name="BOOL">FALSE</field> </block> </value> <value name="MainColor"> <block type="colour_picker" id="1mn0a4g?(gpQCdHz4PB}"> <field name="COLOUR">#ffffff</field> </block> </value> <next> <block type="variables_set" id="QYN@6MubOPySqe:eB1wI"> <field name="VAR" id="BjoR;N@wj!gy!nCn^l[L">pointsForPolyline</field> <value name="VALUE"> <block type="lists_create_with" id="F7X_]Yo]1Ai0.VwfP{gr"> <mutation items="3"> </mutation> <value name="ADD0"> <block type="bitbybit.point.pointXYZ" id="8dcm*y`ffnpuWc|+b*oV"> <value name="X"> <block type="math_number" id=";o=,Cfn41zxQP^,MctY5"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="l?#M=eO~3WS1f9{:noCN"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="$?~uaiYA_z[cS]9Cf5|Y"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="ADD1"> <block type="bitbybit.point.pointXYZ" id="4+Zax^.ot)-hHxHI9ipr"> <value name="X"> <block type="math_number" id="C(t%lmY*rAJEi@Ui|KzD"> <field name="NUM">2</field> </block> </value> <value name="Y"> <block type="math_number" id="UyiB:KJ!nUoGs4x=-k{I"> <field name="NUM">4</field> </block> </value> <value name="Z"> <block type="math_number" id="{D8mkLyITQ|n8r6;?vK5"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="ADD2"> <block type="bitbybit.point.pointXYZ" id="c,)FO84tZLoQ2H02OO*4"> <value name="X"> <block type="math_number" id="BmkLt0V;cj%Ad4Y4qEn]"> <field name="NUM">3</field> </block> </value> <value name="Y"> <block type="math_number" id="wnIE4P.UBzY|.@{bcT`b"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="xi$:$!?Gw_vQzwr``TR="> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="`0}P5^!zba{LYoc.7A%x"> <value name="Entity"> <block type="variables_get" id="M8H${i8yGus7w)x6]wj3"> <field name="VAR" id="BjoR;N@wj!gy!nCn^l[L">pointsForPolyline</field> </block> </value> <value name="Options"> <block type="bitbybit.draw.optionsSimple" id="};*{]Z-)wd:FVfP6scoG"> <value name="Colours"> <block type="colour_picker" id="aW7_uNpe7_c)ci=Ia)f7"> <field name="COLOUR">#ffffff</field> </block> </value> <value name="Size"> <block type="math_number" id="3p1GQb8[na^oOo=GPP!U"> <field name="NUM">0.1</field> </block> </value> <value name="Opacity"> <block type="math_number" id="bnj*bNB4oYd*RUZq7-$}"> <field name="NUM">1</field> </block> </value> <value name="Updatable"> <block type="logic_boolean" id="[VUpp8n275@;{zDJ[h.{"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="PxC5K6vJSEOa_/1}0{;A"> <value name="Entity"> <block type="bitbybit.polyline.create" id="B|Q{^Rv.EXB`wp=xf20%"> <value name="Points"> <block type="variables_get" id="8?)jRJ1v-N-RA6bUnqOF"> <field name="VAR" id="BjoR;N@wj!gy!nCn^l[L">pointsForPolyline</field> </block> </value> </block> </value> <value name="Options"> <block type="bitbybit.draw.optionsSimple" id="9|oFBoJN3n~)|eGkgi~]"> <value name="Colours"> <block type="colour_picker" id="*A1h)Wu!)O#D?Vb/y;KV"> <field name="COLOUR">#ffcc66</field> </block> </value> <value name="Size"> <block type="math_number" id="|0wCf`tCcGckNTAGS^da"> <field name="NUM">10</field> </block> </value> <value name="Opacity"> <block type="math_number" id="*zbtEIF8]_^{SnIU6]lQ"> <field name="NUM">1</field> </block> </value> <value name="Updatable"> <block type="logic_boolean" id="o6Vwt5ohEC.S1-bhflAf"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </xml>