Drawing edge indexes on the solid

Drawing edge indexes on the solid script details
Author
matas
Type
Blockly logo image
blockly
App Version
0.14.4
Visibility
public
Date Created
Feb 21, 2024, 2:44:16 PM
Last Edit Date
Feb 21, 2024, 5:13:31 PM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="UO^K1-FNciNjT{DsaF2S" x="-1052" y="-1219"> <value name="Entity"> <block type="bitbybit.occt.shapes.solid.createBox" id="kAPiNsy.MZ9?u8OMw:F{"> <value name="Width"> <block type="math_number" id="ps%ZB=Lg|=n2+WoN88L;"> <field name="NUM">5</field> </block> </value> <value name="Length"> <block type="math_number" id="9AIhYC!Bl`qQ=@rx{Hvm"> <field name="NUM">8</field> </block> </value> <value name="Height"> <block type="math_number" id="VA?PT:1w_do!EcPH3o`H"> <field name="NUM">10</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="*C~h4g-MdUu*}L~6n9W;"> <value name="X"> <block type="math_number" id="HSM/v}`gGJkJyeK.OYgI"> <field name="NUM">0</field> </block> </value> <value name="Y"> <block type="math_number" id="Co1x#c;yRR~3n8]irr}O"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="n.I1=AL{C-iE4{hZiuRz"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <value name="Options"> <block type="bitbybit.draw.optionsOcctShape" id="C)_;nd+-yNa2tkQ=f.(j"> <value name="FaceOpacity"> <block type="math_number" id="WJFo/9(aQI[,F]A0,{nV"> <field name="NUM">0.3</field> </block> </value> <value name="EdgeOpacity"> <block type="math_number" id="2xaR^pUK:5[w$[i*9iEJ"> <field name="NUM">0.3</field> </block> </value> <value name="EdgeColour"> <block type="colour_picker" id="1Kbr5PB^wsuJ9`NhR,g("> <field name="COLOUR">#ffffff</field> </block> </value> <value name="FaceColour"> <block type="colour_picker" id="OsgqgBob6so1DhNeQTzf"> <field name="COLOUR">#ff0000</field> </block> </value> <value name="EdgeWidth"> <block type="math_number" id="S[;)nHF3kw,0T6.imOS:"> <field name="NUM">2</field> </block> </value> <value name="DrawEdges"> <block type="logic_boolean" id="o~*ZYZY;JaHYEi`Cc$Zb"> <field name="BOOL">TRUE</field> </block> </value> <value name="DrawFaces"> <block type="logic_boolean" id="Sg:lgzZ4(fSu^x%a#Sol"> <field name="BOOL">TRUE</field> </block> </value> <value name="Precision"> <block type="math_number" id=",MwLCD$,blZsB`:NR`m_"> <field name="NUM">0.01</field> </block> </value> <value name="DrawEdgeIndexes"> <block type="logic_boolean" id="NWp7H~{+?}[IWv/g{Im,"> <field name="BOOL">TRUE</field> </block> </value> <value name="EdgeIndexHeight"> <block type="math_number" id="F5O^[n@Xq)6N-}71wc:_"> <field name="NUM">0.24</field> </block> </value> <value name="EdgeIndexColour"> <block type="colour_picker" id="i*VgIX^h~3nr1S.o1-3y"> <field name="COLOUR">#ff00ff</field> </block> </value> <value name="DrawFaceIndexes"> <block type="logic_boolean" id="|S~9#-TIn?ed*=]V?*1h"> <field name="BOOL">FALSE</field> </block> </value> <value name="FaceIndexHeight"> <block type="math_number" id="G3,mdV2.$_lJl4,Uh/zF"> <field name="NUM">0.06</field> </block> </value> <value name="FaceIndexColour"> <block type="colour_picker" id=";7fHMr6^$BfeQ3x(9Xy."> <field name="COLOUR">#0000ff</field> </block> </value> </block> </value> </block> </xml>