Parametric Cube With Variable

Parametric Cube With Variable script details
Author
matas
Type
Blockly logo image
blockly
App Version
0.14.0
Visibility
public
Date Created
Jan 25, 2024, 9:23:55 PM
Last Edit Date
Jan 25, 2024, 9:40:33 PM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="jVWX.QGY%cHn[hzK+n%A">size</variable> </variables> <block type="variables_set" id=",0sefL+dW}xV5n^$j+AV" x="-689" y="-1055"> <field name="VAR" id="jVWX.QGY%cHn[hzK+n%A">size</field> <value name="VALUE"> <block type="math_number" id="V^t{t:]qg=9tg8,9LcC8"> <field name="NUM">3</field> </block> </value> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="$2#tlK1lUC`%0`Yy=Na."> <value name="Entity"> <block type="bitbybit.occt.shapes.solid.createCube" id="KSbGrF@x?4}%ch#4CC?N"> <value name="Size"> <block type="variables_get" id="FoIWtg5M|v!ht|=%;aq;"> <field name="VAR" id="jVWX.QGY%cHn[hzK+n%A">size</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="jxe4^~!Dm|=.jsOXT%CQ"> <value name="X"> <block type="math_number" id="oSJ:g{kkIk/r{Yt$BW:`"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="sFs?IY5vqosq~TV(Inzo"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="_-4Thhl)EZH2~HQVQ%]X"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </xml>