Control Flow Interval Example

Control Flow Interval Example script details
Type
Rete logo image
rete
App Version
0.19.4
Visibility
public
Date Created
Sep 5, 2024, 8:39:48 AM
Last Edit Date
Feb 28, 2025, 1:57:26 PM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "1956d65802bc0053": { "id": "1956d65802bc0053", "name": "bitbybit.babylon.gaussianSplatting.create", "customName": "gaussian splatting mesh", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "url": "https://ik.imagekit.io/bitbybit/prod/ik-seo/o/users%2FyVqNAFXmieX0iAkdP6wAz5BJ4X82%2Fprojects%2FrurHqHCxRi211LmrrwI1%2Fassets%2Fruta-with-bikes-3/ruta-with-bikes.splat?alt=media&token=9fd27a2d-ea06-4914-a80b-91bc3dba641e" }, "inputs": {}, "position": [ 1606.9685837882598, -31.31258407842251 ] }, "de8658a80372c2ef": { "id": "de8658a80372c2ef", "name": "bitbybit.babylon.scene.enableSkybox", "customName": "skybox", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "skybox": "clearSky", "size": 1000, "blur": 0.1, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ 310.36554972330725, 487.13310147509156 ] }, "f260238abc2a5a30": { "id": "f260238abc2a5a30", "name": "bitbybit.draw.drawGridMesh", "customName": "draw grid", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "width": 400, "height": 400, "subdivisions": 10, "majorUnitFrequency": 10, "minorUnitVisibility": 0.45, "gridRatio": 0.5, "opacity": 0.5, "backFaceCulling": false, "mainColor": "#ffffff", "secondaryColor": "#ffffff" }, "inputs": {}, "position": [ 310.75134277343744, 897.1350304874372 ] }, "1f336cfb82180d82": { "id": "1f336cfb82180d82", "name": "bitbybit.occt.shapes.face.createCircleFace", "customName": "circle", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 2, "center": [ 0, 0, 0 ], "direction": [ 0, 1, 0 ] }, "inputs": {}, "position": [ 386.5070468989438, -787.3295984940044 ] }, "8428a201313626ac": { "id": "8428a201313626ac", "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": "1f336cfb82180d82", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "44a8a9af1bfcf337", "output": "result", "data": {} } ] } }, "position": [ 762.7487781683235, -551.6355206895855 ] }, "44a8a9af1bfcf337": { "id": "44a8a9af1bfcf337", "name": "bitbybit.draw.optionsOcctShapeSimple", "customName": "occt shape simple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawFaces": true, "faceColour": "#000000", "drawEdges": true, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": {}, "position": [ 316.9262225924198, -357.3432922697356 ] }, "7d9483c57fe6889e": { "id": "7d9483c57fe6889e", "name": "bitbybit.flow.actions.trigger", "customName": "trigger", "data": {}, "inputs": {}, "position": [ 1026.5342341824444, 425.2787100865991 ] }, "4def3a2f7b2163ce": { "id": "4def3a2f7b2163ce", "name": "bitbybit.flow.counters.counter", "customName": "counter", "data": { "step": 0.1 }, "inputs": { "execReset": { "connections": [ { "node": "ea738f3781fed062", "output": "exec", "data": {} } ] }, "exec": { "connections": [ { "node": "6c1046ab712607b0", "output": "exec", "data": {} } ] } }, "position": [ 1728.1922102091676, 452.46217576885846 ] }, "0aefc874a1cc6b6e": { "id": "0aefc874a1cc6b6e", "name": "bitbybit.previewData", "customName": "preview data", "data": { "previewJSONControl": "[\n 205.7999999999926\n]" }, "inputs": { "data": { "connections": [ { "node": "4def3a2f7b2163ce", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "4def3a2f7b2163ce", "output": "exec", "data": {} } ] } }, "position": [ 2126.9896941703932, 648.3297582349726 ] }, "ea738f3781fed062": { "id": "ea738f3781fed062", "name": "bitbybit.flow.actions.trigger", "customName": "trigger", "data": {}, "inputs": {}, "position": [ 1359.5098622765709, 688.8483591451927 ] }, "6c1046ab712607b0": { "id": "6c1046ab712607b0", "name": "bitbybit.flow.time.interval", "customName": "interval", "data": { "interval": 10, "expire": 0 }, "inputs": { "exec": { "connections": [ { "node": "7d9483c57fe6889e", "output": "exec", "data": {} } ] } }, "position": [ 1382.8140390901808, 369.6842312419113 ] }, "d2295329e55f2a18": { "id": "d2295329e55f2a18", "name": "bitbybit.vector.vectorXYZ", "customName": "vector XYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": 0, "z": 0 }, "inputs": { "y": { "connections": [ { "node": "4def3a2f7b2163ce", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "4def3a2f7b2163ce", "output": "exec", "data": {} } ] } }, "position": [ 2065.125765515779, 269.71619306849914 ] }, "46ac08461959d091": { "id": "46ac08461959d091", "name": "bitbybit.previewData", "customName": "preview data", "data": { "previewJSONControl": "[\n [\n 0,\n 205.7999999999926,\n 0\n ]\n]" }, "inputs": { "data": { "connections": [ { "node": "d2295329e55f2a18", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "d2295329e55f2a18", "output": "exec", "data": {} } ] } }, "position": [ 2645.3969164482096, 593.1695410953606 ] }, "4f466928474e5b6a": { "id": "4f466928474e5b6a", "name": "bitbybit.babylon.mesh.setRotation", "customName": "rotation", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": true } }, "inputs": { "babylonMesh": { "connections": [ { "node": "1956d65802bc0053", "output": "result", "data": {} } ] }, "rotation": { "connections": [ { "node": "d2295329e55f2a18", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "d2295329e55f2a18", "output": "exec", "data": {} } ] } }, "position": [ 2645.836778538309, 184.28517773698718 ] }, "18ca7a6993229f18": { "id": "18ca7a6993229f18", "name": "bitbybit.babylon.scene.adjustActiveArcRotateCamera", "customName": "adjust active camera", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "position": [ 10, 10, 10 ], "lookAt": [ 0, 0, 0 ], "lowerBetaLimit": 1, "upperBetaLimit": 179, "angularSensibilityX": 1000, "angularSensibilityY": 1000, "maxZ": 1000, "panningSensibility": 1000, "wheelPrecision": 100 }, "inputs": { "position": { "connections": [ { "node": "88106bf670d9292d", "output": "result", "data": {} } ] }, "lookAt": { "connections": [ { "node": "14982c5c36f57d61", "output": "result", "data": {} } ] } }, "position": [ 222.13157226245357, 1550.0296945894172 ] }, "88106bf670d9292d": { "id": "88106bf670d9292d", "name": "bitbybit.vector.vectorXYZ", "customName": "vector XYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 3, "y": 2, "z": 3 }, "inputs": {}, "position": [ -198.7048250835517, 1505.0898253854593 ] }, "14982c5c36f57d61": { "id": "14982c5c36f57d61", "name": "bitbybit.vector.vectorXYZ", "customName": "vector XYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": 1, "z": 0 }, "inputs": {}, "position": [ -223.9652311827458, 1859.7849743919758 ] } } }