Script: Wingtip Villa Example in Blockly

Wingtip Villa Example in Blockly picture
Type
Blockly logo indicatorblockly
Author
matas
Date Created
May 24, 2023, 9:48:16 AM
Last Edit Date
Dec 5, 2023, 6:27:41 PM

Project Information

In this category we show how "Things" can be used in various coding environments of our platform. You're just a few blocks away from the complete and complex 3D model. Be it TypeScript, Blockly or Rete - they all support it. Also you can choose to use "3D Models" category from our platform to just use our intuitive configurators for these models.

View Full Project

Script Code

<xml xmlns="https://developers.google.com/blockly/xml">
 <block type="bitbybit.draw.drawAnyAsyncNoReturn" id=")mxn(}D@A;u470+C`6j-" x="-793" y="129">
  <value name="Entity">
   <block type="bitbybit.things.kidsCorner.birdhouses.wingtipVilla.create" id="8FPJs.BNG[qebjph(`wt">
    <value name="InteriorWidth">
     <block type="math_number" id="OaSgZHUHv+h$wHczx+;A">
      <field name="NUM">3</field>
     </block>
    </value>
    <value name="InteriorLength">
     <block type="math_number" id="l7f/*X=Qzjs32#@wx+4`">
      <field name="NUM">3</field>
     </block>
    </value>
    <value name="InteriorHeight">
     <block type="math_number" id="JTB*KX@Fgtv2n8LV#:tw">
      <field name="NUM">5</field>
     </block>
    </value>
    <value name="Thickness">
     <block type="math_number" id="Z4WE:`w2:YAK*(~m3wn)">
      <field name="NUM">0.5</field>
     </block>
    </value>
    <value name="HoleDiameter">
     <block type="math_number" id=";-d{{2@0fm*7eWc`-(t7">
      <field name="NUM">1.5</field>
     </block>
    </value>
    <value name="HoleDistToBottom">
     <block type="math_number" id="Te`t}25hyYsMZ`UtoY`/">
      <field name="NUM">2.5</field>
     </block>
    </value>
    <value name="StickLength">
     <block type="math_number" id="Jvk6!C[0=Fqln_,8}URX">
      <field name="NUM">1.2</field>
     </block>
    </value>
    <value name="StickDiameter">
     <block type="math_number" id="v[myAN$XtZ:1@n9?SMe(">
      <field name="NUM">0.5</field>
     </block>
    </value>
    <value name="BaseAttachmentHeight">
     <block type="math_number" id="3WxDx}4A$tV![rFoY5ze">
      <field name="NUM">2</field>
     </block>
    </value>
    <value name="RoofOverhang">
     <block type="math_number" id="qXRf:7~m_#E^h0mD[mj+">
      <field name="NUM">1</field>
     </block>
    </value>
    <value name="Rotation">
     <block type="math_number" id="L-;~NizOcUo]oBxhDJmy">
      <field name="NUM">0</field>
     </block>
    </value>
    <value name="ChimneyHeight">
     <block type="math_number" id="Nmp:nwwRgQa~`rCj2cN?">
      <field name="NUM">1</field>
     </block>
    </value>
    <value name="Origin">
     <block type="bitbybit.point.pointXYZ" id="F8)ghU`gN(tIH|+kg67-">
      <value name="X">
       <block type="math_number" id="YbL_V+IT)C|,,Itej+fD">
        <field name="NUM">0</field>
       </block>
      </value>
      <value name="Y">
       <block type="math_number" id="1GOYwJ9T;~@]-jge9ec,">
        <field name="NUM">0</field>
       </block>
      </value>
      <value name="Z">
       <block type="math_number" id="!IHRh`hg:oRK`2JH]#Be">
        <field name="NUM">0</field>
       </block>
      </value>
     </block>
    </value>
   </block>
  </value>
 </block>
</xml>