Script: Table 3D Configurator Rete

Table 3D Configurator Rete picture
Type
Rete logo indicatorrete
Date Created
Jul 24, 2024, 4:45:34 PM
Last Edit Date
Jul 27, 2024, 2:40:13 PM

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": {
    "1351ba58e905ca0b": {
      "id": "1351ba58e905ca0b",
      "name": "bitbybit.runner.getRunnerInputValue",
      "data": {
        "property": "width"
      },
      "inputs": {},
      "position": [
        357.7109375,
        335.08203125
      ]
    },
    "d7bda1e1ddcce3f7": {
      "id": "d7bda1e1ddcce3f7",
      "name": "bitbybit.runner.getRunnerInputValue",
      "data": {
        "property": "length"
      },
      "inputs": {},
      "position": [
        359.78487455962875,
        627.1862552286783
      ]
    },
    "c6bff56839695889": {
      "id": "c6bff56839695889",
      "name": "bitbybit.runner.getRunnerInputValue",
      "data": {
        "property": "height"
      },
      "inputs": {},
      "position": [
        374.3751202984906,
        946.8246029187638
      ]
    },
    "215645f17354d2fe": {
      "id": "215645f17354d2fe",
      "name": "bitbybit.runner.getRunnerInputValue",
      "data": {
        "property": "thickness"
      },
      "inputs": {},
      "position": [
        373.2185918262571,
        1281.7252055148786
      ]
    },
    "bf22a2d75572cc1b": {
      "id": "bf22a2d75572cc1b",
      "name": "bitbybit.math.numberSlider",
      "data": {
        "options": {
          "min": 0.3,
          "max": 2,
          "step": 0.1,
          "width": 350
        },
        "number": 0.7
      },
      "inputs": {},
      "position": [
        300.7520443498283,
        458.40728587672555
      ]
    },
    "a43870041bf1f379": {
      "id": "a43870041bf1f379",
      "name": "bitbybit.math.numberSlider",
      "data": {
        "options": {
          "min": 0.3,
          "max": 2,
          "step": 0.1,
          "width": 350
        },
        "number": 1.4
      },
      "inputs": {},
      "position": [
        302.4189097049763,
        756.1893030415021
      ]
    },
    "b3922c70311e8d7e": {
      "id": "b3922c70311e8d7e",
      "name": "bitbybit.math.numberSlider",
      "data": {
        "options": {
          "min": 0.2,
          "max": 1.5,
          "step": 0.1,
          "width": 350
        },
        "number": 0.6
      },
      "inputs": {},
      "position": [
        315.51345391086363,
        1076.6204427638672
      ]
    },
    "e70a76c3aecb38e7": {
      "id": "e70a76c3aecb38e7",
      "name": "bitbybit.math.numberSlider",
      "data": {
        "options": {
          "min": 0.01,
          "max": 0.1,
          "step": 0.01,
          "width": 350
        },
        "number": 0.1
      },
      "inputs": {},
      "position": [
        315.5833705341361,
        1412.793414041544
      ]
    },
    "e14f6ecc53f65aa9": {
      "id": "e14f6ecc53f65aa9",
      "name": "bitbybit.logic.firstDefinedValueGate",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "value1": {
          "connections": [
            {
              "node": "1351ba58e905ca0b",
              "output": "result",
              "data": {}
            }
          ]
        },
        "value2": {
          "connections": [
            {
              "node": "bf22a2d75572cc1b",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        923.5117540498435,
        336.9608762175
      ]
    },
    "37daef81676b5b92": {
      "id": "37daef81676b5b92",
      "name": "bitbybit.logic.firstDefinedValueGate",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "value1": {
          "connections": [
            {
              "node": "d7bda1e1ddcce3f7",
              "output": "result",
              "data": {}
            }
          ]
        },
        "value2": {
          "connections": [
            {
              "node": "a43870041bf1f379",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        924.1850990208965,
        644.9389085098146
      ]
    },
    "a3fac1311dde6971": {
      "id": "a3fac1311dde6971",
      "name": "bitbybit.logic.firstDefinedValueGate",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "value1": {
          "connections": [
            {
              "node": "c6bff56839695889",
              "output": "result",
              "data": {}
            }
          ]
        },
        "value2": {
          "connections": [
            {
              "node": "b3922c70311e8d7e",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        918.2834458483889,
        965.387924922689
      ]
    },
    "458ccc77b2143ccd": {
      "id": "458ccc77b2143ccd",
      "name": "bitbybit.logic.firstDefinedValueGate",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "value1": {
          "connections": [
            {
              "node": "215645f17354d2fe",
              "output": "result",
              "data": {}
            }
          ]
        },
        "value2": {
          "connections": [
            {
              "node": "e70a76c3aecb38e7",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        913.3437112179006,
        1295.7616773514583
      ]
    },
    "8e220872faa931d8": {
      "id": "8e220872faa931d8",
      "name": "bitbybit.math.twoNrOperation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "first": 1,
        "second": 1,
        "operation": "subtract"
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": "a3fac1311dde6971",
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1703.1678079506132,
        1764.0526803957023
      ]
    },
    "e62483526c4f3a3f": {
      "id": "e62483526c4f3a3f",
      "name": "bitbybit.math.twoNrOperation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "first": 1,
        "second": 2,
        "operation": "divide"
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": "8e220872faa931d8",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2594.743809199683,
        1621.068600494747
      ]
    },
    "6bbfdd464b38ccab": {
      "id": "6bbfdd464b38ccab",
      "name": "bitbybit.math.twoNrOperation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "first": 1,
        "second": 2,
        "operation": "divide"
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1819.6554636662263,
        1184.3187562960616
      ]
    },
    "e6622f51a6fe5320": {
      "id": "e6622f51a6fe5320",
      "name": "bitbybit.occt.shapes.solid.createBox",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 1,
        "length": 2,
        "height": 3,
        "center": [
          0,
          0,
          0
        ]
      },
      "inputs": {
        "width": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        },
        "length": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        },
        "height": {
          "connections": [
            {
              "node": "8e220872faa931d8",
              "output": "result",
              "data": {}
            }
          ]
        },
        "center": {
          "connections": [
            {
              "node": "ca717ef467265caf",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3536.516115509764,
        2077.563969793483
      ]
    },
    "94f79da53f3d8604": {
      "id": "94f79da53f3d8604",
      "name": "bitbybit.occt.shapes.solid.createBox",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 1,
        "length": 2,
        "height": 3,
        "center": [
          0,
          0,
          0
        ]
      },
      "inputs": {
        "width": {
          "connections": [
            {
              "node": "e14f6ecc53f65aa9",
              "output": "result",
              "data": {}
            }
          ]
        },
        "length": {
          "connections": [
            {
              "node": "37daef81676b5b92",
              "output": "result",
              "data": {}
            }
          ]
        },
        "height": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        },
        "center": {
          "connections": [
            {
              "node": "292db9705c9ee0e8",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3826.2485065772025,
        -470.21314674259963
      ]
    },
    "292db9705c9ee0e8": {
      "id": "292db9705c9ee0e8",
      "name": "bitbybit.vector.vectorXYZ",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 0,
        "y": 0,
        "z": 0
      },
      "inputs": {
        "y": {
          "connections": [
            {
              "node": "a288946269869252",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3348.080801452038,
        45.64241378529691
      ]
    },
    "a288946269869252": {
      "id": "a288946269869252",
      "name": "bitbybit.math.twoNrOperation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "first": 1,
        "second": 1,
        "operation": "subtract"
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": "a3fac1311dde6971",
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": "6bbfdd464b38ccab",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        2881.0909166981914,
        597.4113918442986
      ]
    },
    "ca717ef467265caf": {
      "id": "ca717ef467265caf",
      "name": "bitbybit.vector.vectorXYZ",
      "async": false,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 0,
        "y": 0,
        "z": 0
      },
      "inputs": {
        "y": {
          "connections": [
            {
              "node": "e62483526c4f3a3f",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3078.9762197702403,
        1789.0664744488536
      ]
    },
    "686584193a41413e": {
      "id": "686584193a41413e",
      "name": "bitbybit.occt.transforms.translate",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "translation": [
          0,
          0,
          0
        ]
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "e6622f51a6fe5320",
              "output": "result",
              "data": {}
            }
          ]
        },
        "translation": {
          "connections": [
            {
              "node": "51dd8342cb1d9c1f",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5395.541488918439,
        1537.2740698805455
      ]
    },
    "e2f2414aec096e09": {
      "id": "e2f2414aec096e09",
      "name": "bitbybit.occt.shapes.compound.makeCompound",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "shapes": {
          "connections": [
            {
              "node": "df00539f96ea6d9f",
              "output": "list",
              "data": {}
            }
          ]
        }
      },
      "position": [
        6246.846357460899,
        677.7528590381784
      ]
    },
    "df00539f96ea6d9f": {
      "id": "df00539f96ea6d9f",
      "name": "bitbybit.lists.createList",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "94f79da53f3d8604",
              "output": "result",
              "data": {}
            },
            {
              "node": "686584193a41413e",
              "output": "result",
              "data": {}
            },
            {
              "node": "99ca6815384d7ac9",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        5884.060808095813,
        578.3725460085655
      ]
    },
    "0ec95026ea2dc179": {
      "id": "0ec95026ea2dc179",
      "name": "bitbybit.draw.drawAnyAsync",
      "async": true,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "options": {
          "connections": [
            {
              "node": "6fefccf2e0134437",
              "output": "result",
              "data": {}
            }
          ]
        },
        "entity": {
          "connections": [
            {
              "node": "e2f2414aec096e09",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        6891.147463655265,
        797.4830145608578
      ]
    },
    "6fefccf2e0134437": {
      "id": "6fefccf2e0134437",
      "name": "bitbybit.draw.optionsOcctShapeSimple",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "precision": 0.01,
        "drawFaces": true,
        "faceColour": "#7984b9",
        "drawEdges": true,
        "edgeColour": "#ffffff",
        "edgeWidth": 1
      },
      "inputs": {},
      "position": [
        6244.063597078312,
        1017.4618136959568
      ]
    },
    "ea94f29e18e2905f": {
      "id": "ea94f29e18e2905f",
      "name": "bitbybit.babylon.scene.enableSkybox",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "skybox": "clearSky",
        "size": 1000,
        "blur": 0.1,
        "environmentIntensity": 0.7
      },
      "inputs": {},
      "position": [
        478.7991629274379,
        1961.5989104368246
      ]
    },
    "99ca6815384d7ac9": {
      "id": "99ca6815384d7ac9",
      "name": "bitbybit.occt.shapes.face.createCircleFace",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 2,
        "center": [
          0,
          0,
          0
        ],
        "direction": [
          0,
          1,
          0
        ]
      },
      "inputs": {},
      "position": [
        5342.421336308412,
        52.78186428876929
      ]
    },
    "e7487a609439eb1a": {
      "id": "e7487a609439eb1a",
      "name": "bitbybit.babylon.scene.drawDirectionalLight",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "direction": [
          -100,
          -100,
          -100
        ],
        "intensity": 3,
        "diffuse": "#ffffff",
        "specular": "#ffffff",
        "shadowGeneratorMapSize": 1024,
        "enableShadows": true,
        "shadowDarkness": 0
      },
      "inputs": {},
      "position": [
        440.6297419375685,
        2400.4462009049967
      ]
    },
    "e8ab3ced20e531ce": {
      "id": "e8ab3ced20e531ce",
      "name": "bitbybit.runner.setRunnerResultValue",
      "data": {
        "property": "table"
      },
      "inputs": {
        "value": {
          "connections": [
            {
              "node": "0ec95026ea2dc179",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        7499.164090083273,
        881.7351372883692
      ]
    },
    "403744c0df41464b": {
      "id": "403744c0df41464b",
      "name": "bitbybit.occt.shapes.wire.createRectangleWire",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 1,
        "length": 2,
        "center": [
          0,
          0,
          0
        ],
        "direction": [
          0,
          1,
          0
        ]
      },
      "inputs": {
        "width": {
          "connections": [
            {
              "node": "2c4a634ab383d9d2",
              "output": "result",
              "data": {}
            }
          ]
        },
        "length": {
          "connections": [
            {
              "node": "4bdf590f5ba6a111",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3424.8187103411997,
        1370.7191878915464
      ]
    },
    "2c4a634ab383d9d2": {
      "id": "2c4a634ab383d9d2",
      "name": "bitbybit.math.twoNrOperation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "first": 1,
        "second": 2,
        "operation": "subtract"
      },
      "inputs": {
        "first": {
          "connections": [
            {
              "node": "e14f6ecc53f65aa9",
              "output": "result",
              "data": {}
            }
          ]
        },
        "second": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1843.7336654843714,
        541.5799256987196
      ]
    },
    "4bdf590f5ba6a111": {
      "id": "4bdf590f5ba6a111",
      "name": "bitbybit.math.twoNrOperation",
      "async": false,
      "drawable": false,
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "first": 1,
        "second": 2,
        "operation": "subtract"
      },
      "inputs": {
        "second": {
          "connections": [
            {
              "node": "458ccc77b2143ccd",
              "output": "result",
              "data": {}
            }
          ]
        },
        "first": {
          "connections": [
            {
              "node": "37daef81676b5b92",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        1830.177622351865,
        871.1643259022944
      ]
    },
    "8585b69a75a679a4": {
      "id": "8585b69a75a679a4",
      "name": "bitbybit.occt.shapes.edge.getCornerPointsOfEdgesForShape",
      "async": true,
      "drawable": true,
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        }
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "403744c0df41464b",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        3879.3839338658117,
        1466.7755706923394
      ]
    },
    "51dd8342cb1d9c1f": {
      "id": "51dd8342cb1d9c1f",
      "name": "bitbybit.lists.flatten",
      "data": {
        "nrLevels": 1
      },
      "inputs": {
        "list": {
          "connections": [
            {
              "node": "8585b69a75a679a4",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        4218.247570061954,
        1499.0958273259153
      ]
    }
  }
}
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