Rete Sliced Mesh Example

Rete Sliced Mesh Example script details
Type
Rete logo image
rete
App Version
0.19.0
Visibility
public
Date Created
Nov 27, 2024, 1:17:14 PM
Last Edit Date
Nov 27, 2024, 1:39:03 PM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "464b61736b773a7f": { "id": "464b61736b773a7f", "name": "bitbybit.manifold.manifold.booleans.splitByPlaneOnOffsets", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "normal": [ 1, 0, 0 ], "originOffsets": [ 0 ] }, "inputs": { "manifold": { "connections": [ { "node": "c4aede135e847908", "output": "result", "data": {} } ] }, "originOffsets": { "connections": [ { "node": "4bb44b370efb64d4", "output": "result", "data": {} } ] }, "normal": { "connections": [ { "node": "34965109fa483714", "output": "result", "data": {} } ] } }, "position": [ 783.4596238120005, 603.1524875976128 ] }, "c4aede135e847908": { "id": "c4aede135e847908", "name": "bitbybit.manifold.manifold.shapes.sphere", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 1, "circularSegments": 32 }, "inputs": {}, "position": [ 305.0324794223886, 311.6120686271547 ] }, "4bb44b370efb64d4": { "id": "4bb44b370efb64d4", "name": "bitbybit.vector.span", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "step": 0.1, "min": -1, "max": 1 }, "inputs": {}, "position": [ 327.32016386094534, 1076.14797482621 ] }, "34965109fa483714": { "id": "34965109fa483714", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 1, "y": 1, "z": 0.3 }, "inputs": {}, "position": [ 276.3873588822078, 647.0982780893693 ] }, "f11959f39db9b50d": { "id": "f11959f39db9b50d", "name": "bitbybit.vector.span", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "step": 0.2, "min": 0, "max": 4.2 }, "inputs": {}, "position": [ 942.4040809143746, 1043.4469102314358 ] }, "77a8d0f033af9a9f": { "id": "77a8d0f033af9a9f", "name": "bitbybit.manifold.manifold.transforms.translateXYZ", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": true, "flatten": 0, "forceExecution": false }, "x": 0, "y": 0, "z": 0 }, "inputs": { "manifold": { "connections": [ { "node": "b9a9e7d273071cdd", "output": "result", "data": {} } ] }, "y": { "connections": [ { "node": "de1652e3c0a94d7c", "output": "result", "data": {} } ] } }, "position": [ 1662.4296566236321, 754.4769635956231 ] }, "b9a9e7d273071cdd": { "id": "b9a9e7d273071cdd", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "464b61736b773a7f", "output": "result", "data": {} } ] } }, "position": [ 1243.3842536389704, 642.0111779668739 ] }, "de1652e3c0a94d7c": { "id": "de1652e3c0a94d7c", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "f11959f39db9b50d", "output": "result", "data": {} } ] } }, "position": [ 1241.1789085172595, 1003.8413655291855 ] }, "537b262c1369f075": { "id": "537b262c1369f075", "name": "bitbybit.babylon.scene.enableSkybox", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "skybox": "clearSky", "size": 1000, "blur": 0.5, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ 252.9842011991259, 2242.6457558152297 ] }, "45743669eb72193e": { "id": "45743669eb72193e", "name": "bitbybit.babylon.scene.drawDirectionalLight", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "direction": [ -100, -100, -100 ], "intensity": 3, "diffuse": "#ffffff", "specular": "#ffffff", "shadowGeneratorMapSize": 1024, "enableShadows": true, "shadowDarkness": 0, "shadowUsePercentageCloserFiltering": true, "shadowContactHardeningLightSizeUVRatio": 0.2, "shadowBias": 0.0001, "shadowNormalBias": 0.002, "shadowMaxZ": 1000, "shadowMinZ": 0 }, "inputs": { "direction": { "connections": [ { "node": "a5c23a4dfe3679ea", "output": "result", "data": {} } ] } }, "position": [ 115.3723406468423, 1499.4755851381333 ] }, "c0b63d0dd9816ba7": { "id": "c0b63d0dd9816ba7", "name": "bitbybit.manifold.manifold.operations.compose", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "manifolds": { "connections": [ { "node": "336e404b64d50eb5", "output": "list", "data": {} } ] } }, "position": [ 2297.9709365635167, 751.5931768916366 ] }, "336e404b64d50eb5": { "id": "336e404b64d50eb5", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "77a8d0f033af9a9f", "output": "result", "data": {} } ] } }, "position": [ 2020.616315523604, 793.9868134958314 ] }, "7feca0320b2c26a1": { "id": "7feca0320b2c26a1", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "entity": { "connections": [ { "node": "c0b63d0dd9816ba7", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "601d0f692341e069", "output": "result", "data": {} } ] } }, "position": [ 2822.1936014944445, 951.2579742101975 ] }, "601d0f692341e069": { "id": "601d0f692341e069", "name": "bitbybit.draw.optionsManifoldShapeMaterial", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "faceOpacity": 1, "faceColour": "#ff00f7", "crossSectionColour": "#ff14ff", "crossSectionWidth": 2, "crossSectionOpacity": 1, "computeNormals": false }, "inputs": {}, "position": [ 2133.4842151881694, 1133.3392034107633 ] }, "6e720e1cc426f291": { "id": "6e720e1cc426f291", "name": "bitbybit.occt.shapes.face.createCircleFace", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 5, "center": [ 0, 0, 0 ], "direction": [ 0, 1, 0 ] }, "inputs": { "center": { "connections": [ { "node": "986940ff6ef1fb18", "output": "result", "data": {} } ] } }, "position": [ 1110.535469423225, 2025.8709819171922 ] }, "986940ff6ef1fb18": { "id": "986940ff6ef1fb18", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": -1, "z": 0 }, "inputs": {}, "position": [ 734.2568727259867, 2006.4046090608585 ] }, "a5c23a4dfe3679ea": { "id": "a5c23a4dfe3679ea", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 100, "y": -100, "z": -100 }, "inputs": {}, "position": [ -249.15749981712653, 1501.8536898847187 ] }, "b6abf0646d3b58d6": { "id": "b6abf0646d3b58d6", "name": "bitbybit.flow.time.interval", "data": { "interval": 10, "expire": 0 }, "inputs": { "exec": { "connections": [ { "node": "9086e09ba1acd62e", "output": "exec", "data": {} } ] } }, "position": [ 3381.8160951681625, 1747.1635308919927 ] }, "4cd707841eb4deef": { "id": "4cd707841eb4deef", "name": "bitbybit.babylon.mesh.setRotation", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "babylonMesh": { "connections": [ { "node": "7feca0320b2c26a1", "output": "result", "data": {} } ] }, "rotation": { "connections": [ { "node": "87512a1d7518f338", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "87512a1d7518f338", "output": "exec", "data": {} } ] } }, "position": [ 4627.4303205046435, 938.5176266478538 ] }, "20a1595745d3719e": { "id": "20a1595745d3719e", "name": "bitbybit.flow.counters.counterMinMax", "data": { "count": 0, "min": 0, "max": 360, "step": 0.5, "pulse": false, "end": false }, "inputs": { "exec": { "connections": [ { "node": "b6abf0646d3b58d6", "output": "exec", "data": {} } ] } }, "position": [ 3800.6280449662077, 1521.0954218471952 ] }, "9086e09ba1acd62e": { "id": "9086e09ba1acd62e", "name": "bitbybit.flow.actions.trigger", "data": {}, "inputs": {}, "position": [ 2935.242907781373, 1829.5772150219548 ] }, "87512a1d7518f338": { "id": "87512a1d7518f338", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": 0, "z": 0 }, "inputs": { "y": { "connections": [ { "node": "20a1595745d3719e", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "20a1595745d3719e", "output": "exec", "data": {} } ] } }, "position": [ 4198.757701738756, 1221.5054892008816 ] } } }