Script: Bitbybit runner cube example in Rete

Bitbybit runner cube example in Rete picture
Type
Rete logo indicatorrete
Date Created
Jul 21, 2024, 11:59:31 AM
Last Edit Date
May 27, 2025, 9:27:24 AM

Project Information

This project contains some examples used in various tutorials for showing how BITBYBIT-RUNNER.JS works

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "45909d014224403a": {
      "id": "45909d014224403a",
      "name": "bitbybit.runner.getRunnerInputValue",
      "customName": "get runner input value",
      "data": {
        "property": "size"
      },
      "inputs": {},
      "position": [
        -521.6513277440567,
        906.7005999247051
      ]
    },
    "5ade90b2e39fbbd6": {
      "id": "5ade90b2e39fbbd6",
      "name": "bitbybit.occt.shapes.solid.createCube",
      "customName": "cube",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "size": 1,
        "center": [
          0,
          0,
          0
        ],
        "originOnCenter": true
      },
      "inputs": {
        "size": {
          "connections": [
            {
              "node": "45909d014224403a",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -123.37365841813889,
        871.1855234207264
      ]
    },
    "4d7550cb4d269c13": {
      "id": "4d7550cb4d269c13",
      "name": "bitbybit.occt.fillets.filletEdges",
      "customName": "fillet edges",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "radius": 0.4
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "5ade90b2e39fbbd6",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        253.82842989423855,
        894.432642393281
      ]
    },
    "43f7daeee3510bb5": {
      "id": "43f7daeee3510bb5",
      "name": "bitbybit.draw.drawAnyAsync",
      "customName": "draw async",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        }
      },
      "inputs": {
        "entity": {
          "connections": [
            {
              "node": "4d7550cb4d269c13",
              "output": "result",
              "data": {}
            }
          ]
        },
        "options": {
          "connections": [
            {
              "node": "f20336603c0fe064",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        773.9966577904605,
        976.0937521830105
      ]
    },
    "f20336603c0fe064": {
      "id": "f20336603c0fe064",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "customName": "occt shape simple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0,
          "forceExecution": false
        },
        "precision": 0.005,
        "drawFaces": true,
        "faceColour": "#0400ff",
        "drawEdges": true,
        "edgeColour": "#ffffff",
        "edgeWidth": 1
      },
      "inputs": {},
      "position": [
        232.13661076142694,
        1322.8535815563612
      ]
    },
    "0c165e235980b047": {
      "id": "0c165e235980b047",
      "name": "bitbybit.runner.setRunnerResultValue",
      "customName": "set runner result value",
      "data": {
        "property": "cubeMesh"
      },
      "inputs": {
        "value": {
          "connections": [
            {
              "node": "43f7daeee3510bb5",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1219.2348134976,
        988.4699420445694
      ]
    }
  }
}
Plans & Pricing

Choose Your Plan

Editor plans for 3D development, API keys for server-side CAD algorithms

B2B

ENTERPRISE

Custom pricing

Custom software development, dedicated servers & CAD automation at scale.

CAD Automation & Software
  • Custom software development
  • Cloud CAD automation pipelines
  • 3D configurators (STEP & GLTF)
  • Batch export jobs
  • Custom algorithms & deployment
Infrastructure & Support
  • Custom compute allocation
  • Dedicated / VPS server tenants
  • Long-running computation jobs
  • Custom upload limits & overage
  • SLA & premium support