Script: Chamfer all edges

Chamfer all edges picture
Type
Blockly logo indicatorblockly
Author
matas
Date Created
Feb 23, 2024, 1:35:42 PM
Last Edit Date
Feb 23, 2024, 1:37:19 PM

Project Information

This project contains demo scripts for Blockly based editor that are used as examples in the "Getting Started" section of the documentation.

View Full Project

Script Code

<xml xmlns="https://developers.google.com/blockly/xml">
 <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="pF!Mww.[{,{0LvKi|wH}" x="-473" y="-1277">
  <value name="Entity">
   <block type="bitbybit.occt.fillets.chamferEdges" id="76A-4pZ@I:Hre1*8I/vU">
    <value name="Shape">
     <block type="bitbybit.occt.shapes.solid.createBox" id="mQ8NHOuARgLyhBk6}g^s">
      <value name="Width">
       <block type="math_number" id="7fG@;W/:Vts$zSO}4j(]">
        <field name="NUM">5</field>
       </block>
      </value>
      <value name="Length">
       <block type="math_number" id="LCj)(O6k1)^yPkJEoMzD">
        <field name="NUM">8</field>
       </block>
      </value>
      <value name="Height">
       <block type="math_number" id="?-!Ip3I^G@=fxbcl4Iu|">
        <field name="NUM">10</field>
       </block>
      </value>
      <value name="Center">
       <block type="bitbybit.point.pointXYZ" id="}!.!!0$]TL43CwavkTh*">
        <value name="X">
         <block type="math_number" id="z5z_A~D,9e0jpC)1{_g:">
          <field name="NUM">0</field>
         </block>
        </value>
        <value name="Y">
         <block type="math_number" id="5=3R#MG7#!Q8TG1[{=P`">
          <field name="NUM">0</field>
         </block>
        </value>
        <value name="Z">
         <block type="math_number" id="y*}sZo/[)Qb/ZUE?u!ep">
          <field name="NUM">0</field>
         </block>
        </value>
       </block>
      </value>
     </block>
    </value>
    <value name="Distance">
     <block type="math_number" id="a7qb/Osu:a!%Jv23@FkJ">
      <field name="NUM">1</field>
     </block>
    </value>
   </block>
  </value>
 </block>
</xml>