Script: Simple box test rete

Simple box test rete picture
Type
Rete logo indicatorrete
Date Created
Apr 17, 2023, 8:26:04 AM
Last Edit Date
Apr 24, 2023, 12:59:54 PM

Project Information

Just a simple box model

View Full Project

Script Code

{
  "id": "bitbybit-dev@0.0.1",
  "nodes": {
    "1": {
      "id": 1,
      "data": {
        "hide": true,
        "simpleOutput": true,
        "width": 1,
        "length": 2,
        "height": 3,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "width": {
          "connections": [
            {
              "node": 3,
              "output": "result",
              "data": {}
            }
          ]
        },
        "length": {
          "connections": [
            {
              "node": 4,
              "output": "result",
              "data": {}
            }
          ]
        },
        "height": {
          "connections": [
            {
              "node": 5,
              "output": "result",
              "data": {}
            }
          ]
        },
        "center": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 12,
              "input": "shape",
              "data": {}
            }
          ]
        }
      },
      "position": [
        957.2745716169162,
        250.59443664547234
      ],
      "name": "bitbybit.occt.shapes.solid.createBox"
    },
    "3": {
      "id": 3,
      "data": {
        "number": 4
      },
      "inputs": {
        "number": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 1,
              "input": "width",
              "data": {}
            },
            {
              "node": 8,
              "input": "first",
              "data": {}
            },
            {
              "node": 15,
              "input": "first",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -273.7317399726136,
        349.0491431445031
      ],
      "name": "bitbybit.math.number"
    },
    "4": {
      "id": 4,
      "data": {
        "number": 4
      },
      "inputs": {
        "number": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 1,
              "input": "length",
              "data": {}
            },
            {
              "node": 9,
              "input": "first",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -271.25792612672285,
        495.2001325246396
      ],
      "name": "bitbybit.math.number"
    },
    "5": {
      "id": 5,
      "data": {
        "number": 1.5
      },
      "inputs": {
        "number": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 1,
              "input": "height",
              "data": {}
            },
            {
              "node": 6,
              "input": "height",
              "data": {}
            },
            {
              "node": 16,
              "input": "first",
              "data": {}
            },
            {
              "node": 18,
              "input": "first",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -271.5981144385624,
        653.8693854885807
      ],
      "name": "bitbybit.math.number"
    },
    "6": {
      "id": 6,
      "data": {
        "hide": true,
        "simpleOutput": true,
        "width": 1,
        "length": 2,
        "height": 3,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "width": {
          "connections": [
            {
              "node": 8,
              "output": "result",
              "data": {}
            }
          ]
        },
        "length": {
          "connections": [
            {
              "node": 9,
              "output": "result",
              "data": {}
            }
          ]
        },
        "height": {
          "connections": [
            {
              "node": 5,
              "output": "result",
              "data": {}
            }
          ]
        },
        "center": {
          "connections": [
            {
              "node": 10,
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 13,
              "input": "listElements",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1463.8056096401037,
        716.375393958438
      ],
      "name": "bitbybit.occt.shapes.solid.createBox"
    },
    "7": {
      "id": 7,
      "data": {
        "number": 0.2
      },
      "inputs": {
        "number": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 10,
              "input": "y",
              "data": {}
            },
            {
              "node": 11,
              "input": "first",
              "data": {}
            },
            {
              "node": 25,
              "input": "first",
              "data": {}
            },
            {
              "node": 19,
              "input": "second",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -321.208198608965,
        994.7153697376696
      ],
      "name": "bitbybit.math.number"
    },
    "8": {
      "id": 8,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 1,
        "operation": "subtract",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 3,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": 11,
              "output": "result",
              "data": {}
            }
          ]
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 6,
              "input": "width",
              "data": {}
            }
          ]
        }
      },
      "position": [
        914.8850667630379,
        591.0016298341212
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "9": {
      "id": 9,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 1,
        "operation": "subtract",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 4,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": 11,
              "output": "result",
              "data": {}
            }
          ]
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 6,
              "input": "length",
              "data": {}
            },
            {
              "node": 22,
              "input": "first",
              "data": {}
            }
          ]
        }
      },
      "position": [
        954.4264170056138,
        858.4499091019147
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "10": {
      "id": 10,
      "data": {
        "hide": true,
        "simpleOutput": true,
        "x": 0,
        "y": 0,
        "z": 0,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "x": {
          "connections": []
        },
        "y": {
          "connections": [
            {
              "node": 7,
              "output": "result",
              "data": {}
            }
          ]
        },
        "z": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 6,
              "input": "center",
              "data": {}
            }
          ]
        }
      },
      "position": [
        958.944390348881,
        1119.1308823497707
      ],
      "name": "bitbybit.vector.vectorXYZ"
    },
    "11": {
      "id": 11,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 2,
        "operation": "multiply",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 7,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": []
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 8,
              "input": "second",
              "data": {}
            },
            {
              "node": 9,
              "input": "second",
              "data": {}
            },
            {
              "node": 22,
              "input": "second",
              "data": {}
            }
          ]
        }
      },
      "position": [
        418.35730777709176,
        890.1087943597481
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "12": {
      "id": 12,
      "data": {
        "keepEdges": false,
        "hide": true,
        "simpleOutput": true,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": 1,
              "output": "result",
              "data": {}
            }
          ]
        },
        "shapes": {
          "connections": [
            {
              "node": 13,
              "output": "list",
              "data": {}
            }
          ]
        },
        "keepEdges": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 20,
              "input": "shape",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2210.2876348050395,
        825.068726372045
      ],
      "name": "bitbybit.occt.booleans.difference"
    },
    "13": {
      "id": 13,
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": 6,
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "outputs": {
        "list": {
          "connections": [
            {
              "node": 12,
              "input": "shapes",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1971.8600999601713,
        957.6632072952984
      ],
      "name": "createList"
    },
    "14": {
      "id": 14,
      "data": {
        "hide": true,
        "simpleOutput": true,
        "width": 1,
        "length": 1.5,
        "height": 3,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "width": {
          "connections": [
            {
              "node": 15,
              "output": "result",
              "data": {}
            }
          ]
        },
        "length": {
          "connections": [
            {
              "node": 22,
              "output": "result",
              "data": {}
            }
          ]
        },
        "height": {
          "connections": [
            {
              "node": 16,
              "output": "result",
              "data": {}
            }
          ]
        },
        "center": {
          "connections": [
            {
              "node": 17,
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 21,
              "input": "listElements",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1756.1778158167194,
        1487.9955520544963
      ],
      "name": "bitbybit.occt.shapes.solid.createBox"
    },
    "15": {
      "id": 15,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 2,
        "operation": "multiply",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 3,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": []
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 14,
              "input": "width",
              "data": {}
            }
          ]
        }
      },
      "position": [
        604.2119727152652,
        1408.6161784680755
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "16": {
      "id": 16,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 10,
        "operation": "divide",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 5,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": []
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 14,
              "input": "height",
              "data": {}
            },
            {
              "node": 26,
              "input": "second",
              "data": {}
            }
          ]
        }
      },
      "position": [
        414.0935961155917,
        1653.1478871022932
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "17": {
      "id": 17,
      "data": {
        "hide": true,
        "simpleOutput": true,
        "x": 0,
        "y": 0,
        "z": 0,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "x": {
          "connections": []
        },
        "y": {
          "connections": [
            {
              "node": 19,
              "output": "result",
              "data": {}
            }
          ]
        },
        "z": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 14,
              "input": "center",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1286.4790996850231,
        1779.454102560697
      ],
      "name": "bitbybit.vector.vectorXYZ"
    },
    "18": {
      "id": 18,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 2,
        "operation": "divide",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 5,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": []
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 26,
              "input": "first",
              "data": {}
            }
          ]
        }
      },
      "position": [
        412.5913280374058,
        2249.0578050628174
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "19": {
      "id": 19,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 1,
        "operation": "subtract",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 26,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": 7,
              "output": "result",
              "data": {}
            }
          ]
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 17,
              "input": "y",
              "data": {}
            }
          ]
        }
      },
      "position": [
        860.9206074838918,
        2241.9785910574396
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "20": {
      "id": 20,
      "data": {
        "keepEdges": false,
        "hide": true,
        "simpleOutput": true,
        "oneOnOne": false,
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": 12,
              "output": "result",
              "data": {}
            }
          ]
        },
        "shapes": {
          "connections": [
            {
              "node": 21,
              "output": "list",
              "data": {}
            }
          ]
        },
        "keepEdges": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 23,
              "input": "shape",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2622.77075661079,
        1248.4453401420294
      ],
      "name": "bitbybit.occt.booleans.difference"
    },
    "21": {
      "id": 21,
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": 14,
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "outputs": {
        "list": {
          "connections": [
            {
              "node": 20,
              "input": "shapes",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2143.0199963124833,
        1451.114470005738
      ],
      "name": "createList"
    },
    "22": {
      "id": 22,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 1,
        "operation": "subtract",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 9,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": 11,
              "output": "result",
              "data": {}
            }
          ]
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 14,
              "input": "length",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1335.9604846014058,
        1192.3760973708042
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "23": {
      "id": 23,
      "data": {
        "hide": false,
        "simpleOutput": true,
        "radius": 0.1,
        "oneOnOne": false
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": 20,
              "output": "result",
              "data": {}
            }
          ]
        },
        "radius": {
          "connections": [
            {
              "node": 25,
              "output": "result",
              "data": {}
            }
          ]
        },
        "radiusList": {
          "connections": []
        },
        "indexes": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": []
        }
      },
      "position": [
        2964.0647543613622,
        1502.172204911006
      ],
      "name": "bitbybit.occt.fillets.filletEdges"
    },
    "25": {
      "id": 25,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 4,
        "operation": "divide",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 7,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": []
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 23,
              "input": "radius",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2329.223659059911,
        1646.89651990973
      ],
      "name": "bitbybit.math.twoNrOperation"
    },
    "26": {
      "id": 26,
      "data": {
        "simpleOutput": true,
        "first": 1,
        "second": 1,
        "operation": "subtract",
        "oneOnOne": false
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": 18,
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": 16,
              "output": "result",
              "data": {}
            }
          ]
        },
        "operation": {
          "connections": []
        }
      },
      "outputs": {
        "result": {
          "connections": [
            {
              "node": 19,
              "input": "first",
              "data": {}
            }
          ]
        }
      },
      "position": [
        763.8416950003814,
        1861.6231736915656
      ],
      "name": "bitbybit.math.twoNrOperation"
    }
  }
}
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