Nebula Cruiser Rete Example

Nebula Cruiser Rete Example script details
Author
matas
Type
Rete logo image
rete
App Version
0.14.0
Visibility
public
Date Created
Nov 8, 2023, 11:53:22 AM
Last Edit Date
Jan 27, 2024, 10:01:40 AM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "37aebbdd15b590ca": { "id": "37aebbdd15b590ca", "name": "bitbybit.occt.shapes.wire.createEllipseWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radiusMinor": 1, "radiusMajor": 4 }, "inputs": {}, "position": [ -357.44127024453, -2.1749381071296083 ] }, "f40ed0cde0859142": { "id": "f40ed0cde0859142", "name": "bitbybit.occt.shapes.wire.createEllipseWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radiusMinor": 1, "radiusMajor": 2 }, "inputs": { "center": { "connections": [ { "node": "f285c6c4d384bc74", "output": "result", "data": {} } ] }, "direction": { "connections": [ { "node": "160d40a209ff6c71", "output": "result", "data": {} } ] } }, "position": [ -274.90836071482767, 573.685524496594 ] }, "f285c6c4d384bc74": { "id": "f285c6c4d384bc74", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 1.5, "y": 2, "z": 0 }, "inputs": {}, "position": [ -604.4762056519587, 393.1215493172377 ] }, "160d40a209ff6c71": { "id": "160d40a209ff6c71", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 1, "y": 0, "z": 0 }, "inputs": {}, "position": [ -620.8884240264022, 699.8753747165335 ] }, "36aa33f00b119ae0": { "id": "36aa33f00b119ae0", "name": "bitbybit.occt.shapes.wire.createEllipseWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radiusMinor": 0.5, "radiusMajor": 4 }, "inputs": { "center": { "connections": [ { "node": "6538c1f495a88f40", "output": "result", "data": {} } ] }, "direction": { "connections": [ { "node": "39417b1108eff10d", "output": "result", "data": {} } ] } }, "position": [ -283.59119638501346, 996.5901282359631 ] }, "6538c1f495a88f40": { "id": "6538c1f495a88f40", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 4, "y": 4, "z": 0 }, "inputs": {}, "position": [ -627.6776891231882, 1098.8334543581805 ] }, "48ed3a00f230aca6": { "id": "48ed3a00f230aca6", "name": "bitbybit.occt.shapes.wire.splitOnPoints", "data": { "genericNodeData": { "hide": true, "oneOnOne": true, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "06c470a4d5c692e0", "output": "item", "data": {} }, { "node": "88533392bf080f02", "output": "item", "data": {} }, { "node": "48960435a77b2b5e", "output": "item", "data": {} }, { "node": "9aa30b65f3151946", "output": "item", "data": {} } ] }, "points": { "connections": [ { "node": "4aa3d264422cc46a", "output": "result", "data": {} } ] } }, "position": [ 2256.9483429541638, 748.8461174917572 ] }, "4aa3d264422cc46a": { "id": "4aa3d264422cc46a", "name": "bitbybit.occt.shapes.wire.divideWireByEqualDistanceToPoints", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "nrOfDivisions": 60, "removeStartPoint": false, "removeEndPoint": false }, "inputs": { "shape": { "connections": [ { "node": "06c470a4d5c692e0", "output": "item", "data": {} }, { "node": "88533392bf080f02", "output": "item", "data": {} }, { "node": "48960435a77b2b5e", "output": "item", "data": {} }, { "node": "9aa30b65f3151946", "output": "item", "data": {} } ] }, "nrOfDivisions": { "connections": [ { "node": "7f72ccea4bd48608", "output": "result", "data": {} } ] } }, "position": [ 1757.0316462174453, 675.7621142661801 ] }, "beded6a51022f709": { "id": "beded6a51022f709", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "48ed3a00f230aca6", "output": "result", "data": {} } ] } }, "position": [ 2750.0867458806206, 603.5889905463819 ] }, "39417b1108eff10d": { "id": "39417b1108eff10d", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 1, "y": 0, "z": 0 }, "inputs": {}, "position": [ -629.0057026006509, 1373.4635096321338 ] }, "60cbf7efa51a2bea": { "id": "60cbf7efa51a2bea", "name": "bitbybit.lists.flipLists", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 1 } }, "inputs": { "list": { "connections": [ { "node": "beded6a51022f709", "output": "list", "data": {} } ] } }, "position": [ 3110.8023666184554, 564.4612046502705 ] }, "1cd0f31a2288407e": { "id": "1cd0f31a2288407e", "name": "bitbybit.occt.operations.loftAdvanced", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "makeSolid": false, "closed": true, "periodic": true, "straight": false, "nrPeriodicSections": 3, "useSmoothing": false, "maxUDegree": 3, "tolerance": 1e-7, "parType": "approxCentripetal" }, "inputs": { "shapes": { "connections": [ { "node": "60cbf7efa51a2bea", "output": "result", "data": {} } ] } }, "position": [ 3514.135708676571, 494.2557763638911 ] }, "8dffb05a0a6a18ee": { "id": "8dffb05a0a6a18ee", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "1cd0f31a2288407e", "output": "result", "data": {} } ] } }, "position": [ 4034.295208212166, 1031.4631615840788 ] }, "9aabd97ded94aa63": { "id": "9aabd97ded94aa63", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "cb528bdd3ea0c69c", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "6279e4ebe67eb65f", "output": "result", "data": {} } ] } }, "position": [ 7057.723287858087, 1529.3508755949806 ] }, "64f28c3d3b5fa726": { "id": "64f28c3d3b5fa726", "name": "bitbybit.occt.shapes.wire.createEllipseWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radiusMinor": 0.5, "radiusMajor": 1 }, "inputs": { "direction": { "connections": [ { "node": "d2b97502c7d20c60", "output": "result", "data": {} } ] } }, "position": [ -135.4885660824471, 1399.2273206073723 ] }, "8cc0f69bca33a132": { "id": "8cc0f69bca33a132", "name": "bitbybit.occt.transforms.rotate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "angle": 180 }, "inputs": { "shape": { "connections": [ { "node": "64f28c3d3b5fa726", "output": "result", "data": {} } ] }, "axis": { "connections": [ { "node": "7598574d9a9ea11b", "output": "result", "data": {} } ] } }, "position": [ 300.89181350032567, 1441.0418227173102 ] }, "7598574d9a9ea11b": { "id": "7598574d9a9ea11b", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 1, "z": 0 }, "inputs": {}, "position": [ -79.67799173051311, 1786.3289833764843 ] }, "9d3731219072e0b5": { "id": "9d3731219072e0b5", "name": "bitbybit.occt.transforms.translate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "8cc0f69bca33a132", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "13d324ad2d4ba56b", "output": "result", "data": {} } ] } }, "position": [ 691.0087552920731, 1541.158975912393 ] }, "13d324ad2d4ba56b": { "id": "13d324ad2d4ba56b", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 12, "y": -3, "z": 0 }, "inputs": {}, "position": [ 275.85489228265743, 1755.06813724773 ] }, "d2b97502c7d20c60": { "id": "d2b97502c7d20c60", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": -1, "z": 0 }, "inputs": {}, "position": [ -633.8397775836568, 1752.3571708341608 ] }, "06c470a4d5c692e0": { "id": "06c470a4d5c692e0", "name": "bitbybit.lists.passThrough", "data": {}, "inputs": { "item": { "connections": [ { "node": "37aebbdd15b590ca", "output": "result", "data": {} } ] } }, "position": [ 1216.563700757973, 963.2831480297527 ] }, "88533392bf080f02": { "id": "88533392bf080f02", "name": "bitbybit.lists.passThrough", "data": {}, "inputs": { "item": { "connections": [ { "node": "f40ed0cde0859142", "output": "result", "data": {} } ] } }, "position": [ 1204.8681074511394, 1088.3647858520035 ] }, "48960435a77b2b5e": { "id": "48960435a77b2b5e", "name": "bitbybit.lists.passThrough", "data": {}, "inputs": { "item": { "connections": [ { "node": "36aa33f00b119ae0", "output": "result", "data": {} } ] } }, "position": [ 1204.4288555418393, 1233.3683261539677 ] }, "9aa30b65f3151946": { "id": "9aa30b65f3151946", "name": "bitbybit.lists.passThrough", "data": {}, "inputs": { "item": { "connections": [ { "node": "9d3731219072e0b5", "output": "result", "data": {} } ] } }, "position": [ 1208.6828436458052, 1370.156836846757 ] }, "5e929be62f4de294": { "id": "5e929be62f4de294", "name": "bitbybit.lists.getByPattern", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "list": { "connections": [ { "node": "8dffb05a0a6a18ee", "output": "list", "data": {} } ] }, "pattern": { "connections": [ { "node": "2987b608a35fcf53", "output": "result", "data": {} } ] } }, "position": [ 4464.628540477773, 894.0842922478288 ] }, "6279e4ebe67eb65f": { "id": "6279e4ebe67eb65f", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#8c00ff", "edgeWidth": 2, "drawEdges": false, "drawFaces": true, "precision": 0.006, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 6462.513656476822, 1721.1663079829927 ] }, "7f72ccea4bd48608": { "id": "7f72ccea4bd48608", "name": "bitbybit.math.number", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "number": 80 }, "inputs": {}, "position": [ 1310.170481038566, 344.87203084610246 ] }, "3df6c494c98ad14f": { "id": "3df6c494c98ad14f", "name": "bitbybit.occt.operations.makeThickSolidSimple", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "offset": -0.01 }, "inputs": { "shape": { "connections": [ { "node": "3f49c856272d5abd", "output": "result", "data": {} } ] } }, "position": [ 5167.52045523833, 823.5830122679214 ] }, "bdd035a09bcd4111": { "id": "bdd035a09bcd4111", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[true,false,true, false]" }, "inputs": {}, "position": [ 3796.8281179636515, 2108.5482494899325 ] }, "4fbfe1f9c4b63750": { "id": "4fbfe1f9c4b63750", "name": "bitbybit.lists.getByPattern", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "list": { "connections": [ { "node": "8dffb05a0a6a18ee", "output": "list", "data": {} } ] }, "pattern": { "connections": [ { "node": "bdd035a09bcd4111", "output": "result", "data": {} } ] } }, "position": [ 4505.730427143288, 1789.7138734016626 ] }, "3f49c856272d5abd": { "id": "3f49c856272d5abd", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "5e929be62f4de294", "output": "result", "data": {} } ] } }, "position": [ 4798.689149747267, 900.5475494936841 ] }, "ad1b60551e723746": { "id": "ad1b60551e723746", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "4fbfe1f9c4b63750", "output": "result", "data": {} } ] } }, "position": [ 4857.302622359356, 1779.6723786073624 ] }, "2b4c7556cd4a75c8": { "id": "2b4c7556cd4a75c8", "name": "bitbybit.occt.operations.makeThickSolidSimple", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "offset": -0.1 }, "inputs": { "shape": { "connections": [ { "node": "ad1b60551e723746", "output": "result", "data": {} } ] } }, "position": [ 5318.989918685016, 1530.8959367638208 ] }, "2987b608a35fcf53": { "id": "2987b608a35fcf53", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[false,false,false,true]" }, "inputs": {}, "position": [ 3945.78486132667, 1181.73562945785 ] }, "d6a4731aa07e8c7d": { "id": "d6a4731aa07e8c7d", "name": "bitbybit.lists.getByPattern", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "list": { "connections": [ { "node": "8dffb05a0a6a18ee", "output": "list", "data": {} } ] }, "pattern": { "connections": [ { "node": "c72bccf2d6e29b6b", "output": "result", "data": {} } ] } }, "position": [ 4456.1273730335515, 2334.5748753219887 ] }, "c72bccf2d6e29b6b": { "id": "c72bccf2d6e29b6b", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[false,true,false,false]" }, "inputs": {}, "position": [ 3776.1101037456715, 2406.6702674212847 ] }, "4fea8cb6cb8497f6": { "id": "4fea8cb6cb8497f6", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "d6a4731aa07e8c7d", "output": "result", "data": {} } ] } }, "position": [ 4863.270882829126, 2220.844522812479 ] }, "4010159a026b7353": { "id": "4010159a026b7353", "name": "bitbybit.occt.operations.makeThickSolidSimple", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "offset": -0.3 }, "inputs": { "shape": { "connections": [ { "node": "4fea8cb6cb8497f6", "output": "result", "data": {} } ] } }, "position": [ 5232.781345025888, 2141.2560817166877 ] }, "b8872e70c96359b8": { "id": "b8872e70c96359b8", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 0.2, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#8c00ff", "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": [ 6261.883613228418, 627.1766304370942 ] }, "c19f4dd8de58735b": { "id": "c19f4dd8de58735b", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "0e01d54fb3bb5b78", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "b8872e70c96359b8", "output": "result", "data": {} } ] } }, "position": [ 6703.946144549541, 472.2199957538105 ] }, "cb528bdd3ea0c69c": { "id": "cb528bdd3ea0c69c", "name": "bitbybit.occt.shapes.compound.makeCompound", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": "ccd0f50aad705df2", "output": "list", "data": {} } ] } }, "position": [ 6048.923264169676, 1605.4769537205666 ] }, "ccd0f50aad705df2": { "id": "ccd0f50aad705df2", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "2b4c7556cd4a75c8", "output": "result", "data": {} } ] } }, "position": [ 5659.0012028870915, 1636.902856897004 ] }, "aadef2af8316b114": { "id": "aadef2af8316b114", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ff0000", "faceColour": "#1e00ff", "edgeWidth": 1, "drawEdges": true, "drawFaces": true, "precision": 0.006, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 6383.550770968141, 2674.328768803036 ] }, "0c50898acb877f49": { "id": "0c50898acb877f49", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "a7c74f041563f50d", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "aadef2af8316b114", "output": "result", "data": {} } ] } }, "position": [ 6908.714174059423, 2534.8304834680953 ] }, "800c9a6e16810dc2": { "id": "800c9a6e16810dc2", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "4010159a026b7353", "output": "result", "data": {} } ] } }, "position": [ 5651.712718759744, 2120.7872557803503 ] }, "7969c8c90c6f3c1d": { "id": "7969c8c90c6f3c1d", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "3df6c494c98ad14f", "output": "result", "data": {} } ] } }, "position": [ 5564.308167659025, 947.7039123007406 ] }, "0e01d54fb3bb5b78": { "id": "0e01d54fb3bb5b78", "name": "bitbybit.occt.shapes.compound.makeCompound", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": "7969c8c90c6f3c1d", "output": "list", "data": {} } ] } }, "position": [ 5880.1950302242885, 952.0608913789492 ] }, "a7c74f041563f50d": { "id": "a7c74f041563f50d", "name": "bitbybit.occt.shapes.compound.makeCompound", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": "800c9a6e16810dc2", "output": "list", "data": {} } ] } }, "position": [ 5942.623992695216, 2100.2598436176413 ] }, "96d0458c7066accd": { "id": "96d0458c7066accd", "name": "bitbybit.babylon.scene.drawPointLight", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "intensity": 1200, "diffuse": "#ffffff", "specular": "#ffffff", "radius": 0, "shadowGeneratorMapSize": 1024, "enableShadows": true, "shadowDarkness": 0 }, "inputs": { "position": { "connections": [ { "node": "64c7f89962826917", "output": "result", "data": {} }, { "node": "fc6619d4bc059071", "output": "result", "data": {} } ] } }, "position": [ -564.1648773337098, 2309.522333044426 ] }, "64c7f89962826917": { "id": "64c7f89962826917", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 5, "y": 0, "z": 0 }, "inputs": {}, "position": [ -1035.1009127643981, 2145.816993819072 ] }, "fc6619d4bc059071": { "id": "fc6619d4bc059071", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": -10, "y": 5, "z": 0 }, "inputs": {}, "position": [ -1058.5664291353157, 2494.8202025228456 ] }, "788a28e37efec739": { "id": "788a28e37efec739", "name": "bitbybit.babylon.scene.adjustActiveArcRotateCamera", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "lowerBetaLimit": 1, "upperBetaLimit": 179, "angularSensibilityX": 1000, "angularSensibilityY": 1000, "maxZ": 1000, "panningSensibility": 1000, "wheelPrecision": 10 }, "inputs": { "position": { "connections": [ { "node": "f38580b4313f9584", "output": "result", "data": {} } ] }, "lookAt": { "connections": [ { "node": "9eb1011c137acbf3", "output": "result", "data": {} } ] } }, "position": [ -559.208664206963, 2859.8648654884973 ] }, "f38580b4313f9584": { "id": "f38580b4313f9584", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 15, "y": 3, "z": 12 }, "inputs": {}, "position": [ -1021.4291001696338, 2890.0426931730985 ] }, "9eb1011c137acbf3": { "id": "9eb1011c137acbf3", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 5, "y": -1, "z": 0 }, "inputs": {}, "position": [ -1032.9034186740537, 3184.1533912558707 ] } } }