Pattern example rete

Pattern example rete script details
Type
Rete logo image
rete
App Version
0.15.3
Visibility
public
Date Created
Mar 20, 2024, 7:31:41 AM
Last Edit Date
Mar 20, 2024, 7:50:18 AM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "f71fb241eeaeb45d": { "id": "f71fb241eeaeb45d", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[[-30,-3,15],[-10,1,10], [0,-2,10], [10,-5,10],[40,-9,15],[39,-10,15],[0,-10,15]]" }, "inputs": {}, "position": [ -3257.93025727746, 635.8058506648205 ] }, "5c615a16884e527a": { "id": "5c615a16884e527a", "name": "bitbybit.occt.shapes.wire.interpolatePoints", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "periodic": true, "tolerance": 1e-7 }, "inputs": { "points": { "connections": [ { "node": "f71fb241eeaeb45d", "output": "result", "data": {} } ] } }, "position": [ -2881.549022029795, 614.363543997447 ] }, "1f6edd1f84b2e98b": { "id": "1f6edd1f84b2e98b", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[[-30,-3,-15],[-10,1,-10], [0,-2,-10], [10,-5,-10],[40,-9,-15],[39,-10,-15],[0,-10,-15]]" }, "inputs": {}, "position": [ -3264.0777629394097, 1150.379137034161 ] }, "9ff86c509d3b38f1": { "id": "9ff86c509d3b38f1", "name": "bitbybit.occt.shapes.wire.interpolatePoints", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "periodic": true, "tolerance": 1e-7 }, "inputs": { "points": { "connections": [ { "node": "1f6edd1f84b2e98b", "output": "result", "data": {} } ] } }, "position": [ -2887.938692878661, 1291.0876782991609 ] }, "0ce32f167fa43411": { "id": "0ce32f167fa43411", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[[-35,-5,0],[-30,2,0], [0,2,0], [20,-6,0],[35,-10,0]]" }, "inputs": {}, "position": [ -3241.6848725985956, 888.3567824855788 ] }, "eee0d33f940751f0": { "id": "eee0d33f940751f0", "name": "bitbybit.occt.shapes.wire.interpolatePoints", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "periodic": true, "tolerance": 1e-7 }, "inputs": { "points": { "connections": [ { "node": "0ce32f167fa43411", "output": "result", "data": {} } ] } }, "position": [ -2884.9080708259617, 940.8207006120996 ] }, "b187603ebb5409d2": { "id": "b187603ebb5409d2", "name": "bitbybit.occt.operations.loft", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "makeSolid": false }, "inputs": { "shapes": { "connections": [ { "node": "1ee800933256c997", "output": "list", "data": {} } ] } }, "position": [ -2093.956806443912, 919.7864595225453 ] }, "1ee800933256c997": { "id": "1ee800933256c997", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "5c615a16884e527a", "output": "result", "data": {} }, { "node": "eee0d33f940751f0", "output": "result", "data": {} }, { "node": "9ff86c509d3b38f1", "output": "result", "data": {} } ] } }, "position": [ -2428.4891059984125, 971.4039153962641 ] }, "9a1b15e274cc1169": { "id": "9a1b15e274cc1169", "name": "bitbybit.babylon.scene.enableSkybox", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "skybox": "city", "size": 1000, "blur": 0.7, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ -960.6165970100262, 159.6523578716072 ] }, "72416f31a190327a": { "id": "72416f31a190327a", "name": "bitbybit.occt.operations.makeThickSolidSimple", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "offset": 1 }, "inputs": { "shape": { "connections": [ { "node": "b187603ebb5409d2", "output": "result", "data": {} } ] } }, "position": [ -1743.2409007893868, 649.2872227135374 ] }, "c2a89352f3e4ee95": { "id": "c2a89352f3e4ee95", "name": "bitbybit.occt.shapes.face.getFace", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "index": 2 }, "inputs": { "shape": { "connections": [ { "node": "72416f31a190327a", "output": "result", "data": {} } ] } }, "position": [ -895.9020194271632, 795.1004852800393 ] }, "8bb679f4651064df": { "id": "8bb679f4651064df", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "c2a89352f3e4ee95", "output": "result", "data": {} } ] } }, "position": [ -564.9694448410371, 759.7256380829049 ] }, "700bcedc0fe13a29": { "id": "700bcedc0fe13a29", "name": "bitbybit.babylon.scene.drawDirectionalLight", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "intensity": 5, "diffuse": "#9c8fff", "specular": "#ff5252", "shadowGeneratorMapSize": 1024, "enableShadows": true, "shadowDarkness": 0 }, "inputs": { "direction": { "connections": [ { "node": "8c2de8f5e1875089", "output": "result", "data": {} } ] } }, "position": [ -854.2197287152006, -390.8630083057794 ] }, "8c2de8f5e1875089": { "id": "8c2de8f5e1875089", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "x": -100, "y": -50, "z": -100 }, "inputs": {}, "position": [ -1337.2013571335103, -450.39270939461653 ] }, "df35d99f157f1764": { "id": "df35d99f157f1764", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 10, "max": 200, "step": 1, "width": 350 }, "number": 100 }, "inputs": {}, "position": [ -1179.4287799126942, 1278.341216778149 ] }, "780d59505c021495": { "id": "780d59505c021495", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 10, "max": 200, "step": 1, "width": 350 }, "number": 20 }, "inputs": {}, "position": [ -1169.7705413380554, 1468.0768641537243 ] }, "f7c7c1d97a9fcd58": { "id": "f7c7c1d97a9fcd58", "name": "bitbybit.occt.transforms.rotate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "angle": -90 }, "inputs": { "shape": { "connections": [ { "node": "2ea589bf99ab71b4", "output": "result", "data": {} } ] }, "axis": { "connections": [ { "node": "2ffeb7cbe499e72b", "output": "result", "data": {} } ] } }, "position": [ 796.5621486839127, 5.063525188512358 ] }, "2ea589bf99ab71b4": { "id": "2ea589bf99ab71b4", "name": "bitbybit.occt.shapes.wire.createHeartWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "rotation": 0, "sizeApprox": 15 }, "inputs": {}, "position": [ 423.57082320514564, -267.87172721587297 ] }, "2ffeb7cbe499e72b": { "id": "2ffeb7cbe499e72b", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 1, "z": 0 }, "inputs": {}, "position": [ 360.9360776724625, 148.37962571287585 ] }, "2940ce754b16e204": { "id": "2940ce754b16e204", "name": "bitbybit.occt.shapes.wire.project", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "wire": { "connections": [ { "node": "f7c7c1d97a9fcd58", "output": "result", "data": {} } ] }, "shape": { "connections": [ { "node": "c2a89352f3e4ee95", "output": "result", "data": {} } ] } }, "position": [ 1307.8885037293976, 186.46108191460007 ] }, "b9acd6d3218fc104": { "id": "b9acd6d3218fc104", "name": "bitbybit.occt.operations.splitShapeWithShapes", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "c2a89352f3e4ee95", "output": "result", "data": {} } ] }, "shapes": { "connections": [ { "node": "8a956d535d37b147", "output": "list", "data": {} } ] } }, "position": [ 2001.7363037566274, 335.0340812444119 ] }, "8a956d535d37b147": { "id": "8a956d535d37b147", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "2940ce754b16e204", "output": "result", "data": {} } ] } }, "position": [ 1640.5604616589435, 222.33478282795795 ] }, "7e1902355023263b": { "id": "7e1902355023263b", "name": "bitbybit.occt.shapes.face.getFace", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "index": 2 }, "inputs": { "shape": { "connections": [ { "node": "b9acd6d3218fc104", "output": "result", "data": {} } ] } }, "position": [ 2317.951233096892, 312.38112539698443 ] }, "5d6a663cdceb0216": { "id": "5d6a663cdceb0216", "name": "bitbybit.occt.operations.distancesToShapeFromPoints", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "7e1902355023263b", "output": "result", "data": {} } ] }, "points": { "connections": [ { "node": "cee9f7a0df6af892", "output": "result", "data": {} } ] } }, "position": [ 2735.9826014194914, 443.99976686660807 ] }, "54c6d00826b20e7b": { "id": "54c6d00826b20e7b", "name": "bitbybit.logic.thresholdGapsBooleanList", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "inverse": false }, "inputs": { "gapThresholds": { "connections": [ { "node": "9ea166f2c128e9ce", "output": "result", "data": {} } ] }, "numbers": { "connections": [ { "node": "5d6a663cdceb0216", "output": "result", "data": {} } ] } }, "position": [ 3249.191583213097, 645.2309763718839 ] }, "9ea166f2c128e9ce": { "id": "9ea166f2c128e9ce", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[[0,0.3], [4,12]]" }, "inputs": {}, "position": [ 2724.6976937723066, 790.3157959205373 ] }, "46faed54a0c6432d": { "id": "46faed54a0c6432d", "name": "bitbybit.lists.getByPattern", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "pattern": { "connections": [ { "node": "54c6d00826b20e7b", "output": "result", "data": {} } ] }, "list": { "connections": [ { "node": "ea561df3adbc3eeb", "output": "list", "data": {} } ] } }, "position": [ 4241.6009410602655, 1338.9358072694567 ] }, "07598493a8be2dd5": { "id": "07598493a8be2dd5", "name": "bitbybit.occt.shapes.compound.makeCompound", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": "46faed54a0c6432d", "output": "result", "data": {} } ] } }, "position": [ 4619.908190748265, 1358.5560864628776 ] }, "df97933b6acaed4e": { "id": "df97933b6acaed4e", "name": "bitbybit.logic.notList", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "booleans": { "connections": [ { "node": "54c6d00826b20e7b", "output": "result", "data": {} } ] } }, "position": [ 3941.6787326085023, 765.3138989100593 ] }, "61ee13a2b8895440": { "id": "61ee13a2b8895440", "name": "bitbybit.lists.getByPattern", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "pattern": { "connections": [ { "node": "df97933b6acaed4e", "output": "result", "data": {} } ] }, "list": { "connections": [ { "node": "ea561df3adbc3eeb", "output": "list", "data": {} } ] } }, "position": [ 4443.22655138188, 1003.4829155141576 ] }, "f3f13ef7bc440e92": { "id": "f3f13ef7bc440e92", "name": "bitbybit.occt.shapes.compound.makeCompound", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": "61ee13a2b8895440", "output": "result", "data": {} } ] } }, "position": [ 4829.62727817937, 997.7614490468484 ] }, "5a6e66a0250e6c32": { "id": "5a6e66a0250e6c32", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "f3f13ef7bc440e92", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "2ad0b8ceee71e7e8", "output": "result", "data": {} } ] } }, "position": [ 5414.221349867128, 963.2100910752755 ] }, "2ad0b8ceee71e7e8": { "id": "2ad0b8ceee71e7e8", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#bd2eff", "edgeWidth": 2, "drawEdges": false, "drawFaces": true, "precision": 0.01, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "#ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 4231.307645488168, 1663.2531050340926 ] }, "b2d45eaff76f5476": { "id": "b2d45eaff76f5476", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "options": { "connections": [ { "node": "cd3df2fccb3273ea", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "07598493a8be2dd5", "output": "result", "data": {} } ] } }, "position": [ 5429.082060523675, 1359.3800225939876 ] }, "cd3df2fccb3273ea": { "id": "cd3df2fccb3273ea", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#2b2b2b", "edgeWidth": 2, "drawEdges": false, "drawFaces": true, "precision": 0.01, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "#ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 4239.285729461944, 2483.255020876342 ] }, "cee9f7a0df6af892": { "id": "cee9f7a0df6af892", "name": "bitbybit.occt.shapes.face.subdivideToPoints", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "nrDivisionsU": 10, "nrDivisionsV": 10, "shiftHalfStepU": false, "removeStartEdgeU": false, "removeEndEdgeU": false, "shiftHalfStepV": false, "removeStartEdgeV": false, "removeEndEdgeV": false }, "inputs": { "shape": { "connections": [ { "node": "c2a89352f3e4ee95", "output": "result", "data": {} } ] }, "nrDivisionsU": { "connections": [ { "node": "df35d99f157f1764", "output": "result", "data": {} } ] }, "nrDivisionsV": { "connections": [ { "node": "780d59505c021495", "output": "result", "data": {} } ] } }, "position": [ -403.29277727859244, 1154.8261831687869 ] }, "115bd3e119d93fe9": { "id": "115bd3e119d93fe9", "name": "bitbybit.occt.shapes.solid.createCube", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "size": 0.8 }, "inputs": { "center": { "connections": [ { "node": "9b45939f5e4c9194", "output": "result", "data": {} } ] } }, "position": [ 392.5907097160648, 1313.992903625175 ] }, "9b45939f5e4c9194": { "id": "9b45939f5e4c9194", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "cee9f7a0df6af892", "output": "result", "data": {} } ] } }, "position": [ 40.47991090235473, 1364.1483869465146 ] }, "ea561df3adbc3eeb": { "id": "ea561df3adbc3eeb", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "115bd3e119d93fe9", "output": "result", "data": {} } ] } }, "position": [ 718.1738449479617, 1362.3366144834129 ] } } }