Script: STEP file import of the computed 3D Bell model

STEP file import of the computed 3D Bell model picture
Type
Blockly logo indicatorblockly
Date Created
Dec 21, 2022, 2:12:54 PM
Last Edit Date
Dec 5, 2023, 7:26:48 PM

Project Information

This blockly script produces a 3D model of a bell decoration for your Christmas tree. We used new capability of bitbybit.dev to place 2D wires on 3D faces in order to be able to model this parametric shape. You can save this file to STL format and 3D print it. Feel free to modify the script to change the appearance of the bell. 3D print few of those and listen to some jingle bells hits!

View Full Project

Script Code

<xml xmlns="https://developers.google.com/blockly/xml">
 <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="`NIc=h/)-%)@iOYSW/PQ" x="-435" y="-688">
  <value name="Entity">
   <block type="bitbybit.occt.io.loadSTEPorIGES" id="3Vj1r~H+(Ovlk,HEA[`Z">
    <value name="AssetFile">
     <block type="bitbybit.asset.getFile" id="szKq7mqfD+b:7`m_+a(g">
      <value name="FileName">
       <block type="text" id="u.},NM3JLhnc7PEde7}=">
        <field name="TEXT">bitbybit-bell.step</field>
       </block>
      </value>
     </block>
    </value>
    <value name="AdjustZtoY">
     <block type="logic_boolean" id="oSZYTWEjKYL-`CqQC5pb">
      <field name="BOOL">TRUE</field>
     </block>
    </value>
   </block>
  </value>
 </block>
</xml>