Chamfer circular edge

Chamfer circular edge script details
Author
matas
Type
Blockly logo image
blockly
App Version
0.14.4
Visibility
public
Date Created
Feb 23, 2024, 3:29:38 PM
Last Edit Date
Feb 23, 2024, 3:33:19 PM

Script Details

The Code
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="k(XkWbWdxnl0%TB_4u9_">differenceSolid</variable> </variables> <block type="variables_set" id="}C{{n^m.?vXLuU(.~7mY" x="-525" y="-1335"> <field name="VAR" id="k(XkWbWdxnl0%TB_4u9_">differenceSolid</field> <value name="VALUE"> <block type="bitbybit.occt.booleans.difference" id="I,Im[%,@!wAU5T-h?x=%"> <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="Shapes"> <block type="lists_create_with" id="(h9J`BPx^V,0XTyq=PnP"> <mutation items="1"> </mutation> <value name="ADD0"> <block type="bitbybit.occt.shapes.solid.createCylinder" id="zCXY$3~6]yn!t?2NHYO0"> <value name="Radius"> <block type="math_number" id="Gf/92+]J{]Z=%hjB)bF6"> <field name="NUM">2</field> </block> </value> <value name="Height"> <block type="math_number" id="t??PSPjr1RL0+IIV*~fB"> <field name="NUM">10</field> </block> </value> <value name="Center"> <block type="bitbybit.point.pointXYZ" id="GR4I^-d3-$v7{E+qreOr"> <value name="X"> <block type="math_number" id="%%gSbrNZIFNH~maeVi-a"> <field name="NUM">-5</field> </block> </value> <value name="Y"> <block type="math_number" id="*dZ2.kWamII0yD^(#{Pa"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="mIk*_{8$CQ=,1mQ.Z*zX"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="Direction"> <block type="bitbybit.vector.vectorXYZ" id="!XCU9xf(N!O53i#nAlEQ"> <value name="X"> <block type="math_number" id="IMsq+E`6P@HN$;~8^lbZ"> <field name="NUM">1</field> </block> </value> <value name="Y"> <block type="math_number" id="DG87Vv06K:Z/54Zb=ne~"> <field name="NUM">0</field> </block> </value> <value name="Z"> <block type="math_number" id="~gn3U8iS+pqmQjZ}M8Sk"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> </block> </value> <value name="KeepEdges"> <block type="logic_boolean" id="N5$-DTnFC:`~|SD12Wkh"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <next> <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="pF!Mww.[{,{0LvKi|wH}"> <value name="Entity"> <block type="bitbybit.occt.fillets.chamferEdges" id="76A-4pZ@I:Hre1*8I/vU"> <value name="Shape"> <block type="variables_get" id="ilHm@HD^.hYBK_|2#HXU"> <field name="VAR" id="k(XkWbWdxnl0%TB_4u9_">differenceSolid</field> </block> </value> <value name="Distance"> <block type="math_number" id="a7qb/Osu:a!%Jv23@FkJ"> <field name="NUM">0.4</field> </block> </value> </block> </value> </block> </next> </block> </xml>