Script: Fillet specific corners 2d wire

Fillet specific corners 2d wire picture
Type
Blockly logo indicatorblockly
Author
matas
Date Created
Feb 22, 2024, 10:22:47 AM
Last Edit Date
Feb 22, 2024, 10:24:38 AM

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="UO^K1-FNciNjT{DsaF2S" x="-386" y="-1094">
  <value name="Entity">
   <block type="bitbybit.occt.fillets.fillet2d" id="Ox7,%Hh~Fw+kv!s(Q7(E">
    <value name="Shape">
     <block type="bitbybit.occt.shapes.wire.createSquareWire" id=",($Iew6lo`C7aI%n5CC+">
      <value name="Size">
       <block type="math_number" id="q9G;9WNvj*j:)Zh|8?I}">
        <field name="NUM">1</field>
       </block>
      </value>
      <value name="Center">
       <block type="bitbybit.point.pointXYZ" id="Q/^[^mqVSld+!6MnJF7(">
        <value name="X">
         <block type="math_number" id="6p5j#W09R[]Yxt];FqX]">
          <field name="NUM">0</field>
         </block>
        </value>
        <value name="Y">
         <block type="math_number" id="PE{_^g]~xSa?$OYiLWEw">
          <field name="NUM">0</field>
         </block>
        </value>
        <value name="Z">
         <block type="math_number" id="ts@X1}R0SiC@`04![b2,">
          <field name="NUM">0</field>
         </block>
        </value>
       </block>
      </value>
      <value name="Direction">
       <block type="bitbybit.vector.vectorXYZ" id="MSTpJ`{T;q4p[9yMb6$R">
        <value name="X">
         <block type="math_number" id="x_(L9{On`m!mzn)O!y5:">
          <field name="NUM">0</field>
         </block>
        </value>
        <value name="Y">
         <block type="math_number" id="qLfDzEy[xPrrGi7dTB~a">
          <field name="NUM">1</field>
         </block>
        </value>
        <value name="Z">
         <block type="math_number" id="lgc(z|+OX:qW]j1mIa:s">
          <field name="NUM">0</field>
         </block>
        </value>
       </block>
      </value>
     </block>
    </value>
    <value name="RadiusList">
     <block type="lists_create_with" id="/Hd5KW,VCB6,2Q$eygd{">
      <mutation items="2">
      </mutation>
      <value name="ADD0">
       <block type="math_number" id="C0dr`B1U7Dv)=uGdnkW$">
        <field name="NUM">0.1</field>
       </block>
      </value>
      <value name="ADD1">
       <block type="math_number" id="?~Vc_oJGQ,,TPmBkZ^5S">
        <field name="NUM">0.3</field>
       </block>
      </value>
     </block>
    </value>
    <value name="Indexes">
     <block type="lists_create_with" id="%0Q$(=odS^{~-+Eqh}-J">
      <mutation items="2">
      </mutation>
      <value name="ADD0">
       <block type="math_number" id="RCb7G`7@dxSwZHEc:zMb">
        <field name="NUM">1</field>
       </block>
      </value>
      <value name="ADD1">
       <block type="math_number" id="Vk$pJ#[mvN%^BiI0Q1Pl">
        <field name="NUM">3</field>
       </block>
      </value>
     </block>
    </value>
   </block>
  </value>
 </block>
</xml>